Tomáš Karabela

Results 21 comments of Tomáš Karabela

That sounds like a useful feature! :) In terms of API, `pysubs2` represents time in seconds. When a method (like `SSAFile.shift()`) takes just one time, it can be "sugared" to...

``` WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:368640 ``` Yes, the `X-TIMESTAMP-MAP` seems to be specifying an offset of subtitle times vs. media times ( https://sdks.support.brightcove.com/features/synchronizing-webvtt-captions.html ), though this is not part of the standard...

It would be good to have some support for this, but I'm not sure how to implement this. If anyone has experience with `X-TIMESTAMP-MAP`, feel free to point me in...

Would something like this help? :) ```python def resize_subs(subs, res_x_dest=1920): res_x_src = int(subs.info["PlayResX"]) res_y_src = int(subs.info["PlayResY"]) scale = res_x_dest / float(res_x_src) res_y_dest = int(scale * res_y_src) # metadata subs.info["PlayResX"] =...

Aegisub docs have a list of ASS override tags and their parameters: http://docs.aegisub.org/manual/ASS_Tags You should scale everything which is given in pixels: font size and spacing, outline, shadow, margins, `\pos`,...

If anyone wants to implement this, please feel free to open a pull request. Sketch of the implementation is in https://github.com/tkarabela/pysubs2/issues/29#issuecomment-570080174 but it would also need to support `\pos` tags,...

I don't think "standard ASS escaping" actually appears in the spec, but the whole thing is quite implementation-defined anyway, so I wouldn't mind implementing this. Do you suggest escaping `{}`...

Sure, can you post the part of your code where you get the error?

> [From previous discussion] **(A)** How do I tell the host that it should copy connectivity from input mesh (kOfxMeshMainInput?) to output (kOfxMeshMainOutput). [...] In terms of API, it looks...

I tried looking at how Blender mesh native representation looks like, and it's a different story that the edge proposals for Open Mesh Effects are so far; it looks like...