LinuxSir.cn,穿越时空的Linuxsir!

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

mplayer错误

[复制链接]
发表于 2006-2-14 13:56:39 | 显示全部楼层 |阅读模式
debian:~# mplayer -vo fbdev -zoom -x 800 -y 600 /home/123.rmvb
后出现
Can't open /dev/fb0: No such device
打开/初始化所选的视频输出(-vo)设备是出错!
我的nvidia的显卡驱动也安装了啊
发表于 2006-2-14 14:40:34 | 显示全部楼层

好像是framebaffer没有打开?

好像是framebaffer没有打开?
回复 支持 反对

使用道具 举报

发表于 2006-2-14 16:35:36 | 显示全部楼层
请教楼主个问题。我看见了楼住原来的一个帖子。也是关于mplayer的──楼主已经顺利的通过了编译

我想请问一下,为什么我
DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary
编译的时候
出了一个
make[2]: Entering directory `/home/sailing/sailingDocument/cvs/main/libavcodec'
Makefile:405: ../common.mak: No such file or directory
make[2]: *** No rule to make target `../common.mak'.  Stop.
make[2]: Leaving directory `/home/sailing/sailingDocument/cvs/main/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] 错误 2
make[1]: Leaving directory `/home/sailing/sailingDocument/cvs/main'
make: *** [build-stamp] 错误 2

========
回复 支持 反对

使用道具 举报

发表于 2006-2-14 18:59:01 | 显示全部楼层
你用的cvs版本,缺几个库的代码
见mplayer主页的下载帮助
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 08:40:12 | 显示全部楼层
yhwz_888:
mv essential-20040704/ /usr/lib/codecs //将所有的解码文件移动到/usr/lib/codecs目录下



./configure --enable-gui --with-codecsdir=/usr/lib/codecs --with-win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir=/usr/lib/codecs --disable-inet6 --language=zh_CN

make

make install
要是少什么文件的话,你看我以前的贴子都有详细说明
回复 支持 反对

使用道具 举报

发表于 2006-2-15 10:09:34 | 显示全部楼层
done
*** Download font at http://www.mplayerhq.hu/homepage/dload.html
*** for OSD/Subtitles support and extract to /usr/local/share/mplayer/font/
*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html
*** for GUI, and extract to /usr/local/share/mplayer/Skin/
install -m 644 Gui/mplayer/pixmaps/mplayer-desktop.xpm /usr/local/share/pixmaps/mplayer-desktop.xpm
install -m 644 etc/mplayer.desktop /usr/local/share/applications/mplayer.desktop

===================================
出现了这个是不是就表示操作成功了?
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:23:51 | 显示全部楼层
前两天的CVS忘了更新libavcodec/common.mak。现在已经好了。
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:30:33 | 显示全部楼层
Post by manphiz
前两天的CVS忘了更新libavcodec/common.mak。现在已经好了。


无语…………
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-16 11:10:38 | 显示全部楼层
还是不行啊!
对了,我用gmplayer 出现:
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
那句话要往哪加啊
回复 支持 反对

使用道具 举报

发表于 2006-2-16 12:10:13 | 显示全部楼层
你把Debian的安装手册看一遍就知道了。
中文版的,没啥困难。

man update-rc.d

[hjj@debian:/etc/init.d]$ cat myinit
#!/bin/sh
# for mplayer
echo 1024 > /proc/sys/dev/rtc/max-user-freq

# turn on the ibm hotkey
echo enable > /proc/acpi/ibm/hotkey

#clear privoxy info
cp /dev/null /var/log/privoxy/errorfile
回复 支持 反对

使用道具 举报

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

本版积分规则

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