LinuxSir.cn,穿越时空的Linuxsir!

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

我用mplayer加载字幕的时候总是加不上,而且总是一加就挂掉,为什么?(内附详情)

[复制链接]
发表于 2004-6-6 19:17:58 | 显示全部楼层 |阅读模式
[jing@jing six]$ gmplayer
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 2043 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /home/jing/.mplayer/config
[cfg] read config file: /home/jing/.mplayer/gui.conf
Reading config file /home/jing/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/jing/.mplayer/codecs.conf: Can't open '/home/jing/.mplayer/codecs.conf': 没有那个文件或目录
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/jing/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (7649 chars)
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/jing/.mplayer/input.conf: 没有那个文件或目录
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : 没有那个设备
Can't init input joystick
起动红外遥控支持...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
红外遥控支持起动失败!
你将无法使用你的遥控器
SKIN dir 1: '/home/jing/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

播放 /mnt/one/MyMovie/friend/six/[ACT]Friends601.avi.
VIDEO:  [DIVX]  464x352  24bpp  25.000 fps  950.2 kbps (116.0 kbyte/s)
==========================================================================
打开音频解码器: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
[pl_extrastereo] Extra stereo plugin in use (multiplier=1.00).
AO: [esd] latency: [server: 0.28s, net: 0.00s] (adjust 0.28s)
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
开始播放...
[mpeg4 @ 0xa272230]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo配置要求 - 464 x 352 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: [xv] 464x352 => 464x352 Planar YV12
[gui] Load subtitle: /mnt/one/MyMovie/friend/six/[ACT]Friends601.big5.smi
SUB: Detected subtitle file format: sami


就是上边那些输出,上边是加载sim文件时的情况,而要是加载srt文件就会时下边的情况,
[jing@jing jing]$ gmplayer
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 1800 MHz (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
针对有扩展指令集x86 CPU编译: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf: 没有那个文件或目录
Reading config file /home/jing/.mplayer/config
[cfg] read config file: /home/jing/.mplayer/gui.conf
Reading config file /home/jing/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/jing/.mplayer/codecs.conf: Can't open '/home/jing/.mplayer/codecs.conf': 没有那个文件或目录
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/jing/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (7649 chars)
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/jing/.mplayer/input.conf: 没有那个文件或目录
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : 没有那个设备
Can't init input joystick
起动红外遥控支持...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
红外遥控支持起动失败!
你将无法使用你的遥控器
SKIN dir 1: '/home/jing/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

播放 /mnt/one/MyMovie/friend/six/[ACT]Friends602.avi.
VIDEO:  [DIVX]  464x352  24bpp  25.000 fps  970.0 kbps (118.4 kbyte/s)
==========================================================================
打开音频解码器: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
打开视频解码器: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
[pl_extrastereo] Extra stereo plugin in use (multiplier=1.00).
AO: [esd] latency: [server: 0.28s, net: 0.00s] (adjust 0.28s)
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
开始播放...
[mpeg4 @ 0x9e0f250]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo配置要求 - 464 x 352 (选择 csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
电影宽高比未定义 - 无法使用预放大.
VO: [xv] 464x352 => 464x352 Planar YV12
[gui] Load subtitle: /mnt/one/MyMovie/friend/six/[ACT]Friends602.chinese.srt
SUB: Detected subtitle file format: subviewer
SUB: Read 384 subtitles.
SUB: Adjusted 198 subtitle(s).


正在退出... (退出)


这是怎么回事呀???
发表于 2004-6-6 19:22:00 | 显示全部楼层
试试vlc 吧,比mplayer好用多了:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=17222
 楼主| 发表于 2004-6-6 19:25:20 | 显示全部楼层
谢谢了
发表于 2004-6-6 19:44:49 | 显示全部楼层
mplayer在加载smi的字幕时总出问题,xine也同样,郁闷.但sub的字幕就ok.
smi的字幕好像是按时间的,而sub是按帧.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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