[MPlayer-users] subtitle problems
comes at naic.edu
Tue Mar 22 14:24:34 CET 2005
On Mon, Mar 21, 2005 at 09:30:16PM -0500, Malcolm wrote:
> > On Thu, Mar 17, 2005 at 12:15:16AM -0500, MJH wrote:
> > > Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> > > > > Yes, I've seen those. I've seen a couple DVD where such an odd
> > > > > timestamp would come in the middle and show for example 00:00:00:001,
> > > > > breaking all subs after it. Assuming mencoder read it correctly from
> > > > > the DVD, it simply means that the DVD is badly mastered. Remove or
> > > > > correct that first timestamp to a sane value and all will be fine.
> > >
> > > Removing the errant index entry did indeed remove the problem. There must
> > > be a way to do that in code so you don't have to do it by hand though.
> Apparently I spoke too soon. All I'm getting at the moment is one random
> subtitle that bears no relation to the dialogue.
> I'm ripping the subtitles with:
> mencoder -vobsubout temp -sid 0 -slang en -nosound -ovc copy -o /dev/null
> Which gives a file that looks like:
> # VobSub index file, v7 (do not modify this line!)
> # Generated by MPlayer dev-CVS-050319-14:55-3.4.3
> # See <URL:http://www.mplayerhq.hu/> for more information about MPlayer
> # See <URL:http://vobsub.edensrising.com/> for more information about Vobsub
> size: 720x480
> palette: 101010, 2b2b2b, 101010, 101010, 7d7d7d, ebff0b, 0bb5ea, e5e5e5,
> ebff0b, 0d007f, 0ca20d, 7e2a0e, 0d637c, e5e5e5, d4ff0b, 101010
> # ON: displays only forced subtitles, OFF: shows everything
> forced subs: OFF
> # Language index in use
> langidx: 0
> id: en, index: 0
> timestamp: 00:41:17:041, filepos: 000000000
> timestamp: 00:00:16:099, filepos: 000001000
> timestamp: 00:00:17:834, filepos: 000002000
> timestamp: 00:00:24:124, filepos: 000003000
> timestamp: 00:00:30:113, filepos: 000004000
> timestamp: 00:00:43:818, filepos: 000004800
> timestamp: 00:00:48:415, filepos: 000005800
> and I remove the errant timestamp.
> playback with any of the following, results in a single out of place subtitle
> and then no further subtitles.
> mplayer -vobsub temp -alang ja dvd://4
> mplayer -vobsub temp -vobsubid 0 -alang ja dvd://4
> mplayer -vobsub temp -vobsubid 0 -alang ja -slang en dvd://4
> with the following output (with -v):
> any ideas?
I found a workaround. Don't remove the timestamp.
Put it at 0. The wrong subtitle will show up at the
beginning, but the others will be visible too.
It works either if the wrong timestamp is at the beginning
or in the middle of the index file.
More information about the MPlayer-users