#11677: ffplay does not properly sync LRC subtitles with 3-digit milliseconds
-------------------------------------+-------------------------------------
Reporter: gbr | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: lrc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
LRC subtitles that use 3-digit millisecond in time tags, cause syncing
issues with ffplay.
How to reproduce:
Save the following as **subs.lrc**:
{{{
[00:00.660] We knew the world would not be the same.
[00:05.580] A few people laughed, a few people cried, most people were
silent.
[00:17.030] I remembered the line from the Hindu scripture, the Bhagavad-
Gita.
[00:25.660] Vishnu is trying to persuade the prince that he should do his
duty, and to impress him
[00:38.310] takes on his multi-armed form and says, “now I am become
Death, the destroyer of worlds.”
[00:50.380] I suppose we all thought that, one way or another.
}}}
Now use **ffplay** to reproduce the test video using the above
**subs.lrc**:
{{{
ffplay -vf subtitles=subs.lrc
https://www.atomicarchive.com/media/videos/media/oppenheimer-quote.mp4
}}}
You will notice that the subtitles do not sync properly with the video.
However, if you remove the trailing zeros in the fractional timestamps
(i.e. **[00:00.660]** -> **[00:00.66]**), then the subtitles will sync
properly with the video.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11677>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".