<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 31 oct. 2019 14 h 40, wilson1994 <<a href="mailto:willemsthomas1994@gmail.com">willemsthomas1994@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to use gst-rtsp-server to transfer an uncompressed video stream<br>
with a high frame rate (>80 fps) over a dedicated network to 1 client.<br>
<br>
My pipeline setup is quite simple and looks like this:<br>
<br>
    gst_rtsp_media_factory_set_launch (factory, "( appsrc name=source !<br>
rtpgstpay name=pay0 )");<br>
<br>
I notice that the bottleneck is that I max out 1 core of my CPU, while the<br>
others are not in use, which prevents me from achieving the required frame<br>
rate.<br>
<br>
A solution would be to insert a queue to divide the pipeline into multiple<br>
threads, but 90% of the pipeline is unexposed to me as it's integrated in<br>
the gst-rtsp-server.<br>
<br>
Therefore I wonder if there is some way I can spread out the workload of<br>
gst-rtsp-server over multiple cores?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Simple thing to try is to add a queue (thread) after the payloader, and name is pay0 (even if it not a payloader, it should still work. That will split the load of packetization (which will likely copy the stream) in its own thread. That being said, adding buffer list support to this payloader, and sub-buffer support may be required for such a high bitrate case.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>