Setting module properties for a bin through CLI?

Peter Maersk-Moller pmaersk at gmail.com
Wed Nov 26 03:47:04 PST 2014


Hi.

No takers on setting parameters for submodules of a bin unfortunately, so I
will try to rephrase my question. My decodebin is using the following
parameters

/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager:
latency = 2000
/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager:
ntp-sync = false
/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager:
use-pipeline-clock = false
/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager:
drop-on-latency = false
/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager:
buffer-mode = Slave receiver to sender clock
/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
timeout = 5000000000

Is it possible, with uridecodebin to set latency, ntp-sync etc. on the
command line ?
I tried something like this:

gst-launch-1.0 uridecodebin GstRtpBin::latency=1000

but that was not the answer. Does GStreamer have a mechanism to pass
parameter settings from command line for a bin to its sub modules?

Best regards
Peter

On Mon, Nov 24, 2014 at 11:15 AM, Peter Maersk-Moller <pmaersk at gmail.com>
wrote:

> Hi
>
> Is there a generic way for setting parameters on command line for the
> modules that a bin such as decodebin/uridecodebin and other bins uses?
>
> One example:
>
>   gst-launch-1.0 uridecodebin uri=rtsp://something ! something ...
>
> Here uridecodebin will use rtspsrc and rtspsrc has a number of properties
> such as latency, ntp-sync and others. When not set, these will default to
> default values obviously. Is it possible in a generic way to set on command
> line the value for latency and ntp-sync? Can't seem to find any
> documentation on this.
>
> Best regards
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141126/d6ced8b2/attachment.html>


More information about the gstreamer-devel mailing list