Gstreamer ERROR: GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.

Anjo John anjo.john at vvdntech.in
Fri Jun 9 09:36:13 UTC 2017


The reason for error is
"streaming task paused, reason not-negotiated (-4)"
this means the video format USB webcam (like YUYV, I420 ...) provides is
not compatible with the  omxh264enc.
gst-inspect of omxh264enc will shows the format supported in its sink pads.
For USB webcam use v4l2-ctl to list out the supported format.
easy way to fix is to add a video converter between v4l2src and omxh264enc
 gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert ! omxh264enc !
avimux ! filesink location=output.avi
But the videoconvert is software intensive. Better use the hardware video
converters supported in your board.

On Fri, Jun 9, 2017 at 2:28 PM, Mariem <mariem.mhiri.ext at valeo.com> wrote:

> Hello,
>
> Could you please help me to fix this issue?
>
> In fact, when I run the below command-line on my board:
>
> gst-launch-1.0 -v v4l2src device=/dev/video1 ! omxh264enc ! avimux !
> filesink location=output.avi
>
> I get this:
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
> data flow error.
> Additional debug info:
> ../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943):
> gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 0:00:00.036807627
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> I am using a USB camera (C920 Logitech HD Pro Webcam).
> My boad has an arm64 architecture and uses a customized linux distribution.
>
> Thank you.
>
>
> *This e-mail message is intended only for the use of the intended recipient(s).
> The information contained therein may be confidential or privileged,
> and its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to its sender
> at the above address and destroy it. *
>
>
> ------------------------------
> View this message in context: Gstreamer ERROR: GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Internal data flow error.
> <http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-ERROR-GstPipeline-pipeline0-GstV4l2Src-v4l2src0-Internal-data-flow-error-tp4683262.html>
> Sent from the GStreamer-devel mailing list archive
> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

*With Best Regards*


*Anjo John*

VVDN Technologies Pvt Ltd

*Cell : *+91 9539931442 | Skype :anjojohn051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170609/13ef315d/attachment-0001.html>


More information about the gstreamer-devel mailing list