[MPlayer-users] count resets when playing dvd, external subs

Robert Henney robh at rut.org
Thu Mar 10 07:07:00 CET 2005


On Wed, Mar 09, 2005 at 09:35:54PM -0500, D Richard Felker III wrote:
> On Wed, Mar 09, 2005 at 09:25:33PM -0500, Robert Henney wrote:
> > I'm attempting to play the Buena Vista R1 of "Castle in the Sky"
> > and using an extental subtitle file (jacosub format).  The issue
> > I'm encountering is that mplayer's counter keeps resetting
> > at certain points throughout the movie.  Since the counter appears
> > to be used to decide when subtitles should appear, this has
> > the effect of continually restarting the subtitles.
> > 
> > In the output below, the resets are occuring at the times when
> > the "END OF CELL" lines are getting printed.
> > 
> > Is there a way around this problem?
> 
> Yes, rip and reencode the DVD and it will use continuous timestamps.
> Sorry, this is just the stupid way dvds are mastered... :(
> 
> Rich

Your suggestion of reencoding to regenerate the timestamps got me 
thinking.  So I tried something along those lines but still aiming
to play straight off of the original DVD, and have come up with this
so far:

 mkfifo p
 mencoder -ofps 23.976 -alang ja -ovc copy -oac copy -o p dvd://2
 mplayer -fps 23.976 -sub Laputa-1.js p

Obvious drawback is loss of the ability to seek.  Probably will find
more drawbacks as I give it closer scrutiny, but it actually looks
to be working pretty nicely so far.

In the end, especially if seeking becomes a major issue, I will just 
give up and rip and reencode as you suggested.

-- 
robh




More information about the MPlayer-users mailing list