Thank you!<br><br>I run the command 
<br>GST_DEBUG=&quot;rademux:4,real*:4&quot; gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb<br><br>[ruanwen@localhost ~]$ GST_DEBUG=&quot;rademux:4,real*:4&quot; gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb<br>
Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>0:00:00.609076891&nbsp; 3349 0x9e14590 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; realaudiodec gstrealaudiodec.c:365:gst_real_audio_dec_setcaps:&lt;realaudiodec0&gt; Cannot handle version 10.<br>
0:00:00.609383308&nbsp; 3349 0x9e18118 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; realvideodec gstrealvideodec.c:409:open_library:&lt;realvideodec0&gt; Attempting to open shared library for real video version 4<br>ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.<br>
Additional debug info:<br>rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:<br>stream stopped, reason not-negotiated<br>ERROR: pipeline doesn&#39;t want to preroll.<br>Setting pipeline to NULL ...<br>0:00:00.692914772&nbsp; 3349 0x9e18118 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; realvideodec gstrealvideodec.c:115:gst_real_video_dec_chain:&lt;realvideodec0&gt; got buffer of size 1658, timestamp 0:00:00.000000000<br>
0:00:00.692974268&nbsp; 3349 0x9e18118 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; realvideodec gstrealvideodec.c:217:gst_real_video_dec_chain:&lt;realvideodec0&gt; buffer alloc failed: wrong-state<br>FREEING pipeline ...<br><br><br>The debug shows that it can&#39;t handle audio version 10. But how to support the real audio  version 10?<br>
I have added the codec such as amrn.so amrw.so&nbsp; atrc.so&nbsp; colorcvt.so&nbsp; cook.so&nbsp; drv1.so&nbsp; drv2.so&nbsp; drvc.so&nbsp; raac.so&nbsp; ralf.so&nbsp; rv10.so&nbsp; rv20.so&nbsp; rv30.so&nbsp; rv40.so&nbsp; sipr.so to the /usr/lib/codec and it seem not to work as before.<br>
<br><br><div class="gmail_quote">2008/5/13 Stefan Kost &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Ruan Wen schrieb:<div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
I have installed the latest gstreamer ,gst-plugins-good,gst-plugins-bad,gst-plugins-ugly.Also the document on the website <a href="http://gstreamer.freedesktop.org/documentation/plugins.html" target="_blank">http://gstreamer.freedesktop.org/documentation/plugins.html</a> 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;<br>

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

ERROR: from element /playbin0/decodebin0/rmdemux0: GStreamer encountered a general stream error.<br>
Additional debug info:<br>
rmdemux.c(943): gst_rmdemux_loop (): /playbin0/decodebin0/rmdemux0:<br>
stream stopped, reason not-negotiated<br>
ERROR: pipeline doesn&#39;t want to preroll.<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
<br>
It seem that the gstreamer can&#39;t support the RealAudio 10, because the audio codec of other files which can be played normally is RealAudio8 or 9.<br>
<br>
How can i diagnose the problem and determine which cause the playing failure?<br>
</blockquote>
<br></div></div>
GST_DEBUG=&quot;rademux:4,real*:4&quot; gst-launch playbin uri=file:///home/ruanwen/Desktop/media/04.rmvb<br><font color="#888888">
<br>
Stefan<br>
<br>
</font></blockquote></div><br>