Quote
.......40 milliseconds, no added zero needed.
hh:mm:ss:ff > video timecode
hh:mm:ss,mms > srt timecode
Jeff
I do not agree: 40 milliseconds needs a leading zero thus
040 and not 40
Why this is a bug?
PowerDirector of Cyberlink output time format of srt (subtitles) in a format which is not conform because not using
zero-padded digits.
3 arguments:
1.The standard.
Wikipedia says : "The SubRip file format, as reported on the Matroska multimedia container format website, is "perhaps the most basic of all subtitle formats."[9] SubRip (SubRip Text) files are named with the extension .srt, and contain formatted lines of plain text in groups separated by a blank line. Subtitles are numbered sequentially, starting at 1. The timecode format used is hours:minutes:seconds,milliseconds with time units fixed to two zero-padded digits and fractions fixed to
three zero-padded digits (00:00:00,000). The fractional separator used is the comma, since the program was written in France."
Because of WebVTT is derived from the srt-format see also the standard here:
https://www.w3.org/TR/webvtt1/#file-structure point "A WebVTT timestamp consists of the....
Three ASCII digits, representing the thousandths of a second seconds-frac as a base ten integer."
2. Use on the internet
Nowhere on the internet I saw an example where for the milliseconds only 1 or 2 digits are used. See for example here:
https://blog.hubspot.com/marketing/srt-file
The only exception is here in this discussion.
3. Interpretation
Cyberlink is not alone on the world, the srt-file is used in other software. The ultimate success depends on how a bad formatted string (1 or 2 digits) is interpreted. For example: 03:18,80 (originally it was 03:18 + 4 frames at 50fps ==> thus 080 milliseconds)
YouTube. YouTube add a zero ; so the time becomes: 03:18,800. This creates sometimes an overlapping with a next subtitle. When there is an overlap then YT joins the 2 subtitles in 1 long subtitle, on 2 lines. Not good.
Dailymotion. Dailymotion reads the time indication also as 03:18,800, but checks for overlapping. When this is the case, the srt-file is refused. Not good.