ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/ Internal data flow error.

Tim Müller tim at centricular.com
Sun Jun 28 06:03:37 PDT 2015


On Fri, 2015-06-26 at 13:01 +0300, Evi Taka wrote:

Hi,

> my problem is the following:
> 
> 
> I run  
> 
> 
> gst-launch-1.0 autovideosrc ! 'video/x-raw,width=640,height=480' !
> x264enc bitrate=1000 tune=zerolatency speed-preset=2 ! fakesink -v
> 
> 
> and I get
> 
> 
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from
> element /GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/GstV4l2Src:autovideosrc0-actual-src-v4l: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2933): gst_base_src_loop
> (): /GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/GstV4l2Src:autovideosrc0-actual-src-v4l:
> streaming task paused, reason not-negotiated (-4)

not-negotiated usually means there's a problem with the format
negotiation.


> The problem is obviously with x264enc, because without it, it seems
> it works.
> 
> 
> Please, do you have any idea what's wrong? I am new with gstreamer and
> I cannot make sense with this ERROR...
> 
> 
> This is  the whole thing I want to do:
> 
> 
> gst-launch-1.0 autovideosrc  ! 'video/x-raw,width=640,height=480' !
> x264enc bitrate=1000 tune=zerolatency speed-preset=2 ! rtph264pay
> config-interval=1 ! udpsink host=127.0.0.1  port=1234  -v

Either v4l2src can't produce video in the dimensions you requested (but
if that was the problem then it would also fail if you remove x264enc),
or v4l2src can't produce video in any of the formats x264enc accepts.

Try:

 autovideosrc ! video/x-raw,width=640,height=480 ! videoconvert !
x264enc ! ...

Cheers
 -Tim



-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list