[SOLVED] mplayer says that the system is too slow?

I've noticed that mplayer has been complaining that my system is too slow to play videos lately.
mplayer CLI output:
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x352 12bpp 25.000 fps 1537.8 kbps (187.7 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
[swscaler @ 0x89d5f50]SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [gl2] 640x352 => 640x352 BGR 24-bit
[gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is ok!)
[gl2] antialiasing off
[gl2] bilinear linear
A: 866.0 V: 866.0 A-V: 0.012 ct: 0.099 21651/21651 2% 3% 0.2% 4 0
A: 868.6 V: 867.9 A-V: 0.763 ct: 0.099 21698/21698 2% 3% 0.2% 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.
mediainfo output:
Format : AVI
Format/Info : Audio Video Interleave
File size : 698 MiB
Duration : 58mn 0s
Overall bit rate : 1 684 Kbps
Writing application : Nandub v1.0rc2
Writing library : Nandub build 1852/release
Video
Format : MPEG-4 Visual
Format profile : Streaming Video@L1
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 58mn 0s
Bit rate : 1 538 Kbps
Width : 640 pixels
Height : 352 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.273
Stream size : 638 MiB (91%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 58mn 0s
Bit rate mode : Variable
Bit rate : 133 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 55.1 MiB (8%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.60 video frame)
Interleave, preload duration : 477 ms
Writing library : LAME3.90.
Encoding settings : ABR
~/.mplayer/config contents:
vo=gl2
monitoraspect=16:9
Any ideas?
EDIT: Well, it looks like adding "ao=alsa" to ~/.mplayer/config did it. I guess that it uses OSS by default, which is apparently too slow.
EDIT 2: If anyone else can offer any mplayer performance tips, I'd still appreciate them.
Last edited by mrbug (2008-10-24 00:42:05)

Perhaps. Also, in that error message, do as it says and play around with combinations of those.
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.
(Taken directly from your post )

Similar Messages

Maybe you are looking for

  • 15" Macbook Pro internet issue

    I'm terrible at keeping up with updates, so I did a few updates yesterday and afterwards ran into a pretty obnoxious problem. Everytime I close the lid to put my Pro asleep and return to it, whether it be an hour later or just a few minutes, my inter

  • Registration of time and invoicing

    Hi there, We use SBO to manage a small consultancy firm where the only thing we sell is time i.e. hours of consulting. We sometimes subcontract freelancers and resell their services, but all our invoicing is based on the amount of hours of consulting

  • RSNAST00 - NAST table - NACE relation ...

    Kindly let me know what actually RSNAST00 program does ? 1). Because we create quotations in va21 and the same are processed by running RSNAST00 program as a first step. 2). and then we run our z-program, so that our z-program runs the above RSNAST00

  • Read the content of datafile

    Hi, I am new at OCCI. I would like to know ifit is possible to read the content of a datafile using OCCI and, if so, if there is some piece of code of this. Thanks a lot.

  • Spacebar in JTree

    What does the spacebar do when pushed on a Jtree? Thanks P.S. I know it does something.