ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/ Internal data flow error.
evitaka at hotmail.com
Fri Jun 26 03:01:56 PDT 2015
my problem is the following:
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: GstSystemClockERROR: 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)Execution ended after 0:00:00.088876208Setting pipeline to PAUSED ...Setting pipeline to READY ...Setting pipeline to NULL ...Freeing pipeline ...
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel