[Mplayer-users] subtitles go unsyncronized in about an hour

Arpi arpi at thot.banki.hu
Thu Jul 19 00:53:54 CEST 2001


Hi,

> A> > Hi, I saw there are some questions/bugs about subtitles and it's my time to
> A> > speak. I'm having some problems with the syncronization. The problem is
> A> > that with a lot of filmes, the subtitles works just fine but when it played
> A> > about and hour, the subtitles starts to go unsyncronized, if I'm not wrong,
> A> > they appear later (I mean, first is the voice, then the subtitles). I have
> A> > to put them back in sync with 'x' (or 'z') but the keep going slower and I
> A> > must keep doing the 'x' press, about once every 5-10 minutes.
> A> Hmm. Is it ok at the first hour?
> A> I think it's a math precision problem. I got similar thing with -bps option,
> A> until i changed float to double. I'll review subtitle code.
> 
> I use always -bps (don't remember why I add it to ~/.mplayer/config). If I
> use -ss 3600 (for start playing at the first hour) the subtitles works
> well, (for 5-10 minutes as when I play the complete movie) so is not a
> -subfps problem.
No, it is time counter problem.
I saw (for -bps) that x+x+x+x+x differs _a_lot_ from 5*x, if i'm using
float. (of course not 5, it's summed about 50000 times).
I got near perfect result (no big difference between multiplied and summed)
for a long period and at a given point the difference began to increasing.
Maybe because of using gcc -mfast-math ? With double it's ok.


> A> > Another problem is that some subtitles can't be speeded up or slowed down
> A> > (with -subfps)., but I think this is a know problem... (It says something
> A> > in the man pages about it).
> A> Yes. -subfps is only for frame-based subtitles. It has no sense for
> A> time-based ones.
> 
> I have some problems with some subtitles, they are time based and they're
> wrong. Is this possible? I got it from divxsubtitles.net, I don't think the
> subtitle is wrong...
Time is time, it is constant thing, except if you are time traveller :)
Subtitles can be wrong, or (most possible) they are for different version of
the movie. Usually multiple versions exists of a single movie over the
net... screener, dvdrip etc grabs, and they can differ a lot.
But you can't fix it with -subfps, even if it works...
You should find different version of the .sub, or fix it manually.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
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