<div dir="ltr">Hello !<div><br></div><div>Problem was solved, thanks a lot.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 5:59 PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le jeudi 21 novembre 2019 à 17:32 +0300, Yuriy Rusinov a écrit :<br>
> Hello, Nicolas !<br>
> <br>
> Desktop architecture. <br>
> I correct command line. omxh264enc -> x264enc. But new bug was arisen.<br>
> gst-launch-1.0 -e --gst-debug-level=2 filesrc location=/home/ylr/ship_no_scales.avi ! videoconvert ! x264enc bitrate=2048000 ! h264parse ! rtph264pay mtu=1400 ! udpsink sync=false async=false<br>
> produce <br>
> <br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLED ...<br>
> 0:00:00.045919435 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: Internal data stream error.<br>
> 0:00:00.045940340 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: streaming stopped, reason not-negotiated (-4)<br>
<br>
No negotiated, means two of the elements you tried to connect are<br>
incompatible. In this case it quite clear, you try to send AVI to<br>
videoconvert. AVI files need to be demuxed, as they may contain<br>
multiple streams. Then what comes next depends on the specific AVI<br>
file. Again, there is decodebin to help you demux and decode with less<br>
programming.<br>
<br>
p.s. try to start with tune=zerolatency on x264enc for RTP streaming.<br>
<br>
> ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.<br>
> Additional debug info:<br>
> gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
> streaming stopped, reason not-negotiated (-4)<br>
> ERROR: pipeline doesn't want to preroll.<br>
> Setting pipeline to PAUSED ...<br>
> Setting pipeline to READY ...<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline ...<br>
> <br>
> I never worked with gstreamer before and all that I find in google does not help.<br>
> <br>
> <br>
> <br>
> On Thu, Nov 21, 2019 at 4:46 PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>> wrote:<br>
> > <br>
> > Le jeu. 21 nov. 2019 03 h 25, Yuriy Rusinov <<a href="mailto:yrusinov@gmail.com" target="_blank">yrusinov@gmail.com</a>> a écrit :<br>
> > > Sorry, Ubuntu 19.10<br>
> > <br>
> > Which architecture? OMX is currently only used on older Raspberry Pi, Xilinx ZynqMP and NVidia Tegra séries. Try decodebin when unsure.<br>
> > <br>
> > > On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <<a href="mailto:yrusinov@gmail.com" target="_blank">yrusinov@gmail.com</a>> wrote:<br>
> > > > Hello, colleagues !<br>
> > > > <br>
> > > > I try to launch my video with gst-launch using examples from documentation.<br>
> > > > If I try to<br>
> > > > gst-launch-1.0 filesrc location=my_file.avi ! videoconvert ! omxh264enc low-latency=1 control-rate=2 bitrate=4000000 insert-sps-pps=true ! h264parse ! rtph264pay mtu=1400 ! udpsink sync=false async=false<br>
> > > > then I receive an error <br>
> > > > erroneous pipeline: no element omxh264enc<br>
> > > > despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?<br>
> > > > <br>
> > > > <br>
> > > > -- <br>
> > > > Best regards,<br>
> > > > Sincerely yours,<br>
> > > > Yuriy Rusinov.<br>
> > > <br>
> > > <br>
> > > -- <br>
> > > Best regards,<br>
> > > Sincerely yours,<br>
> > > Yuriy Rusinov.<br>
> > > _______________________________________________<br>
> > > gstreamer-devel mailing list<br>
> > > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> > <br>
> > _______________________________________________<br>
> > gstreamer-devel mailing list<br>
> > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
> <br>
> <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Best regards,<br>Sincerely yours,<br>Yuriy Rusinov.<br></div>