LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 918|回复: 4

xv视频输出设备无法选择

[复制链接]
发表于 2006-4-3 15:51:04 | 显示全部楼层 |阅读模式
安装mplayer 无法选择XV 为输出设备。
播放现在用的是X11
无法全屏播放。

debian:/home/sean/# xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

然而我编译的时候,./configure
我明明看到了checking for  Xv  .......yes

我的显卡应该也已经驱动了
下面是信息。

glxgears
13489 frames in 5.0 seconds = 2697.800 FPS
13722 frames in 5.0 seconds = 2744.400 FPS
13723 frames in 5.0 seconds = 2744.600 FPS
13722 frames in 5.0 seconds = 2744.400 FPS
13720 frames in 5.0 seconds = 2744.000 FPS
13722 frames in 5.0 seconds = 2744.400 FPS

fgl_glxgears
Using GLX_SGIX_pbuffer
1752 frames in 5.0 seconds = 350.400 FPS
1927 frames in 5.0 seconds = 385.400 FPS
1913 frames in 5.0 seconds = 382.600 FPS
1937 frames in 5.0 seconds = 387.400 FPS

fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9550 Generic
OpenGL version string: 2.0.5695 (8.23.7)

请帮忙想想办法谢谢
发表于 2006-4-3 17:18:32 | 显示全部楼层
你是自己编译的mplayer吗?如果是自己编译的时候加入xv编译选项。如果没有xv选项的话是没有安装一些开发依赖包的原因,先将这些包安装后重新编译,加入xv选项就行了
回复 支持 反对

使用道具 举报

发表于 2006-4-3 17:18:45 | 显示全部楼层
你是自己编译的mplayer吗?如果是自己编译的时候加入xv编译选项。如果没有xv选项的话是没有安装一些开发依赖包的原因,先将这些包安装后重新编译,加入xv选项就行了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 17:56:42 | 显示全部楼层
Post by zwithersir
你是自己编译的mplayer吗?如果是自己编译的时候加入xv编译选项。如果没有xv选项的话是没有安装一些开发依赖包的原因,先将这些包安装后重新编译,加入xv选项就行了


mplayer是我自己编译的,加入xv选项是不是--enable-xv?

./configure --prefix=/usr/share/mplayer/ --cc=gcc-3.4 --enable-gui --enable-xv --libdir=/usr/local/lib/codecs --language=en --with-reallibdir=/usr/local/lib/codecs --with-win32libdir=/usr/local/lib/codecs

这样还是不行
回复 支持 反对

使用道具 举报

发表于 2006-4-4 09:23:47 | 显示全部楼层
你的xvinfo输出信息不对啊,应该类似这样的。
        X_video Extension version 2.2
        screen #0
          Adaptor #0: "Savage Streams Engine"
            number of ports: 1
            port base: 43
            operations supported: PutImage
            supported visuals:
              depth 16, visualID 0x22
              depth 16, visualID 0x23
            number of attributes: 5
        (...)
            Number of image formats: 7
              id: 0x32595559 (YUY2)
                guid: 59555932-0000-0010-8000-00aa00389b71
                bits per pixel: 16
                number of planes: 1
                type: YUV (packed)
              id: 0x32315659 (YV12)
                guid: 59563132-0000-0010-8000-00aa00389b71
                bits per pixel: 12
                number of planes: 3
                type: YUV (planar)
        (...etc...)
如果xv不行,可以使用DirectFB和XV的一样好用。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表