[Mplayer-users] subtitles go unsyncronized in about an hour
Leandro Lucarella
luca at lucarella.com.ar
Sun Jul 22 00:53:28 CEST 2001
El Sat, 21 Jul 2001 02:11:28 +0200 (CEST) Arpi <arpi at thot.banki.hu> escribió:
A> Hi,
A>
A> > > A> > Hi, I saw there are some questions/bugs about subtitles and it's my time to
A> > > A> > speak. I'm having some problems with the syncronization. The problem is
A> > > A> > that with a lot of filmes, the subtitles works just fine but when it played
A> > > A> > about and hour, the subtitles starts to go unsyncronized, if I'm not wrong,
A> > > A> > they appear later (I mean, first is the voice, then the subtitles). I have
A> > > A> > to put them back in sync with 'x' (or 'z') but the keep going slower and I
A> > > A> > must keep doing the 'x' press, about once every 5-10 minutes.
A> > > A> Hmm. Is it ok at the first hour?
A> > > A> I think it's a math precision problem. I got similar thing with -bps option,
A> > > A> until i changed float to double. I'll review subtitle code.
A> > >
A> > > I use always -bps (don't remember why I add it to ~/.mplayer/config). If I
A> > > use -ss 3600 (for start playing at the first hour) the subtitles works
A> > > well, (for 5-10 minutes as when I play the complete movie) so is not a
A> > > -subfps problem.
A> > No, it is time counter problem.
A> > I saw (for -bps) that x+x+x+x+x differs _a_lot_ from 5*x, if i'm using
A> > float. (of course not 5, it's summed about 50000 times).
A> > I got near perfect result (no big difference between multiplied and summed)
A> > for a long period and at a given point the difference began to increasing.
A> > Maybe because of using gcc -mfast-math ? With double it's ok.
A>
A> Ok, it's fixed now in CVS.
A> I changed incremental (v_pts+=frame_time) v_pts calculation to
A> multiplicative (v_pts=frame_no*frame_time). SHould work better now.
A>
A> Please try it and tell me the results.
I'll do. Now I have to remember where the movie is... ;)
--
LUCA - Leandro Lucarella
------------------------
luca at lucarella.com.ar
http://www.luca.2y.net
LICQ UIN: 2847576
------------------------
Usando Debian GNU/Linux
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list