I run the command:<br>
GST_DEBUG=&quot;rmdemux:4,real*:4&quot; gst-launch playbin uri=file:///home/ruanwen<div id="1elw" class="ArwC7c ckChnd">/Desktop/media/04.rmvb<br><br>There are too many debug logs and the last&nbsp; is as the following:<br>&lt;........skip..................&gt;<br>
0:00:27.307954884&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:2194:gst_rmdemux_parse_video_packet:&lt;rmdemux0&gt; fragment size 813<br>0:00:27.307970317&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:2222:gst_rmdemux_parse_video_packet:&lt;rmdemux0&gt; stored fragment in adapter 1641/1641<br>
0:00:27.307987285&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:2245:gst_rmdemux_parse_video_packet:&lt;rmdemux0&gt; fragmented completed. count 2, header_size 17<br>0:00:27.308042102&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:2274:gst_rmdemux_parse_video_packet:&lt;rmdemux0&gt; 0 bytes left<br>
0:00:27.308079741&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:2397:gst_rmdemux_parse_packet:&lt;rmdemux0&gt; flags 2, Keyframe 1<br>0:00:27.308092660&nbsp; 4669 0xb7201890 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>
0:00:27.308104950&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:877:gst_rmdemux_loop:&lt;rmdemux0&gt; Chain flow failed at offset 0x0000120c<br>0:00:27.308133092&nbsp; 4669 0x90cb5a0 WARN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:943:gst_rmdemux_loop:&lt;rmdemux0&gt; error: stream stopped, reason not-negotiated<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:27.308673092&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:1256:gst_rmdemux_send_event:&lt;rmdemux0&gt; Pushing eos event on pad audio_00<br>
0:00:27.308738663&nbsp; 4669 0x90cb5a0 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:1256:gst_rmdemux_send_event:&lt;rmdemux0&gt; Pushing eos event on pad video_00<br>0:00:27.378002892&nbsp; 4669 0xb7201890 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:27.378119230&nbsp; 4669 0xb7201890 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>0:00:27.378505463&nbsp; 4669 0x8fe7050 DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rmdemux rmdemux.c:804:gst_rmdemux_sink_activate_pull:&lt;rmdemux0&gt; activate_pull<br>
FREEING pipeline ...<br><br><br>&nbsp;From the log, i can&#39;t determine which cause the playing failure.<br><br>And how to diagnose the problem from the log?<br></div><br><br><div class="gmail_quote">2008/5/13 Edward Hervey &lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</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;">On Mon, 2008-05-12 at 22:10 +0300, Stefan Kost wrote:<br>
[...]<br>
<div class="Ih2E3d">&gt; GST_DEBUG=&quot;rademux:4,real*:4&quot; gst-launch playbin<br>
&gt; uri=file:///home/ruanwen/Desktop/media/04.rmvb<br>
<br>
</div> &nbsp; Stefan meant: &quot;rmdemux:4,real*:4&quot; (and not rAdemux)<br>
<br>
&gt;<br>
&gt; Stefan<br>
&gt;<br>
&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; This SF.net email is sponsored by: Microsoft<br>
&gt; Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
&gt; <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
</blockquote></div><br>