[MPlayer-users] Video and Audio async when play vlc rtp stream

xie you youxie at gmail.com
Tue Jul 22 10:05:08 CEST 2008


Hello all,

I used vlc media player streaming/Transcoding Wizard to stream an mpeg
file to my local address 127.0..0.1, and the streaming method is RTP
Unicast, encapsulation format is MPEG TS, TTL is 1, and let the stream
play repeatedly.  ( The corresponding vlc command is
"vlc Kiwi-bike.mpeg  --sout
'#std{access=rtp,mux=ts,dst=127.0.0.1:1234}' --loop" )
Then I used mplayer to play the stream (mplayer rtp://127.0.0.1:1234).
It worked well in the first loop, but when the video repeated from the
beginning, the video became slow and the audio and video were async.
And the message "Your system is too SLOW to play this!" was displayed.
But if I used vlc to play this stream, there was no such problem.

Can somebody help me solve this problem? Thank you!

My mplayer is a checkout version at revision 27332.
My OS is Ubuntu 8.04
My media file is a mpeg-1 video file, and you can download it at:
http://www.rightonstrategy.com/Movies/Kiwi-bike.mpeg
My vlc version is: VLC media player 0.8.6e Janus
My hardware is: CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
(Family: 6, Model: 15, Stepping: 13)

Below is the messages I paste from mplayer:

MPlayer dev-SVN-r27332-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz (Family: 6,
Model: 15, Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing rtp://127.0.0.1:1234.
STREAM_RTP, URL: rtp://127.0.0.1:1234
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
TS file format detected.
Stream not seekable!
VIDEO MPEG2(pid=68) AUDIO MPA(pid=69) NO SUBS (yet)!  PROGRAM N. 1
Stream not seekable!
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  488.8 kbps (61.1 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x288 => 384x288 Planar YV12
New_Face failed. Maybe the font path is wrong./  3 ??% ??% ??,?% 1 0
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Underrun(seq[19]=52188 seq=28554, newseq=-23634)54  1%  0%  4.4% 1 0
[mpeg1video @ 0x8825a30]ac-tex damaged at 5 10/662  1%  0% 13.4% 9 0
[mpeg1video @ 0x8825a30]Warning MVs not available
[mpeg1video @ 0x8825a30]concealing 176 DC, 176 AC, 176 MV errors
A:92729.1 V:92726.3 A-V:  2.870 ct: -0.308 703/703  1%  0% 25.9% 50 0

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.



More information about the MPlayer-users mailing list