[gst-devel] unable to load pipeline from XML

Ottaviano Vasselli optavas at gmail.com
Fri Sep 25 20:37:46 CEST 2009


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:

   (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




More information about the gstreamer-devel mailing list