pbs/pycaption

Captions does not keep style/position

Tama47 opened this issue · 4 comments

Tama47 commented

Expected behavior

Expected behavior

Actual behavior

Actual behavior

Original vtt sub from Hidive
bang-dreams01e001.english-subs.vtt

Converted srt sub from pycaption
bang-dreams01e001.english-subs.srt

Hi @Tama47 the spec for srt (subrip) files does not support positioning (certain extensions exist but are not part of the spec and support is limited). In the case of srt files the player decides the positioning.

You can see more here, https://loc.gov/preservation/digital/formats//fdd/fdd000569.shtml and here, https://wiki.videolan.org/SubRip/

Tama47 commented

Thanks for getting back to me. I understand that SRT does not support position.

certain extensions exist but are not part of the spec and support is limited

Do you know a tool that will allow me to convert VTT to ASS and keep the subtitles style/position?

I'm sorry I do not.

Tama47 commented

Alright, thanks.