Set pipeline properties using gst-launch

Nicolas Dufresne nicolas at ndufresne.ca
Wed Feb 22 16:20:37 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170222/c49c4b7a/attachment.sig>


More information about the gstreamer-devel mailing list