[MPlayer-users] A-V delay does not work correctly

Patrick Mackinlay patrick at spacesurfer.com
Thu Apr 17 18:16:56 CEST 2003


Using mplayer 1.0 release on the file:
I am having audio problems. It appears that the creator of this file
has prepended a splash page to the video resulting in a 5-6 second delay
between the sound and the video (video lags sound).
I tried using mplayers -delay option but it has no effect on the actual
lag, however if I then use the + and - keys the delay value starts at what
I used in the -delay option.
The + and - keys work during playback and I can slowly adjust the lag,
but if I stop and start the video the perceived adjustment resets.
However further + and - keypresses take over from before.
So it appears that the code is not enforcing the delay at the start of

This is the console output for 1 playback run:

mplayer -idx temp/Raiders.of.the.Lost.Ark.\(1981\).CD2.LDCap.Kramerica.ShareReactor.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 0.90-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/pim/.mplayer/config
Reading /home/pim/.mplayer/codecs.conf: can't open '/home/pim/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/pim/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/pim/.mplayer/input.conf : No such file or directory
Input config file /etc/mplayer/input.conf parsed : 52 binds

Playing temp/Raiders.of.the.Lost.Ark.(1981).CD2.LDCap.Kramerica.ShareReactor.avi
Cache fill:  0.00% (0 bytes)    AVI file format detected.
AVI: Generated index table for 48581 chunks!
VIDEO:  [DIVX]  560x270  24bpp  25.00 fps  1500.8 kbps (183.2 kbyte/s)
Clip info:
  Software: Nandub v0.28
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 10000->176400 (80.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
vo: X11 running at 1600x1200 with depth 16 and 16 bpp (":0.0" => local display)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 560 x 270 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 560x270 => 560x270 Planar YV12
A:  10.1 V:   2.4 A-V:  7.775 ct:  0.236   60/ 60   8% 10%  4.0% 0 0 85%
Exiting... (Quit)


Patrick Mackinlay                                patrick at spacesurfer.com
ICQ: 59277981                                        tel: +44 7050699851
Yahoo messenger: patrick00_uk                        fax: +44 7050699852
SpaceSurfer Limited                             http://www.spacereg.com/

More information about the MPlayer-users mailing list