<div dir="ltr">The reason for error is <div>"<span style="font-size:12.8px">streaming task paused, reason not-negotiated (-4)</span>"</div><div>this means the video format USB webcam (like YUYV, I420 ...) provides is not compatible with the <span style="font-size:12.8px"> </span><span style="font-size:12.8px">omxh264enc. </span></div><div><span style="font-size:12.8px">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.</span></div><div><span style="font-size:12.8px">easy way to fix is to add a video converter between v4l2src and omxh264enc</span></div><div><span style="font-size:12.8px"> </span><span style="font-size:12.8px">gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert ! omxh264enc ! avimux ! filesink location=output.avi</span></div><div><span style="font-size:12.8px">But the videoconvert is software intensive. Better use the hardware video converters supported in your board.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 9, 2017 at 2:28 PM, Mariem <span dir="ltr"><<a href="mailto:mariem.mhiri.ext@valeo.com" target="_blank">mariem.mhiri.ext@valeo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Could you please help me to fix this issue?</div><div><br></div><div>In fact, when I run the below command-line on my board:<br></div><div><br></div><div>gst-launch-1.0 -v v4l2src device=/dev/video1 ! omxh264enc ! avimux ! filesink location=output.avi<br></div><div><br></div><div>I get this:</div><div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div>ERROR: from element /GstPipeline:pipeline0/<wbr>GstV4l2Src:v4l2src0: Internal data flow error.</div><div>Additional debug info:</div><div>../../../../gstreamer-1.6.3/<wbr>libs/gst/base/gstbasesrc.c(<wbr>2943): gst_base_src_loop (): /GstPipeline:pipeline0/<wbr>GstV4l2Src:v4l2src0:</div><div>streaming task paused, reason not-negotiated (-4)</div><div>Execution ended after 0:00:00.036807627</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div></div><div><br></div><div>I am using a USB camera (C920 Logitech HD Pro Webcam).</div><div>My boad has an arm64 architecture and uses a customized linux distribution.</div><div><br></div><div>Thank you.</div><div><br></div></div>
<br>
<pre><font face="Arial" size="2"><i>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.<span style="color:rgb(136,136,136);white-space:pre-wrap;background-color:rgb(255,255,255)"> </span></i></font></pre>
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-ERROR-GstPipeline-pipeline0-GstV4l2Src-v4l2src0-Internal-data-flow-error-tp4683262.html" target="_blank">Gstreamer ERROR: GstPipeline:pipeline0/<wbr>GstV4l2Src:v4l2src0: Internal data flow error.</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>*With Best Regards*<br><br><br>*Anjo John*<br><br>VVDN Technologies Pvt Ltd<br><br>*Cell : *+91 9539931442 | Skype :anjojohn051<br> <br><br></div>
</div>