[gst-devel] How to diagnose the rmvb playing problem

Ruan Wen a.goooooooooogle at gmail.com
Mon May 12 12:59:48 CEST 2008


Hi
I have installed the latest gstreamer
,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly.Also the document on the
website http://gstreamer.freedesktop.org/documentation/plugins.html shows
that the latest versions support the realmedia. I can use the gst-launch to
play some rmvb files but not to other rmvb files;

For example,i run the next command on the terminal
[ruanwen at localhost ~]$ gst-launch playbin
uri=file:///home/ruanwen/Desktop/media/04.rmvb
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a
general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...


If i add some options to the command , it output:
[ruanwen at localhost ~]$ gst-launch -m playbin
uri=file:///home/ruanwen/Desktop/media/04.rmvb
................
<skip>
................
Got Message from element "rmdemux0" (tag): taglist,
audio-codec=(string)"Real\ Audio\ 10\ \(AAC\)";
Got Message from element "rmdemux0" (tag): taglist,
video-codec=(string)"Real\ Video\ 4.0";
Got Message from element "fakesink" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_READY;
Got Message from element "decodebin0" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "fakesink" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_NULL;
Got Message from element "fakesink" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got Message from element "rmdemux0" (error): GstMessageError,
gerror=(GstGError)(NULL), debug=(string)"rmdemux.c\(943\):\
gst_rmdemux_loop\ \(\):\ /playbin0/decodebin0/rmdemux0:\012stream\
stopped\,\ reason\ not-negotiated";
ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a
general stream error.
Additional debug info:
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

It seem that the gstreamer can't support the RealAudio 10, because the audio
codec of other files which can be played normally is RealAudio8 or 9.

How can i diagnose the problem and determine which cause the playing
failure?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080512/c75f523d/attachment.htm>


More information about the gstreamer-devel mailing list