We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STL to VTT:
396 01:31:09.631 --> 01:31:11.1000 brauchen nur etwas länger als erwartet.
STL to TTML:
<p region="r0" begin="01:31:09.631" end="01:31:11.1000" tts:fontSize="160%" tts:lineHeight="125%" tts:textAlign="center"> <span tts:color="#ffffff">brauchen nur</span> <br /> <span tts:color="#ffffff">etwas länger als erwartet.</span> </p>
issue.stl.zip
The text was updated successfully, but these errors were encountered:
It actually comes from ClockTime:
>>> from ttconv.time_code import ClockTime >>> from fractions import Fraction >>> f = Fraction(41039999,7500) >>> c = ClockTime.from_seconds(f) >>> c.get_milliseconds() 1000
Sorry, something went wrong.
Ouch the issue is from:
ttconv/src/main/python/ttconv/time_code.py
Line 104 in c0f6929
@nywhere See #433
@palemieux Yes, that fixes the issue. Thanks!
Fixes rounding in timecode conversion from seconds
848aeee
#432
andreastai
Successfully merging a pull request may close this issue.
STL to VTT:
STL to TTML:
issue.stl.zip
The text was updated successfully, but these errors were encountered: