[MPlayer-users] problems with subtitle synchronization

Frederik Eaton frederik at a5.repetae.net
Sun May 22 08:05:37 CEST 2005


Hi,

I'm experiencing problems with mplayer's support for encoding
subtitles to, and playing them from, a separate file. I followed the
instructions in the documentation and created a subtitle file with
(from a perl script)

mencoder -dvd-device $in $mrl -vobsubout subs -vobsuboutindex $sid -sid $sid -ovc copy -o /dev/null -nosound

I'm playing the file with

mplayer $D/0.avi -vobsub $D/subs -vobsubid $S

What happens is that subtitles are delayed by 1 second at the
beginning of the movie, and gradually fall farther and farther behind,
until they are delayed by 15 seconds at the end of the 2 hour movie
(the movie is Akira).

There is also an error in the documentation:

       -subdelay <sec>
              Delays subtitles by <sec> seconds.  Can be negative.

It should say "Causes subtitles to be displayed <sec> seconds earlier.
...".

Regards,

Frederik



$ mplayer --version
MPlayer 1.0pre5-3.3.5 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1675 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /etc/mplayer/mplayer.conf
mReading config file /home/frederik/.mplayer/config
You added '--' but no filenames presented!
[1]$ mencoder --version
MEncoder 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

73 audio & 180 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
You added '--' but no filenames presented!

Exiting... (error parsing cmdline)


-- 
http://ofb.net/~frederik/




More information about the MPlayer-users mailing list