<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Who decides this number of threads? For example, you say that playbin has 3 threads. Why? Is the playbin plugin written that way? So the number of threads is not decided by the framework but rather by the plugin?</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org> on behalf of Jan Alexander Steffens <jan.steffens@gmail.com><br>
<b>Sent:</b> Tuesday, June 14, 2016 5:44:55 PM<br>
<b>To:</b> Discussion of the development of and with GStreamer<br>
<b>Subject:</b> Re: Is gstreamer thread heavy?</font>
<div> </div>
</div>
<div>
<div dir="ltr">In the simplest case, the pipeline will spawn one thread.<br>
<br>
The more usual case (playbin) has one thread reading in the data, one thread per decoder and one thread per output device. In your case, three threads.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Jun 14, 2016 at 9:11 PM test app <<a href="mailto:testacct9111@gmail.com">testacct9111@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">i am new to gst. I heard it needs very high number of threads. For a simple playback pipeline with .mp4 with video only decode, how many threads does it roughly require? in general, appreciate your expert insight into thread heaviness of gstreamer.</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
</div>
</body>
</html>