[gst-devel] unable to load pipeline from XML

Stefan Kost ensonic at hora-obscura.de
Mon Sep 28 14:40:57 CEST 2009


hi,

Ottaviano Vasselli schrieb:
> Hello,
> I'm having trouble with gst-xmllaunch. When I launch that simple
> pipeline with gst-launch, everything goes fine:
>
>    gst-launch-0.10 filesrc location=$SRC_FILE ! decodebin name=decode decode. \
>    ! queue ! theoraenc ! oggmux name=mux  decode. ! queue !
> audioconvert ! vorbisenc \
>    ! mux.  mux. ! filesink location=$DST_FILE
>
> (with $SRC_FILE and $DST_FILE existing file names)
>
> so I added "-o saved_pipe.xml" obtaining an xml file looking valid.
> But when I run gst-xmllaunch -vvv saved_pipe.xml , transcoding does
> not start and pipeline terminates with following output:
>   

xml serialisation has some limmitations and is not widley used. In the
above case it might fail to handle the dynamic pads. You could use
G_DEBUG=fatal_warnings gdb --args gst-xmllaunch -vvv saved_pipe.xml
and break on the error. Get the backtrace, figure a fix, report
problem+backtrace+patch to bugzilla.

Stefan
>    (gst-launch-0.10:3746): GStreamer-CRITICAL **: pad sink_563092733
> is not a source pad
>
>    (gst-launch-0.10:3746): GStreamer-WARNING **: Name fakesink is not
> unique in bin decode, not adding
>
>    (gst-launch-0.10:3746): GStreamer-WARNING **: Name typefind is not
> unique in bin decode, not adding
>    francesco at helium:/tmp$ gst-xmllaunch-0.10 -vvv test.xml
>
>    (gst-launch-0.10:3758): GStreamer-CRITICAL **: pad sink_563092733
> is not a source pad
>
>    (gst-launch-0.10:3758): GStreamer-WARNING **: Name fakesink is not
> unique in bin decode, not adding
>
>    (gst-launch-0.10:3758): GStreamer-WARNING **: Name typefind is not
> unique in bin decode, not adding
>
>    (gst-launch-0.10:3758): GStreamer-CRITICAL **:
> gst_pad_load_and_link: assertion `pad != NULL' failed
>    Setting pipeline to PAUSED ...
>    /pipeline0/decode/typefind.src: caps = video/x-msvideo
>    Pipeline is PREROLLING ...
>    ...
>
>
> Also tried adding filesrc0.location="..." filesink0.location="..."
> with real files specified, but no change.
> Does somebody have any clue about?
>
>
> Thank you for your attention, bye
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list