[MPlayer-users] Problems with audio video sync.

Michael Raizman mraizman at purenet.tv
Wed Mar 17 22:00:37 CET 2004


Hi all!

    I have a huge problem with audio/video sync in MPlayer. Here is a 
set-up-box EPIA-M and RedHat9 on it. I compiled the mplayer with faad2 
and live support and try to run the RSTP stream (video mp4v (MPEG-4) 
audio mp4a (AAC)). There is a big delay beetwen audio and video - 
approximatly 2-3 sec. I tried differnt method to avoid it :
-autosync; -mc; -framedrop and etc. Please help. May anybody have an idea.

This is the log:

[root at xtreme-14-225 /]# nice -19 mplayer rtsp://205.207.148.233/purenetlive
MPlayer 1.0pre3-3.2.2 (C) 2000-2003 MPlayer Team

CPU: IDT/Centaur/VIA C3 Samuel 2 (WinChip C5B core)/C3 Ezra 600.1 MHz 
(Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open 
'/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or
directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing rtsp://205.207.148.233/purenetlive.
Not a Realmedia rtsp url. Trying standard rtsp protocol.
Connected to server: 205.207.148.233
This stream is non-cacheable
Stream not seekable!
Initiated "video/MP4V-ES" RTP subsession
Initiated "audio/MPEG4-GENERIC" RTP subsession
demux_rtp: Guessed the video frame rate as 30 frames-per-second.
         (If this is wrong, use the "-fps <frame-rate>" option instead.)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->128000 (128.0 kbit)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1024x768 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 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int
AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 32000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
Starting playback...
[mpeg4 @ 0x8b4f350]header damaged
Error while decoding frame!
VDec: vo config request - 256 x 192 (preferred csp: Planar YV12) 0 0 0%
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 256x192 => 256x192 Planar YV12  [fs] [zoom]
[mpeg4 @ 0x8b4f350]warning: first frame is no keyframe
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  -0.9 V:   0.0 A-V: -0.905 ct:  0.000   76/ 76   0%  0%  0.0% 74 0 0%
Exiting... (Quit)

Thank you for future answers.






More information about the MPlayer-users mailing list