LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: aaccdd

手把手教你编译安装MPlayer-1.0pre5

[复制链接]
发表于 2004-9-12 01:02:04 | 显示全部楼层

??

cd etc/
cp codecs.conf gui.conf input.conf sample.conf ~/.mplayer/
mv ~/.mplayer/sample.conf ~/.mplayer/config

我这里有codecs.conf gui.conf input.conf sample.conf, 却单单没有sample.conf, 我用gmplayer则出现 致命错误提示:“ 打开/初始化所选的视频输出(-vo)设备是出错!“ 
请问怎么回事?
发表于 2004-9-12 01:02:39 | 显示全部楼层
cd etc/
cp codecs.conf gui.conf input.conf sample.conf ~/.mplayer/
mv ~/.mplayer/sample.conf ~/.mplayer/config

我这里有codecs.conf gui.conf input.conf sample.conf, 却单单没有sample.conf, 我用gmplayer则出现 致命错误提示:“ 打开/初始化所选的视频输出(-vo)设备是出错!“ 
请问怎么回事?
 楼主| 发表于 2004-9-12 20:48:26 | 显示全部楼层
gui下字幕无法载入

按照楼主的方法装好了,挺顺利,但在gmplayer下字幕无法载入(sub,srt,都不行)
窗口下提示:Cannot load ×××××.sub/srt
控制台下提示:SUB: Could not determine file format

但在字符模式下,打命令mplayer ×××.avi -sub ×××.sub
虽然也提示SUB: Could not determine file format
但字幕是可以播放的

究竟是怎么回事阿?

1,gui默认不自动加载字幕,(修改gui.conf,前面有方法)
2,字幕文件的编码没有指定(-subcp)

我下的源码包在rh AS 3 上编译成功了的,所以源码包肯定没有问题。

我就是不清楚要装哪些相关的包,不知可否提示一下。

请参考:

  1. rpm -qa|grep gcc
  2. gcc-3.3.2-1
  3. libgcc-3.3.2-1
  4. gcc-gnat-3.3.2-1
  5. gcc-g77-3.3.2-1
  6. gcc-java-3.3.2-1
  7. compat-gcc-c++-7.3-2.96.118
  8. gcc-c++-3.3.2-1
  9. gcc32-3.2.3-6
  10. compat-gcc-7.3-2.96.118
复制代码

cd etc/
cp codecs.conf gui.conf input.conf sample.conf ~/.mplayer/
mv ~/.mplayer/sample.conf ~/.mplayer/config

我这里有codecs.conf gui.conf input.conf sample.conf, 却单单没有sample.conf, 我用gmplayer则出现 致命错误提示:“ 打开/初始化所选的视频输出(-vo)设备是出错!“ 
请问怎么回事?

前面贴子有解决办法,请仔细看一下.
发表于 2004-9-15 11:45:02 | 显示全部楼层
不知道这个版本是不是本身就支持在线看电影?如果是的话,要怎么设置才行?谢了
发表于 2004-9-15 15:19:17 | 显示全部楼层

gmplayer运行无字体

请教搂主:Mplayer编译后能用,但右建后菜单无字,是何因?
 楼主| 发表于 2004-9-17 20:07:07 | 显示全部楼层
不知道这个版本是不是本身就支持在线看电影?如果是的话,要怎么设置才行?谢了

1,mplayer http/rtsp/mms<address>
2,安装mplayerplugin
http://www.linuxsir.cn/forum.php ... 15&pagenumber=5

Mplayer编译后能用,但右建后菜单无字,是何因?

是否本地编码为utf-8,如果是,前面有解决办法
发表于 2004-9-18 20:49:01 | 显示全部楼层

高手看看

Reading /home/kyoshiro/.mplayer/codecs.conf: Can't open '/home/kyoshiro/.mplayer/codecs.conf': 没有那个文件或目录
Reading /usr/local/etc/mplayer/codecs.conf: font: can't open file: /home/kyoshiro/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): 权限不够
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
Can't open input config file /home/kyoshiro/.mplayer/input.conf: 没有那个文件或
目录
Can't open input config file /usr/local/etc/mplayer/input.conf: 没有那个文件或目录
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/kyoshiro/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
不能放在线流媒体
 楼主| 发表于 2004-9-18 23:18:43 | 显示全部楼层
Can't open '/home/kyoshiro/.mplayer/codecs.conf': 没有那个文件或目录
Linux RTC init error in ioctl (rtc_irqp_set 1024): 权限不够
Can't open input config file /home/kyoshiro/.mplayer/input.conf: 没有那个文件或
目录
Can't open input config file /usr/local/etc/mplayer/input.conf: 没有那个文件或目录
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

前面都有解决办法,请仔细看看前面的贴子.

ps:播放的媒体具体是什么格式?类型
发表于 2004-9-20 04:34:25 | 显示全部楼层

不顺能放碟不能在线看

[kyoshiro@pluto mplayer]$ gmplayer
MPlayer 1.0pre5-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Duron Spitfire 1151 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /home/kyoshiro/.mplayer/config
[cfg] read config file: /home/kyoshiro/.mplayer/gui.conf
Reading config file /home/kyoshiro/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/kyoshiro/.mplayer/codecs.conf: Can't open '/home/kyoshiro/.mplayer/codecs.conf': 没有那个文件或目录
Reading /usr/local/etc/mplayer/codecs.conf: font: can't open file: /home/kyoshiro/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): 权限不够
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Using usleep() timing
Can't open input config file /home/kyoshiro/.mplayer/input.conf: 没有那个文件或
目录
Can't open input config file /usr/local/etc/mplayer/input.conf: 没有那个文件或目录
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/kyoshiro/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
No bind found for key F1
No bind found for key F1
cmd: 2

正在退出... (Exit)
快疯了
wmv rmvb
装了plugin不行唉
发表于 2004-9-22 13:17:39 | 显示全部楼层

mplayer编译时出问题

我装的是SUSEPersonal9.1,编译Mplayer时,出现
Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

但我装了,上面两个文件后,编译又出现

Error: X11 support required for GUI compilation

Check "configure.log" if you do not understand why it failed.
这是怎么回事?是不是还缺少什么文件,指点一下,谢谢!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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