[FFmpeg-trac] #598(avformat:open): Subtitle on some BD/m2ts files are not handle.
FFmpeg
trac at avcodec.org
Sun Mar 11 12:23:08 CET 2012
#598: Subtitle on some BD/m2ts files are not handle.
-------------------------------------+-------------------------------------
Reporter: Sebastiii | Owner: michael
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: subtitle | Blocked By:
m2ts pmt bluray | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Andrea3000):
Replying to [comment:14 cehoyos]:
> The change in pat_cb() alone seems sufficient.
>
> Do you know why ffplay shows the subtitles in 00002_nosubs_detected.m2ts
only for one frame?
I know it.
It's a behavior that I've encountered only with Avatar's subtitles.
After quite every correct subtitles there is a blank subtitle with a start
time that is few milliseconds later than (or even equal to) the start time
of the previous correct subtitles. Since blank subtitles are used to mark
clearing of old subtitle before displaying the new one, the correct
subtitles is cleared immediadetly after having been shown.
I can also affirm that this issue is related to the timing because after
the blank subtitle with wrong start time is decoded, the next frame is a
new correct subtitle to be displayed and not the blank subtitles which
should clear the old one at the right time. It seems that the blank
subtitle has a start time which is equal to the start time of the previous
correct subtitle rather than having the start time equal to the end time
of the sub (the correct end time obviously, not the 20s timeout which the
actual decoder set).
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/598#comment:18>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list