<div dir="ltr"><div><div><div>There seem indeed to be a mechanism to set the parameters for a submodule of a bin on the command line. The following example sets the latency parameter of the rtspsrc module<br><br><div style="margin-left:40px">gst-launch-1.0 uridecodebin source::latency=1000 uri=rtsp://something/something .....<br></div><br></div>Perhaps there even exist documentation somewhere that documents what rules to follow when doing so?<br><br></div>Best regards<br></div>Peter MM<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 12:47 PM, Peter Maersk-Moller <span dir="ltr"><<a href="mailto:pmaersk@gmail.com" target="_blank">pmaersk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi.<br><br></div>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<br><br><div style="margin-left:40px">/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager: latency = 2000<br>/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager: ntp-sync = false<br>/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager: use-pipeline-clock = false<br>/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager: drop-on-latency = false<br>/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock<br>/GstPipeline:pipeline0/GstURIDecodeBin:decoder/GstRTSPSrc:source/GstUDPSrc:udpsrc1: timeout = 5000000000<br></div><br></div>Is it possible, with uridecodebin to set latency, ntp-sync etc. on the command line ?<br></div>I tried something like this:<br><br><div style="margin-left:40px">gst-launch-1.0 uridecodebin GstRtpBin::latency=1000<br></div><br></div>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?<br><br></div>Best regards<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Peter<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 11:15 AM, Peter Maersk-Moller <span dir="ltr"><<a href="mailto:pmaersk@gmail.com" target="_blank">pmaersk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi<br><br></div>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?<br><br></div>One example:<br><br></div>  gst-launch-1.0 uridecodebin uri=rtsp://something ! something ...<br><br></div>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.<br><br></div>Best regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Peter<br></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>