xcb_xv generic error: no available XVideo adaptor

来源:互联网 发布:淘宝店铺的招牌图片 编辑:程序博客网 时间:2024/06/05 03:07

用vlc播放视频文件时出现上述错误,但是不影响文件的播放




用以下命令就不会出现如题所述的错误,应该是显卡或者驱动的原因

./vlc  ../test.mp4 --vout x11

./vlc  ../test.mp4 --vout sdl


源:http://www.videolan.org/doc/vlc-user-guide/en/ch02.html


Video outputs

Video outputs modules allow VLC to display video on your screen. When launched, VLC tries to guess the most suitable video output module for your system. However, if you want to force a specific module, use the following command line switch: --vout modulename

directx

default enabled on win32

For Windows only

This video output uses Microsoft Direct X libraries. It is recommended for the win32 port.

You may indicate the path to directX libraries and headers with the --with-directx=PATH switch, when running the configure script.

x11

default: enabled

For Unix with X11 servers only

This is the basic X11 video output. It only requires a working X11 server. You will need xlibs headers to compile it (xlibs-dev package on Debian systems).

Options:

  • --x11-display <string> X11 display name to use

  • --x11-altfullscreen, --no-x11-altfullscreen : use alternate fullscreen mode to bypass window managers (default disabled)

  • --x11-shm, --no-x11-shm : use x11 shared memory (default enabled)

  • --x11-xineramascreen <integer> : choose the screen to be used for fullscreen mode, when working with xinerama

xvideo

default: enabled

For GNU/Linux only

It requires an xvideo compliant graphic card (it is the case for nearly all modern cards). It uses hardware acceleration for YUV transformation and rescaling.

Options:

  • --xvideo-display <string> : X11 display name to use

  • --xvideo-adaptor <integer> : xvideo adaptor number

  • --xvideo-altfullscreen, --no-xvideo-altfullscreen : use alternate fullscreen mode to bypass window managers (default disabled)

  • --xvideo-shm, --no-xvideo-shm : use x11 shared memory (default enabled)

  • --xvideo-xineramascreen <integer> : choose the screen to be used for fullscreen mode, when working with xinerama

  • --xvideo-chroma <string> : XVimage chroma format



原创粉丝点击