[MPlayer-users] DVD play is off-sync

Kyle Guilbert kguilber at coe.neu.edu
Tue Mar 26 00:00:02 CET 2002


When I play DVDs, the audio comes out off-sync. I have the latest CVS
version, as of last night.
The sync offset is the same when i use -vo dxr3 or -vo xv. (I have a
Hollywood+ card).
I also use the sound-out of the Hollywood+ card as my sound output, since i
have no sound card.
DiVX works just fine, though.
The command I am using to play DVDs is:
mplayer -dvd 1 -vo dxr3 -vc mpegpes   (for DXR3 output) or
mplayer -dvd 1 -vo xv    (for xv output).
The sync seems to get better when i use -mc 0, though it is still
noticeable.
It doesn't improve when running as root to utilize RTC timing.

I am using:
Redhat 7.2 with kernel 2.4.18,
libc 2.2.4, XFree86 4.1.0, gcc 3.02,
GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8),
and GNU assembler 2.11.90.0.8.

/proc/cpuinfo:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 1
model name      : AMD-K7(tm) Processor
stepping        : 2
cpu MHz         : 605.972
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat mmx syscall mmxext 3dnowext 3dnow
bogomips        : 1209.13

I am using an NVIDIA Geforce2 MX (Hercules 3D Prophet MX).
I am using NVIDIA kernel driver 1.0-2313.
I am using the audio-out from the Sigma Designs Hollywood+ (no other sound
card).
Here is the mplayer.log for -vo xv:

MPlayer CVS-020324-21:43-3.0.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon K7 (Type: 6, Stepping: 2)
extended cpuid-level: 6
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best
performance, recompile mplayer from sources
with --disable-runtime-cpudetection
CommandLine:Reading /home/kyle/.mplayer/codecs.conf: can't open
'/home/kyle/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 30 audio & 81 video codecs
get_path('font/font.desc') -> '/home/kyle/.mplayer/font/font.desc'
 '-v' '-dvd' '1' '-vo' 'xv'
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
font: can't open file: /home/kyle/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
get_path('input.conf') -> '/home/kyle/.mplayer/input.conf'
Can't open input config file /home/kyle/.mplayer/input.conf : No such file
or directory
Falling back on default (hardcoded) config
Playing DVD title 1
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 9 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000123
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001a1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00007e07
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x001f0448
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001f0496
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: en aid: 128
[open] number of audio channels on disk: 1.
[open] number of subtitles on disk: 0
DVD start cell: 0  pack: 0x0-0x10582
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x10582
DVD start=0 end=2000398
Angle-seek synced! skip=0  new_lba=0x0
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
Checking for REAL
header block 1 size: 0
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  7500.0 kbps (937.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
==========================================================================
VDec: vo config request - 720 x 480, Planar YV12
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(720x480->720x540,flags=0,'MPlayer',0x32315659)
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1152x864 with depth 16 and 16 bits/pixel (":0.0" => local
display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 48 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 720 dh: 540
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Start playing...
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  15/16  (4096 bytes/frag)  free:  65536
X11 Window 4x20-720x540-0.058 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
[xv] dcx: 4 dcy: 20 dx: 0 dy: 0 dw: 720 dh: 540
A:   3.5 V:   3.5 A-V:  0.028 ct: -0.080   94/ 94  39% 12%  6.4% 0 0 0%
Exiting... (Quit)

*** free_stream() called ***


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020326/d30f092c/attachment.htm>


More information about the MPlayer-users mailing list