LinuxSir.cn,穿越时空的Linuxsir!

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

大侠帮我看看呀:mplayer播放时产生的问题

[复制链接]
发表于 2004-4-30 10:20:59 | 显示全部楼层 |阅读模式
运行下面的命令后,连mplayer的界面都看不见 !怎是怎么回事?正常吗?(mp3所在的目录和名字都没有错!)
[root@localhost mplayer-1.0pre3]# mplayer /root/track03.mp3
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1675 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
3DNow supported but disabled
3DNowExt 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: 没有那个文件或目录
创建config文件: /root/.mplayer/config
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 没有那个文件
或目录
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (7649 chars)
使用Linux的硬件RTC计时(1024Hz)
Can't open input config file /root/.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: 没有那个文件或目录
红外遥控支持起动失败!
你将无法使用你的遥控器

播放 /root/track03.mp3.
LMLM4 Stream Format not found
XMMS: found plugin: libcdaudio.so (CD Audio Player 1.2.7)
XMMS: found plugin: libidcin.so (Id Software .cin player 1.2.7)
XMMS: found plugin: libmikmod.so (MikMod Player 1.2.7)
XMMS: found plugin: librh_mp3.so (MPEG Layer 1/2/3 Placeholder Plugin)
XMMS: found plugin: libtonegen.so (Tone Generator 1.2.7)
XMMS: found plugin: libvorbis.so (Ogg Vorbis Player 1.2.7)
XMMS: found plugin: libwav.so (Wave Player 1.2.7)
XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.7)
GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class): assertion `node != NULL'
failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::border_width" is not
in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_typ
e > GTK_TYPE_NONE' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_typ
e > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::reallocate_redraws"
is not in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GT
K_IS_OBJECT_CLASS (class)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_typ
e > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::title" is not in the `(
null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::auto_shrink" is not in
the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_shrink" is not in
the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_grow" is not in t
he `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::modal" is not in the `(
null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_typ
e > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_width" is not i
n the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_height" is not
in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GT
K_IS_OBJECT_CLASS (class)' failed.

Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'
GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS
_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 4871 (gtk_widget_ref): assertion `GTK_IS_WIDGET (
widget)' failed.

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (
object)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::spacing" is not in the `(n
ull)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::homogeneous" is not in the
`(null)' ancestry

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAME
NTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAME
NTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAME
NTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 535 (gtk_container_add_child_arg_type): assert
ion `arg_type > GTK_TYPE_NONE' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAME
NTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'
GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkcontainer.c: line 714 (gtk_container_add): assertion `GTK_IS_WID
GET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET
(widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkHBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 3356 (gtk_widget_set_parent): assertion `GTK_IS_W
IDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'
GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET
(widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table !=
NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table !=
NULL' failed.

Gtk-WARNING **: invalid class type `GtkSeparator' in cast to `(unknown)'
发表于 2004-4-30 15:46:31 | 显示全部楼层
你是怎么装的,是编译的吗?
 楼主| 发表于 2004-4-30 22:05:19 | 显示全部楼层
在网上找了一个哈密瓜修改好的完全的很多rpm包,然后用rpm命令安装就是了!
发表于 2004-4-30 23:11:22 | 显示全部楼层
你最好找一个源码包安装,那样问题会少很多,我这里也是装哈密瓜修改好的完全的很多rpm包,然后用rpm命令安装的,但是也不行,可能系统和配置不一样吧,rpm包是根据自己的机器编译好的这是我找到的忘了是谁写的你自己找一下:
“Mplayer一直是我们这些菜鸟搞不定的播放器,从开始到弄的能播放东西装的共不下10遍了吧,我把自己的过程些下来,但愿能给大家些帮助(我的系统是fedora1、gnome环境)

好了现在开始吧

1:首先下载
http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3.tar.bz2

这是官方主页最新的吧,我也不大清楚,我用的是这个,同时你下载下来可以按照公社
这个地方 http://www.linuxfans.org/nuke/mo ... amp;t=9578&sid=
修改一些“bug”,毕竟看着好看些


realplayer和win32包(这里下载http://www1.mplayerhq.hu/MPlayer ... win32codecs.tar.bz2 下载后解压后把里面的文件全部拷贝到/usr/lib/win32里面)

再下载这个软件包
http://www.linuxfans.org/nuke/mo ... eninfo&did=2199

解压后 rpm -Uvh *.rpm全部装上

下载 字体包和皮肤

http://www1.mplayerhq.hu/MPlayer ... 16-arial-18.tar.bz2

http://www1.mplayerhq.hu/MPlayer/Skin/Corelian-1.1.tar.bz2

用mplayer播rtsp和pnm的流媒体
到live.com 去下载流媒体协议支持包,编译完后将整个目录cp到/ usr/lib下
再编译mplayer


2:开始安装
./configure --enable-live --enable-gui
--enable-xmms
--with-reallibdir=/usr/lib/RealPlayer9/users/Real/Codecs --with-xanimlibdir=/usr/lib/win32 --language=zh_CN

这个解释一下,reallibdir项 你的realplayer的codecs装在哪里就用什么路径,其他选项基本不用变,--language=zh_CN是让支持中文gui
然后 make, make install
装完后在终端运行 mplayer 以便在家目录生成 .mplayer 目录

3:后期工作

在/root/.mplayer下建立两个文件夹 font和Skin,然后把前面下载的字体包解压后的文件夹内的文件全部拷贝到 font 文件夹下;把皮肤包解压后的整个文件夹拷贝到Skin下。
然后
cp etc/codecs.conf ~/.mplayer
cp etc/example.conf ~/.mplayer/config ( etc 是你mplayer目录里的)
4:还有其他问题请参考:http://www.linuxfans.org/nuke/mo ... viewtopic&t=891
发表于 2004-4-30 23:22:17 | 显示全部楼层
找到了你可以到这里看看:http://www.linuxfans.org/nuke/mo ... ewtopic&t=64327
 楼主| 发表于 2004-5-1 14:18:39 | 显示全部楼层
非常感谢,那我原来装的mplayer怎么卸载?用rpm -e 一个一个卸载吗?
发表于 2004-5-1 20:37:15 | 显示全部楼层
你可以只卸载mplayer试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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