[compiz] Making the video plugin + patched MPlayer work with other backends

Sam Spilsbury smspillaz at gmail.com
Mon Nov 5 05:05:52 PST 2007


Hi,

I'm wondering how I can make my patched up mplayer work with other
MPlayer frontends, such as mplayer-plugin, GMPlayer, SMPlayer and
KMPlayer. When I play a video using mplayer normally with:

mplayer video.ext,

It detects the compiz video output and works fine, however when it is
called from other players (AFAIK, it just creates a window then asks
mplayer to display in it) with mplayer video.ext, I get this:

Playing /home/Sam/Video/iMacAd.mp4.
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO:  [mp4v]  320x240  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (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] 320x240 => 320x240 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 140
[ws]  Minor code: 19
[ws]  Modules: flip_page


Strange. Other non-mplayer players do that too.

Oh well, looking forward to Redirected Direct rendering as that means
we can use the gl2 driver ;-)


More information about the compiz mailing list