mplayer问题,有图象没声音。求助

Totem,mplayer,sopcast,realplayer,bmp
wwwlion
帖子: 62
注册时间: 2005-05-31 9:20

mplayer问题,有图象没声音。求助

#1

帖子 wwwlion » 2005-07-09 5:55

MPlayer interrupted by signal 11 in module: decode_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.

显示如上信息后退出,如果改变音频设备,可以显示图象,但没声音。
显示如下:


MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for Debian.



vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
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.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : 没有那个文件或目录
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: 没有那个文件或目录
Failed to open LIRC support.
You will not be able to use your remote control.

Gdk-WARNING **: locale not supported by Xlib, locale set to C
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Reading disc structure, please wait...
There are 12 titles on this DVD.
There are 16 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000017e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002e999
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x001d3427
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001d3474
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001d3523
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001d3570
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00201849
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00201896
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x002018f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00201942
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x002019c9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00201a16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00201a75
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00201ac2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0020fbb3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0020fc00
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x0022152a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00221577
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x0022159f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x002215ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x0022ca88
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x0022cad5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x0022dda3
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x0022ddf0
libdvdread: Elapsed time 0
libdvdread: Found 12 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
Cache fill: 0.00% (0 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9000.0 kbps (1125.0 kbyte/s)
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
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)
[AO OSS] audio_setup: Can't open audio device /dev/dsp0: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
V: 8.3 202/202 14% 23% 0.0% 0 0 43%
Exiting... (Exit)
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#2

帖子 yongyi » 2005-07-09 8:33

用OSS?
用其他的呢?
附件
Screenshot-Preferences.png
Screenshot-Preferences.png (9.88 KiB) 查看 5626 次
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
wwwlion
帖子: 62
注册时间: 2005-05-31 9:20

#3

帖子 wwwlion » 2005-07-09 14:13

用别的都不行,连图像都不显示了。
用oss时候,选择默认也不行,如果 device /dev/dsp 就退出了,如果选其他的,就没有声音。

真的想自己重新编译一下,但上次没有成功,有在ubuntu下成功编译MPLAYER的吗?
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#4

帖子 yongyi » 2005-07-09 14:31

wwwlion 写了:用别的都不行,连图像都不显示了。
用oss时候,选择默认也不行,如果 device /dev/dsp 就退出了,如果选其他的,就没有声音。

真的想自己重新编译一下,但上次没有成功,有在ubuntu下成功编译MPLAYER的吗?
有@!
viewtopic.php?t=1123&highlight=mplayer
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
BitCowboy
帖子: 31
注册时间: 2005-07-02 9:33

#5

帖子 BitCowboy » 2005-07-09 20:01

和输出没有关系。是音频解码器出错了。你自己下源代码然后编译一下就好了。我的就是这样的。

我的编译参数:
./configure --with-codecsdir=/usr/lib/codecs/ --enable-freetype --enable-alsa
wwwlion
帖子: 62
注册时间: 2005-05-31 9:20

#6

帖子 wwwlion » 2005-07-09 23:48

我在我的另外一台电脑也是这样,自己编译过就好了,别人是否也有这问题?是不是源里的deb有问题呀!
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#7

帖子 yongyi » 2005-07-10 0:00

嘿嘿,我的暂时没什么问题。不过,也不多用。我用mplayer-686
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#8

帖子 oneleaf » 2005-07-10 0:07

查了一下MPlayer是官方的源,不是第三方的源,自己试了一下没有问题。
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
wwwlion
帖子: 62
注册时间: 2005-05-31 9:20

#9

帖子 wwwlion » 2005-07-10 2:18

自己编译完,声音,字幕都没问题了。编译时选择了打开中文,可是菜单不显示呀,仅仅有图标,没文字。还要配置些什么呢? :cry:
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#10

帖子 yongyi » 2005-07-10 9:18

wwwlion 写了:自己编译完,声音,字幕都没问题了。编译时选择了打开中文,可是菜单不显示呀,仅仅有图标,没文字。还要配置些什么呢? :cry:
连E文也没?

看这:
在编译MPlayer的时候可以使用--language选项启用本地语言支持,
例如:
$SRCROOT/>./configure --enable-gui --language=zh_CN,en
这样以zh_CN为主,缺的部分为英语en

前面的帖子里面提到没有显示中文的问题,这个是编码的问题,根本的原因是编码。
最主要的一个文件是$SRCROOT/help/help_mp-zh_CN.h,这个文件有点久了,编码是GB2312,而现在一般的Linux发行版都用UTF-8编码,造成显示不出来或者乱码。可以用iconv转换该文件的编码,不妨将此文件改名为help_mp-zh_CN.h.bak,
$SRCROOT/help/>iconv -f gb2312 -t utf-8 help_mp-zh_CN.h.bak -o help_mp-zh_CN.h
然后修改$SRCROOT/DOCS/man/下面的目录 zh 为 zh_CN,其中的mplayer.1文件也是GB2312的编码,也可用iconv转编码。
建议将这些修改完成后再 configure。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
idk
帖子: 42
注册时间: 2005-06-16 14:01

#11

帖子 idk » 2005-07-10 11:05

楼上的方法不大管用,当初为了折腾这个中文菜单,反复编译了4、5次。也转换了GB2312的编码,还是不出来。最后还是编译成英文的。这可能跟当时gtk1中文字体设置有关系,现在很少用mplayer了,只是用来放rm。其他的都用vlc搞定。
头像
yanboo
帖子: 77
注册时间: 2005-05-19 15:53
来自: 重庆市

#12

帖子 yanboo » 2005-07-11 12:27

用xine吧,好像问题没这么多!
问君能有几多愁?
恰似一江春水向东流......
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#13

帖子 yongyi » 2005-07-11 12:28

xine对字幕加载支持方面如何?
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
yanboo
帖子: 77
注册时间: 2005-05-19 15:53
来自: 重庆市

#14

帖子 yanboo » 2005-07-11 13:35

这里http://forum.ubuntu.org.cn/viewtopic.php?t=782&highlight=%D7%D6%C4%BB
有解决xine,totem的中文字幕的方法!
问君能有几多愁?
恰似一江春水向东流......
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#15

帖子 yongyi » 2005-07-11 14:51

yanboo 写了:这里http://forum.ubuntu.org.cn/viewtopic.php?t=782&highlight=%D7%D6%C4%BB
有解决xine,totem的中文字幕的方法!
这些都看过了。
但还是不能支持sub 或idx+sub 吧?
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
回复