Set pipeline properties using gst-launch

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

Set pipeline properties using gst-launch

Ian Gough
Does anybody know
​ 
the syntax
​ 
to set *pipeline* properties using gst-launch?
​ 
Not element properties, but rather properties on GstPipeline
​.


For example, with:

gst-launch-1.0  udpsrc uri=udp://235.118.190.108:5656 ! tsparse ! tsdemux ! queue ! h264parse ! avdec_h264 ! xvimagesink

​H​
ow do I modify this to set the pipeline latency which is
​ 
set programatically using
​ 
gst_pipeline_set_latency()
​?​


ian

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

Re: Set pipeline properties using gst-launch

Nicolas Dufresne-5
Le mercredi 22 février 2017 à 10:31 -0500, Ian Gough a écrit :

> Does anybody know the syntax to set *pipeline* properties using
> gst-launch? Not element properties, but rather properties on
> GstPipeline.
>
> For example, with:
>
> gst-launch-1.0  udpsrc uri=udp://235.118.190.108:5656 ! tsparse !
> tsdemux ! queue ! h264parse ! avdec_h264 ! xvimagesink
>
> How do I modify this to set the pipeline latency which is set
> programatically using gst_pipeline_set_latency()?
Let's say, you have to know, though it's documented in the man page.
Same pipeline with 40ms latency:

gst-launch-1.0 pipeline. \( latency=40000000 udpsrc uri=udp://235.118.190.108:5656 ! tsparse ! tsdemux ! queue ! h264parse ! avdec_h264 ! xvimagesink \)

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

signature.asc (188 bytes) Download Attachment