<div dir="ltr">Hello,<div><br></div><div>Just keeping this thread active.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>Thanks in advance for any assistance you can provide.</div><div dir="ltr"><br></div><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 15, 2023 at 5:45 PM Eslam Ahmed <<a href="mailto:eslam.ahmed@avidbeam.com">eslam.ahmed@avidbeam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Tim,<div><br></div><div>Thanks for pointing that out. I checked the <a href="https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/blob/discontinued-for-monorepo/examples/test-uri.c" target="_blank">this</a> example. it does the demuxing and the payloading automatically yet I wanna be in a position where I can inject more elements into the pipeline as to alter the stream before relaying/payloading it again.</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 15, 2023 at 4:46 PM Tim-Philipp Müller via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Hi Eslam,</div><div><br></div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div>Is it possible to make use of dynamic pipelines when passing the launch line via gst_rtsp_media_factory_set_launch? </div><div><br></div><div>For starters, I found out that it must have at least one payloader named pay%d. This is quite problematic if you don't know the codec before spinning the pipeline as you must use the correct payloader. Luckily, I am using rtpgstpay as my payloader so it's fixed.</div><div><br></div><div>But what about the rest of the pipeline? For example, if the codec is h264 then I need to add an h264parse element in the pipeline same for h265 or other codecs. This can be done when using uridecodebin and connect the pad-added callback. Is this the right way to go about this? and if my payloader is not fixed, how would one add it dynamically at runtime?</div></blockquote><div><br></div><div>Are you aware of <a href="https://gstreamer.freedesktop.org/documentation/gst-rtsp-server/rtsp-media-factory-uri.html#GstRTSPMediaFactoryURI" target="_blank">GstRTSPMediaFactoryURI</a> in gst-rtsp-server?</div><div><br></div><div>It does exactly that based on uridecodebin.</div><div><br></div><div>Cheers</div><div> Tim</div><div><br></div><div><br></div><div><br></div><div><span></span></div></div>
</blockquote></div>
</blockquote></div>