[Mplayer-users] Audio Sync Errors
Richard Wash
rlw6 at po.cwru.edu
Fri Mar 30 08:16:32 CEST 2001
Arpi <arpi at thot.banki.hu> writes:
> Hi,
>
> > 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.
> Hmm. Seems to be an audio stream - sound card incompatibility.
> Maybe your card (or it's driver) doesn't support the audio format of
> the .avi file?
Possible. I have a SoundBlaster 32 soundcard. There aren't any
significant problems with it that I know of, though I am not terribly
well informed in that area.
> > They want library [/usr/lib/win32] l3codeca.acm
> > Entering LoadLibraryA(l3codeca.acm)
> > Returned LoadLibraryA(0x80a7d07='l3codeca.acm'), def_path=/usr/lib/win32 => 0x400000
> Hmm. Codec is MP3.
>
> > Audio buffer size: 132608 bytes, delay: 6.014s
> > Audio: type: 4 samplerate: 11025 channels: 1 bps: 2
> 11khz mono mp3 audio? is it possible?
Apparently. Most of the other files I have are at least 22khz.
> What about using the native MP3 codec? Try -afm 1
Ahh, yes. That works much better for those files.
However, there are still a couple of .avi files with the same problem
that I cannot seem to fix. Appended to the end of this email is the
output from attempting to play one of these files. It appears to be
using -afm 2. I have tried all of the other -afm options, to no
avail.
Once again, the problem is that the output seems to be at the wrong
speed (pitch shifted?). It is synced with the video, but is mostly
unintelligible.
Is this a problem with the sound card, sound driver, or mplayer
software?
Thanks for all the help. It is extremely nice to be able to play
movies in Linux.
Rick
Output:
rwash:~/ds9/7.10 (T) It's Only a Paper Moon$ mplayer DS9_7x10_It\'s\ only\ a\ paper\ moon.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_7x10_It's only a paper moon.avi
font: can't open file: /home/rwash/.mplayer/font/font.desc
Detected AVI file format!
Video in Microsoft MPEG-4 format
Setup FS...OK!
They want library [/usr/lib/win32] mpg4c32.dll
Entering LoadLibraryA(mpg4c32.dll)
Returned LoadLibraryA(0x80a79a2='mpg4c32.dll'), def_path=/usr/lib/win32 => 0x1c200000
Setup FS...OK!
Successfully loaded codec mpg4c32.dll
VIDEO: [MP42] 320x240 24bpp 25.00 fps 514.3 kbps (62.8 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
Audio buffer size: 132608 bytes, delay: 6.014s
Audio: type: 2 samplerate: 22050 channels: 1 bps: 1
AVI Initial frame delay: 0.000
v: audio_delay=0.000 buffer_delay=6.014 a_pts=-5.334 a_frame=-6.014
START: a_pts=0.680 v_pts=0.000
Start playing...
[xv] dcx: 5 dcy: 22 dx: 0 dy: 0 dw: 320 dh: 240
Initial PTS delay: 0.666 sec (calculated: -6.014)
v: audio_delay=0.666 buffer_delay=6.014 a.pts=6.680 v.pts=0.000
Exiting... (Quit)
max framesize was 4540 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