Linux下Mplayer开启xv(MPlayer-1.0rc2)

本文介绍了解决ATI显卡驱动安装后mplayer播放器出现无声音及视频闪烁的问题方法。通过修改配置文件及打补丁解决声音问题,并提供了一套详细的mplayer编译安装步骤,包括安装必要的编译环境、下载源码、配置参数等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ATI显卡装好驱动后
mplayer 选择 xv后只有图像无声音
控制台xvinfo后提示
X-Video Extension version 2.2 screen #0 no adaptors present

则需要在Section "Device"加入
        Option          "TexturedVideo" "on"

这时mplayer播放器可以用了
但是,此时播放任何视频都会闪烁...
打补丁:http://smspillaz.googlepages.com/mplayrepatch.patch
代码: 先解压
$ cd ~/MPlayer-1.0rc2
$ patch -p1 <~i/mplayrepatch.patch
$ sudo ./configure
$ sudo make
$ sudo make install r

编译mplayer之前应先装好w32codecs ,编译安装完后安装 皮肤,字体,否则打不开mplayer的GUI(gmplayer,在控制台运行下会报错的)

重新编译mplayer
代码:
sudo apt-get build-dep mplayer
#这个命令自动安装mplayer的编译环境

接下来获取mplayer的源码包
代码:
apt-get source mplayer
#会自动下载源码到你自己的家目录里并解压缩包裹

代码:
cd mplayer****-rc2/
#进入源码目录

代码:
./configure --prefix=/usr/share/mplayer --enable-gui --enable-largefiles --language=zh_CN --enable-menu --enable-freetype --enable-dvdnav --enable-mad
make
sudo make install


安装sccm
compiz设置
General Options->General->Unredirect Fullscreen Windows去掉勾
mplayer即可以正常的最大化了...

重新编译后mplayer不能在文件管理器中直接双击打开
代码:
sudo gedit /usr/share/applications/mplayer.desktop
找到 Exec=gmplayer %U 这行把U换成F 保存

环境 AMD Turion64 3000+ Ubuntu 64位版 8.04 ATI Mobile X600

转载于:https://www.cnblogs.com/ppyyr/archive/2008/05/28/1209184.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值