[Mplayer-users] Audio Sync Errors
Richard Wash
rlw6 at po.cwru.edu
Thu Mar 29 04:10:23 CEST 2001
Well, after some fighting with my kernel, I finally got XVideo to
work. I have done this particularly to get video working.
I have been trying to use mplayer because it seems like the best video
player out there. I have gotten almost everything working. I am only
having one problem left that I cannot fix.
Whenever I play an divx avi file (.mpg files seem to be fine), the
video plays great. I get audio coming through, but it seems like it
is playing at the wrong speed (sounds like 2x). I cannot seem to get
it to play at the right speed. One weird part about it is it seems
(at least as far as I can tell) to be sync'ed. I hear a high-pitched,
mostly unintelligible voice when someone's mouth is moving, and
sped-up music where there should be music.
My setup:
Riva TNT card
XFree86 4.0.2 w/ nvidia driver (from nvidia.com, supports xv)
SB32 sounds card
Tried with the alsa sb16 and sbawe, and the oss sb16 drivers.
Linux 2.4.2
I have tested other sounds, like playing .au files to /dev/audio,
playing .wav's, playing mp3's, etc. and they seem to work fine.
In mplayer, I have tried the -alsa and -noalsa parameters, as well as
the -bps and -nobps parameters. It seems to do the same with -vo x11
as -vo xv.
I am using the mplayer retrieved from CVS today (3/28/01), and I got
the w32codecs from the mplayer website.
Does anyone know how to fix this, or if this is a real bug (known or
unknown)? Is this the correct forum to ask this question?
At the end of this email is the output from an mplayer session.
Thanks ahead of time for any help you can provide,
Rick Wash
Here is the output of a session trying to play a file that does this:
rwash:~/ds9$ mplayer ds9-703_-_afterimage.avi
MPlayer 0.11pre-cvs (C) 2000-2001 Arpad Gereoffy <arpi at esp-team.scene.hu>
Reading config file: /etc/mplayer.conf
parse_config_file: can't open filename: No such file or directory
Reading config file: /home/rwash/.mplayer/config
parse_command_line: found filename: ds9-703_-_afterimage.avi
font: can't open file: /home/rwash/.mplayer/font/font.desc
Detected AVI file format!
Video in DivX ;-) format
Setup FS...OK!
They want library [/usr/lib/win32] divxc32.dll
Entering LoadLibraryA(divxc32.dll)
Returned LoadLibraryA(0x80a79e9='divxc32.dll'), def_path=/usr/lib/win32 => 0x1c200000
Setup FS...OK!
Successfully loaded codec divxc32.dll
VIDEO: [DIV3] 320x240 24bpp 25.00 fps 355.6 kbps (43.4 kbyte/s)
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 56 for hw scaling
[xv] dcx: 5 dcy: 22 dx: 0 dy: 0 dw: 320 dh: 240
They want library [/usr/lib/win32] l3codeca.acm
Entering LoadLibraryA(l3codeca.acm)
Returned LoadLibraryA(0x80a7d07='l3codeca.acm'), def_path=/usr/lib/win32 => 0x400000
Setup FS...OK!
Successfully loaded codec l3codeca.acm
ACM decoding test: 0 bytes
Audio buffer size: 132608 bytes, delay: 6.014s
Audio: type: 4 samplerate: 11025 channels: 1 bps: 2
AVI Initial frame delay: 0.040
v: audio_delay=-0.040 buffer_delay=6.014 a_pts=-6.014 a_frame=-6.014
START: a_pts=0.000 v_pts=0.000
Start playing...
Initializing registry
[xv] dcx: 5 dcy: 22 dx: 0 dy: 0 dw: 320 dh: 240
Initial PTS delay: -0.254 sec (calculated: -5.974)
v: audio_delay=-0.294 buffer_delay=6.014 a.pts=5.720 v.pts=0.000
Exiting... (Quit)
max framesize was 2437 bytes
_______________________________________________
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