Internal data flow error in Multipart(De)Mux's official document example

Tim-Philipp Müller t.i.m at zen.co.uk
Fri May 10 03:07:59 PDT 2013


On Thu, 2013-05-09 at 20:43 -0700, k l wrote:

Hi,

> In the official documents for MultipartMux [1] and Multipartdemux [2],
> there are two sample pipelines as below. 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. 
> 
> Encoding video to to jpeg multipart:
> 
>   $ gst-launch-1.0 videotestsrc ! video/x-raw,
> framerate='(fraction)'5/1 ! jpegenc ! multipartmux ! filesink
> location=/tmp/test.multipart
> 
> 
> Decoding video from jpeg multipart:
> 
> 
>   $ gst-launch-1.0 filesrc location=/tmp/test.multipart !
> multipartdemux ! jpegdec ! videoconvert ! ximagesink
>
> 
> Error Message for the above demux pipeline:
> streaming task paused, reason not-negotiated (-4)

This works for me (with git master, and 1.0.7):

gst-launch-1.0 filesrc location=/tmp/test.multipart ! multipartdemux !
image/jpeg,framerate=\(fraction\)5/1 ! jpegparse ! jpegdec !
videoconvert ! ximagesink

I will update the docs, thanks!

Cheers
 -Tim



More information about the gstreamer-devel mailing list