Video examples of gst-launch

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Video examples of gst-launch

YRusinov
Hello, colleagues !

I try to launch my video with gst-launch using examples from documentation.
If I try to
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
then I receive an error
erroneous pipeline: no element omxh264enc
despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?


--
Best regards,
Sincerely yours,
Yuriy Rusinov.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video examples of gst-launch

YRusinov
Sorry, Ubuntu 19.10

On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <[hidden email]> wrote:
Hello, colleagues !

I try to launch my video with gst-launch using examples from documentation.
If I try to
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
then I receive an error
erroneous pipeline: no element omxh264enc
despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?


--
Best regards,
Sincerely yours,
Yuriy Rusinov.


--
Best regards,
Sincerely yours,
Yuriy Rusinov.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video examples of gst-launch

Nicolas Dufresne-5


Le jeu. 21 nov. 2019 03 h 25, Yuriy Rusinov <[hidden email]> a écrit :
Sorry, Ubuntu 19.10

Which architecture? OMX is currently only used on older Raspberry Pi, Xilinx ZynqMP and NVidia Tegra séries. Try decodebin when unsure.


On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <[hidden email]> wrote:
Hello, colleagues !

I try to launch my video with gst-launch using examples from documentation.
If I try to
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
then I receive an error
erroneous pipeline: no element omxh264enc
despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?


--
Best regards,
Sincerely yours,
Yuriy Rusinov.


--
Best regards,
Sincerely yours,
Yuriy Rusinov.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video examples of gst-launch

YRusinov
Hello, Nicolas !

Desktop architecture. 
I correct command line. omxh264enc -> x264enc. But new bug was arisen.
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
produce 

Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
0:00:00.045919435 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: Internal data stream error.
0:00:00.045940340 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: streaming stopped, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I never worked with gstreamer before and all that I find in google does not help.



On Thu, Nov 21, 2019 at 4:46 PM Nicolas Dufresne <[hidden email]> wrote:


Le jeu. 21 nov. 2019 03 h 25, Yuriy Rusinov <[hidden email]> a écrit :
Sorry, Ubuntu 19.10

Which architecture? OMX is currently only used on older Raspberry Pi, Xilinx ZynqMP and NVidia Tegra séries. Try decodebin when unsure.


On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <[hidden email]> wrote:
Hello, colleagues !

I try to launch my video with gst-launch using examples from documentation.
If I try to
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
then I receive an error
erroneous pipeline: no element omxh264enc
despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?


--
Best regards,
Sincerely yours,
Yuriy Rusinov.


--
Best regards,
Sincerely yours,
Yuriy Rusinov.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Best regards,
Sincerely yours,
Yuriy Rusinov.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video examples of gst-launch

Nicolas Dufresne-5
Le jeudi 21 novembre 2019 à 17:32 +0300, Yuriy Rusinov a écrit :

> Hello, Nicolas !
>
> Desktop architecture.
> I correct command line. omxh264enc -> x264enc. But new bug was arisen.
> 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
> produce
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLED ...
> 0:00:00.045919435 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: Internal data stream error.
> 0:00:00.045940340 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: streaming stopped, reason not-negotiated (-4)
No negotiated, means two of the elements you tried to connect are
incompatible. In this case it quite clear, you try to send AVI to
videoconvert. AVI files need to be demuxed, as they may contain
multiple streams. Then what comes next depends on the specific AVI
file. Again, there is decodebin to help you demux and decode with less
programming.

p.s. try to start with tune=zerolatency on x264enc for RTP streaming.

> ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
> Additional debug info:
> gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
> streaming stopped, reason not-negotiated (-4)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> I never worked with gstreamer before and all that I find in google does not help.
>
>
>
> On Thu, Nov 21, 2019 at 4:46 PM Nicolas Dufresne <[hidden email]> wrote:
> >
> > Le jeu. 21 nov. 2019 03 h 25, Yuriy Rusinov <[hidden email]> a écrit :
> > > Sorry, Ubuntu 19.10
> >
> > Which architecture? OMX is currently only used on older Raspberry Pi, Xilinx ZynqMP and NVidia Tegra séries. Try decodebin when unsure.
> >
> > > On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <[hidden email]> wrote:
> > > > Hello, colleagues !
> > > >
> > > > I try to launch my video with gst-launch using examples from documentation.
> > > > If I try to
> > > > 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
> > > > then I receive an error
> > > > erroneous pipeline: no element omxh264enc
> > > > despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Sincerely yours,
> > > > Yuriy Rusinov.
> > >
> > >
> > > --
> > > Best regards,
> > > Sincerely yours,
> > > Yuriy Rusinov.
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Video examples of gst-launch

YRusinov
Hello !

Problem was solved, thanks a lot.

On Thu, Nov 21, 2019 at 5:59 PM Nicolas Dufresne <[hidden email]> wrote:
Le jeudi 21 novembre 2019 à 17:32 +0300, Yuriy Rusinov a écrit :
> Hello, Nicolas !
>
> Desktop architecture.
> I correct command line. omxh264enc -> x264enc. But new bug was arisen.
> 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
> produce
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLED ...
> 0:00:00.045919435 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: Internal data stream error.
> 0:00:00.045940340 29207 0x55661738f4f0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc0> error: streaming stopped, reason not-negotiated (-4)

No negotiated, means two of the elements you tried to connect are
incompatible. In this case it quite clear, you try to send AVI to
videoconvert. AVI files need to be demuxed, as they may contain
multiple streams. Then what comes next depends on the specific AVI
file. Again, there is decodebin to help you demux and decode with less
programming.

p.s. try to start with tune=zerolatency on x264enc for RTP streaming.

> ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
> Additional debug info:
> gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
> streaming stopped, reason not-negotiated (-4)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> I never worked with gstreamer before and all that I find in google does not help.
>
>
>
> On Thu, Nov 21, 2019 at 4:46 PM Nicolas Dufresne <[hidden email]> wrote:
> >
> > Le jeu. 21 nov. 2019 03 h 25, Yuriy Rusinov <[hidden email]> a écrit :
> > > Sorry, Ubuntu 19.10
> >
> > Which architecture? OMX is currently only used on older Raspberry Pi, Xilinx ZynqMP and NVidia Tegra séries. Try decodebin when unsure.
> >
> > > On Thu, Nov 21, 2019 at 10:44 AM Yuriy Rusinov <[hidden email]> wrote:
> > > > Hello, colleagues !
> > > >
> > > > I try to launch my video with gst-launch using examples from documentation.
> > > > If I try to
> > > > 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
> > > > then I receive an error
> > > > erroneous pipeline: no element omxh264enc
> > > > despite of all plugins of gstreamer were set. System Ubuntu linux 9.2. Which way I have to solve it ?
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Sincerely yours,
> > > > Yuriy Rusinov.
> > >
> > >
> > > --
> > > Best regards,
> > > Sincerely yours,
> > > Yuriy Rusinov.
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Best regards,
Sincerely yours,
Yuriy Rusinov.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel