Search This Blog

Monday, July 29, 2013

Mplayer - X11 or XV video output driver

I saw that, x11 video output driver eat more cpu usage, then xv. But if you'll choose play videos with xv driver, you can't see video's image on your printscreen, like in this image:

https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn1/993658_600188283337477_774500100_n.png

So, we can talk about how to use x11 and xv video output drivers now.

[user@linux]~$ mplayer -vo help
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
Available video output drivers:
xmga   Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga     Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb  3Dfx Banshee/Voodoo3/Voodoo5
3dfx     3dfx (/dev/3dfx)
xv         X11/Xv
vdpau VDPAU with X11
x11      X11 ( XImage/Shm )
xover  General X11 driver for overlay capable video output drivers
gl        X11 (OpenGL)
gl2      X11 (OpenGL) - multiple textures version
dga     DGA ( Direct Graphic Access V2.0 )
sdl      SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev  Framebuffer Device
fbdev2 Framebuffer Device
svga     SVGAlib
aa        AAlib
cacaq  libcaca
v4l2      V4L2 MPEG Video Decoder Output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
xvidix     X11 (VIDIX)
cvidix     console VIDIX
null       Null video output
xvmc     XVideo Motion Compensation
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png       PNG file
jpeg      JPEG file
gif89a   animated GIF output
tga       Targa output
pnm      PPM/PGM/PGMYUV file
md5sum md5sum of each frame

Hm, here all video output drivers and not its only, we'll speak about x11 and xv.
So, let's play any video with x11 output video driver:

[user@linux]~$ mplayer -vo x11 -zoom 'your_video'

-zoom - you'll able change video's size, bigger, smaller or on the fullscreen.

So, if you want play videos with xv video output driver, do that:

[user@linux]~$ mplayer -vo xv -zoom 'your_video'

So, if you want do prinscreens with your video's image, choose x11 but if you have old computer and you don't do printsreens choose xv video output driver.

No comments: