GNOME Bugzilla – Bug 655668
multipartdemux plugin don't work
Last modified: 2011-07-31 12:29:07 UTC
Couldn't find data stream multipartdemux to handle. File created by multipartmux isn't ok too: $ LANG=C gst-launch videotestsrc ! video/x-raw-yuv, framerate='(fraction)'5/1 ! jpegenc ! multipartmux ! filesink location=/tmp/test.multipart $ LANG=C gst-launch -v filesrc location=/tmp/test.multipart ! multipartdemux ! image/jpeg,width=320,height=240 ! ximagesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstCapsFilter:capsfilter1: caps = image/jpeg, width=(int)640, height=(int)480 ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: streaming task paused, reason not-linked (-1) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0.GstPad:src_0: caps = NULL Freeing pipeline ...
This is expected behaviour, ximagesink can not handle image/jpeg so the dynamic pad from multipartdemux is never linked to the capfilter. Maybe you should try without the wrong capsfilters and with the right decoders. This works for me: gst-launch videotestsrc ! video/x-raw-yuv, framerate='(fraction)'5/1 ! jpegenc ! multipartmux ! filesink location=multipart.dump and gst-launch filesrc location=multipart.dump ! multipartdemux ! jpegdec ! xvimagesink