<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="courier new, monospace">In the official documents for MultipartMux [1] and Multipartdemux [2], there are two sample pipelines as below. </font><span style="font-family:'courier new',monospace">It's fine when I run the first pipeline to encode. But when running the sencond pipeline to decode, it gave me the following error. </span></div>
<div class="gmail_default"><span style="font-family:'courier new',monospace"><br></span></div><div class="gmail_default" style><font face="courier new, monospace">Any hint? I'm running: </font></div><div class="gmail_default" style>
<font face="courier new, monospace"><br></font></div><div class="gmail_default" style><font face="courier new, monospace"> Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 athlon i686 GNU/Linux<br>
</font></div><div class="gmail_default" style><font face="courier new, monospace"><div class="gmail_default"> Distributor ID: Ubuntu</div><div class="gmail_default"> Description: Ubuntu 13.04</div><div class="gmail_default">
Release: 13.04</div><div class="gmail_default"> Codename: raring</div></font></div><div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace"><br>
</font></div><div class="gmail_default"><font face="courier new, monospace">Encoding video to to jpeg multipart:</font></div><div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default">
<font face="courier new, monospace"> $ gst-launch-1.0 videotestsrc ! video/x-raw, framerate='(fraction)'5/1 ! jpegenc ! multipartmux ! filesink location=/tmp/test.multipart</font></div><div class="gmail_default">
<font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">Decoding video from jpeg multipart:</font></div><div class="gmail_default"><font face="courier new, monospace"><br>
</font></div><div class="gmail_default"><font face="courier new, monospace"> $ gst-launch-1.0 filesrc location=/tmp/test.multipart ! multipartdemux ! jpegdec ! videoconvert ! ximagesink</font></div><div class="gmail_default">
<font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">Error Message for the above demux pipeline:</font></div>
<div class="gmail_default"><font face="courier new, monospace">------------------</font></div><div class="gmail_default"><font face="courier new, monospace">Setting pipeline to PAUSED ...</font></div><div class="gmail_default">
<font face="courier new, monospace">Pipeline is PREROLLING ...</font></div><div class="gmail_default"><font face="courier new, monospace">ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.</font></div>
<div class="gmail_default"><font face="courier new, monospace">Additional debug info:</font></div><div class="gmail_default"><font face="courier new, monospace">gstbasesrc.c(2809): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:</font></div>
<div class="gmail_default"><font face="courier new, monospace">streaming task paused, reason not-negotiated (-4)</font></div><div class="gmail_default"><font face="courier new, monospace">ERROR: pipeline doesn't want to preroll.</font></div>
<div class="gmail_default"><font face="courier new, monospace">Setting pipeline to NULL ...</font></div><div class="gmail_default"><font face="courier new, monospace">Freeing pipeline ...</font></div><div class="gmail_default">
<font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">References</font></div><div class="gmail_default">
<font face="courier new, monospace">===========</font></div><div class="gmail_default"><font face="courier new, monospace">[1] multipartmux: <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multipartmux.html#GstMultipartMux">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multipartmux.html#GstMultipartMux</a></font></div>
<div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">[2] multipartdemux: <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multipartdemux.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multipartdemux.html</a></font></div>
<div class="gmail_default" style="font-family:'courier new',monospace"><br></div></div></div>