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

k l kludev at gmail.com
Fri May 10 22:30:44 PDT 2013


Hi Tim,

I tried your suggestion. Still no luck. Still getting the not-negotiated
error. I'm using Ubuntu 13.04 with the pre-packaged gst (1.0.6). I also
tried compiling and installing my own gstreamer core with the source at [
http://gstreamer.freedesktop.org/modules/gstreamer.html]. Both with the
same result.

Could you try 1.0.6 just to see if it's a bug fix between 1.0.6 - 1.0.7, or
is it something wrong with my pipeline?

Also, what's the general guideline for diagnosing not-negotiated error? Any
way I can get more diagnostic info? I've tried invoking gst-launch with -v
but it doesn't give much more info.


Thanks!
K


gst-launch-1.0 -v -e filesrc location=/tmp/test.multipart ! multipartdemux
! image/jpeg,framerate=\(fraction\)5/1 ! jpegparse ! jpegdec ! videoconvert
! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1: caps = image/jpeg,
framerate=(fraction)5/1
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2809): gst_base_src_loop ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...



On Fri, May 10, 2013 at 3:07 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130510/25e0ee1e/attachment.html>


More information about the gstreamer-devel mailing list