Hi Yue, <br><br>Please check the answers below.<br>I have tried my best to give the answers, but apologies for any wrong arguments.. :)<br><br><div class="gmail_quote">On Wed, Feb 27, 2008 at 12:13 PM, Yue Li &lt;<a href="mailto:liyue99@gmail.com">liyue99@gmail.com</a>&gt; wrote:<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>
I&#39;m new to Gstreamer and this mail list. So I know maybe my question<br>
is too stupid.<br>
But I really couldn&#39;t find the answer and need your help.<br>
<br>
I just tried to decode a mpeg file like below:<br>
<br>
gst-launch filesrc location=mpeg2.mpg ! mpegdemux name=demux video_00!<br>
{ queue ! mpeg2dec ! xvideosink }<br>
<br>
but got the error message :<br>
<br>
WARNING: erroneous pipeline: no element &quot;video_00&quot;</blockquote><div>The currect pipeline for this should be :<br>
gst-launch filesrc location=mpeg2.mpg ! mpegdemux name=demux { demux.video_00 ! queue ! mpeg2dec ! xvideosink }<br>as the demuxer is a parent of the video_00 pad.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Then I tried:<br>
<br>
gst-launch filesrc location=mpeg2.mpg ! mpegdemux ! fakesink<br>
<br>
and got:<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
ERROR: from element /pipeline0/filesrc0: Internal data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2099): gst_base_src_loop (): /pipeline0/filesrc0:<br>
streaming task paused, reason not-linked (-1)<br>
ERROR: pipeline doesn&#39;t want to preroll.<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
</blockquote><div>I am not very much sure of this, as this should have worked fine.<br>Please try giving the caps filter ( not a good practice.) before mpeg2demux.<br><br>Hope this will help you.......<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I know this question may be too simple to you but please help me...<br>
<br>
Thank you!<br>
Yue Li<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Manish Rana<br>Software Engg.<br>Handset Technology Solution, <br>Sasken Comm. Tech.<br>Bangalore,India