<div dir="ltr"><div><div><div>Thanks,<br><br></div>No, i don't check out camerabin, i will do.<br></div>I'm working on a rtp bin, to transform GiGE vision heavy load stream to a lighter one. <span id="result_box" class="" lang="en"><span class="">This is</span> <span class="">why I need</span> <span class="">to enable or disable a bin, without stopping the pipeline.<br>
</span></span></div><div><br><span id="result_box" class="" lang="en"><span class="">This model</span> <span class="">is inspired by <a href="https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/">https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/</a><br>
</span></span></div><div><span id="result_box" class="" lang="en"><span class="">The template works fine, </span></span><span id="result_box" class="" lang="en"><span class="">but I am</span> <span class="">listening to</span> <span class="">your best tips.<br>
<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Cordialement<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">CB<br></span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br>
</span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br></span></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-29 13:32 GMT+02:00 Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sun, 2014-06-29 at 08:21 +0200, Cyril Baletaud wrote:<br>
<br>
Hi,<br>
<br>
> I'm working on GiGE Vision with GStreamer render pipeline.<br>
> (<a href="https://gitorious.org/jiguiviou" target="_blank">https://gitorious.org/jiguiviou</a>)<br>
><br>
><br>
> I have multiple dynamic sink branch (at moment view and record<br>
> branches).<br>
><br>
> By default , the first branch created is a fakesink and we can<br>
> activate any of other while pipeline is running.<br>
><br>
><br>
> My question is : when activating an real sink branch, is it better to<br>
> remove the fakesink branch or (because CPU load for fakesink is<br>
> less ?) let the fakesink running ?<br>
<br>
</div></div>That fakesink branch will have some non-zero overhead, but it should be<br>
really really small. It's basically just one extra thread (from the<br>
queue after the tee), and the extra pad_push. I wouldn't bother removing<br>
it unless you know that you won't need it again later, or it shows up in<br>
your performance investigations.<br>
<br>
I suppose you already checked out camerabin and found it doesn't cater<br>
to your use case? It can start/stop recording on the fly while showing<br>
the camera output.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>