pbs / pycaption

Python module to read/write popular video caption formats
Apache License 2.0
255 stars 137 forks source link

Captions does not keep style/position #306

Closed Tama47 closed 9 months ago

Tama47 commented 1 year ago

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

ianShifrin commented 9 months ago

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 9 months ago

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?

ianShifrin commented 9 months ago

I'm sorry I do not.

Tama47 commented 9 months ago

Alright, thanks.