[MPlayer-users] How to choose fastest drivers

JD jd1008 at gmail.com
Sun Oct 31 00:42:55 CEST 2010

  Dear all,
I tried to play a test video (.mkv) format.
I am having a terrible time to sync audio with video
during playback. I keep getting
Your system is too SLOW to play this!

My system is a 2.4GHz Athlon64, Fedora 13 (i686),
2GB ram, 8GB swap. Before I start the mplayer,
the load factor is relatively very low:
load average: 1.56, 1.50, 1.43
The highest cpu usage by any process is 1% or less.
There are only 5 processes at 1% and the rest are
below .2%. Mplayer itself, when running, consumes
90% of cpu.

I tried the suggestions provided by mplayer. None of
them helped. most of the audio options produced
no sound. Only -ao alsa, -ao pulse and -ao sdl
produced sound. But I still cannot sunc audio and video.

This is the stdout output when I invoke mplayer from command line:

$ cat /tmp/mplayer
$ mplayer -vo x11 -ao  sdl -nocache  test-vid.mkv
MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
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 

Playing test-vid.mkv.
libavformat file format detected.
[matroska @ 0x99581e0] Estimating duration from bitrate, this may be 
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
VIDEO:  [H264]  1280x560  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
AO: [sdl] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 2.29:1 - prescaling to correct movie aspect.
VO: [x11] 1280x560 => 1280x560 Planar YV12
[swscaler @ 0x88653c0]using unscaled yuv420p -> bgra special converter
A:   3.1 V:   2.1 A-V:  1.067 ct:  0.015   0/  0 116% 45%  2.4% 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 
     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