[gst-devel] Help! a very simple question..

Yue Li liyue99 at gmail.com
Wed Feb 27 09:20:11 CET 2008


Hi Kalle and Manish,

Thank you very much!  The pipeline works now :)

For the problem of
gst-launch filesrc location=mpeg2.mpg ! mpegdemux ! fakesink
I found
gst-launch filesrc location=mpeg2.mpg ! mpegdemux name=demux
demux.video_00 ! fakesink
works well.

It seems that pad name is required to run mpegdemux.
Maybe because it comes from gst-plugin-ugly.


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




More information about the gstreamer-devel mailing list