Amarok和vlc没有声音

同一个系统,同一个机器。之前是有声音的。重装系统之后,没有安装 GNome 桌面。amarok 解码器也安装了。但是就是没有声音。使用命令打印 amarok,打印如下,想知道是哪儿出错的吗?还有就是 VLC 只有画面没有声音。重装系统前安装的是 smplayer,也是只有画面没有声音。想知道是怎么回事!!!

free@linux-d9co:~> amarok

(amarok:4771): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'object != NULL' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
                                                                                                                                      
(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance                                                               
                                                                                                                                      
(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed                   
                                                                                                                                      
(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(amarok:4771): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(amarok:4771): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(amarok:4771): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

** (amarok:4771): CRITICAL **: gst_audio_ring_buffer_set_flushing: assertion 'GST_IS_AUDIO_RING_BUFFER (buf)' failed

** (amarok:4771): CRITICAL **: gst_audio_ring_buffer_may_start: assertion 'GST_IS_AUDIO_RING_BUFFER (buf)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from PLAYING to UNKNOWN!(5)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(5) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(6) to UNKNOWN!(7)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-WARNING **: Unhandled state change from UNKNOWN!(7) to UNKNOWN!(6)

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

(amarok:4771): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
libpng warning: iCCP: known incorrect sRGB profile
QWidget::insertAction: Attempt to insert null action
********************************************************************************************** 
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** 
** amarok --debug                                                                           ** 
********************************************************************************************** 
free@linux-d9co:~> 
(amarok:4771): GStreamer-CRITICAL **: gst_element_query: assertion 'GST_IS_ELEMENT (element)' failed
Calling appendChild() on a null node does nothing.

解码器没装好吧,按这里的教程装一下, lug.ustc.edu.cn/sites/opensuse-guide/codecs.php ,vlc 的话要把 vlc-codecs 这个包装上。

你好。我就是在这个页面点击的 KDE 一键安装啊。确实是有问题的。是源错了吗?我使用的源是中科大的,packman 源是华科大的。

用命令安装试一下,看看是不是都装上了?

zypper install k3b-codecs ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libdvdcss2

谢谢你,使用命令安装也试过了。也是不行。使用命令运行 amarok 发现打印中有错误,帮忙分析一下是路径不对吗?

到 YaST 软件管理里找到你的 packman 软件源,看看上面用命令安装的软件包的版本是不是都在 packman 软件源,如果不在的话把它切换到 packman 软件源。

谢谢,回去我试试
是因为源更新不及时吗?导致版本不一致?这解码器不都是一样的吗?我觉得这样应该都没有问题的啊!

我也一样。安装了解码器,其他所有的软件都正常,就是 Amarok 不好使。各种设置都试过了。后来换了个 Audacious 播放器就好了。这个播放器还不错,用起来感觉挺像 FooBar2000 的。

你还可以试试 DeaDBeef,这贷更像 FooBar2000。

感谢推荐,等会就装上。