Playing MJPEG format using gstreamer gives multipart error
Mailing List SVR
lists at svrinformatica.it
Mon Dec 29 02:05:46 PST 2014
Il 29/12/2014 10:39, deepthips ha scritto:
> I need to play mjpeg file using this pipeline:
> souphttpsrc -> multipartdemux ! jpegdec ! ffmpegcolorspace -> <xyzSink>
>
> For this testing, I used the below pipeline:
>
> gst-launch-0.10 filesrc location=test.mjpeg ! multipartdemux ! jpegdec !
> ffmpegcolorspace
>
> But it gives following error :
>
> gst-launch-0.10 filesrc location=test.mjpeg ! multipartdemux ! jpegdec !
> ffmpegcolorspace
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLED ...
> ERROR: from element
> /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0: Could not
> demultiplex stream.
> Additional debug info:
> multipartdemux.c(480): multipart_parse_header ():
> /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0:
> Boundary not found in the multipart header
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
this error means that this is not a multipart file
>
> I tried different streams (avi with mjpeg), but got same error. It gives
> same error if I use filesrc or souphttpsrc or filesink. Please advise.
if you have avi with mjpeg you should use avidemux, multipartdemux
expect something like this:
--boundary
Content-Type: image/jpeg
Content-Length: xxxx
<jpeg image, xxxx bytes>
--boundary
Content-Type: image/jpeg
Content-Length: yyyy
<jpeg image, yyyy bytes>
......
Nicola
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playing-MJPEG-format-using-gstreamer-gives-multipart-error-tp4670030.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list