Opened 15 years ago

Last modified 13 years ago

#1389 closed defect (fixed)

Subtitles stop during playback

Reported by: bugzilla@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: ubitux
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

At certain spots during playback the subtitles just stop showing. Pressing "j" or skipping forth/back solves it for a couple of minutes, but they keep disappearing over and over again.

This appears to be similar to what was reported here: http://thread.gmane.org/gmane.comp.video.mplayer.cvs/7815/focus=8370

And later reiterated here: http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-August/074059.html

Attachments (1)

vobsub.patch (2.7 KB ) - added by robm@… 14 years ago.
Kludgy workaround to demonstrate a possible fix

Download all attachments as: .zip

Change History (5)

comment:1 by compn, 15 years ago

we need a sample vobsub which shows the problem

also try with dvdnav://

comment:2 by robm@…, 14 years ago

I'm seeing this problem when viewing District 9. Seems to be the same as reported here:

http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-October/078040.html

which referenced some sample files:

http://yozora-irc.net/~ubitux/mplayer/

by robm@…, 14 years ago

Attachment: vobsub.patch added

Kludgy workaround to demonstrate a possible fix

comment:3 by robm@…, 14 years ago

This is quite a kluge, but demonstrates a way around the problem. The issue is that timestamps in the .sub and .idx files aren't always accurate -- for example in the sample file provided at http://yozora-irc.net/~ubitux/mplayer/ there are several timestamps that are very close (i.e. within 0.02 seconds) or even with a negative offset:

timestamp: 00:03:05:919, filepos: 000004800
timestamp: 00:03:05:910, filepos: 000005000

that seem to indicate that the packets should be merged upon decoding. Probably the real way to fix the problem is to attempt a decoding of each packet to see if the next packet also belongs to it.

comment:4 by ubitux, 13 years ago

Resolution: fixed
Status: newclosed, ubitux@gmail.com

A workaround for this have been committed in revision 31104 (and another fix a few days later). This shouldn't happen anymore. Please reopen and attach a sample if not.

Note: See TracTickets for help on using tickets.