Showing posts with label mplayer. Show all posts
Showing posts with label mplayer. Show all posts

Friday, June 18, 2010

X11 error: BadAlloc (insufficient resources for operation) while using mplayer


mplayer -vo x11 PATH_TO_FILE

Use mplayer to play stuttering web flash videos on browsers (high CPU load)

Playing web flash videos on my Ubuntu Firefox can yield super high CPU load as flash is poorly supported on Linux. Couple that with a sub-optimal Firefox Flashplayer plugin which causes CPU load to spike up to almost 100% and this makes the video stutter like mad.

One solution is to start and pause the video to initiate caching and use mplayer to play the cached flash video instead.


mplayer /tmp/Flash*

Now it plays smooth. Fullscreen? No problem. Just toggle "F" on your keyboard!

Friday, May 14, 2010

'BadAlloc (insufficient resources for operation)' errror message while playing mp4 using mplayer

Fixed this by specifying video driver as such

mplayer -vo x11 PATH_TO_VIDEO

Monday, May 10, 2010

Streaming radio using mplayer


mplayer -playlist RADIO_STREAM_URL

Monday, March 15, 2010

Play remote media files over ssh using mplayer


ssh username@192.168.1.60 "cat ~/Video/apprentice.avi" | mplayer -

Saturday, January 30, 2010

Play asx streams with mplayer


mplayer -playlist URL

# if steams gets choppy

mplayer -playlist URL -ao sdl