After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655668 - multipartdemux plugin don't work
multipartdemux plugin don't work
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.35
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-31 12:18 UTC by Alex Kuklin
Modified: 2011-07-31 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Kuklin 2011-07-31 12:18:33 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 ...
Comment 1 Wim Taymans 2011-07-31 12:29:07 UTC
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