<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 22 июл. 2024 г., 12:26 Stefan de Konink via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think have a significant opportunity to improve the Cinerella <br>
performance, under normal editing conditions, by n_videotracks-fold. At <br>
this point in time I notice that the CPU usage (decoding) for a section <br>
where multiple tracks are stacked, but only the top one is actually on <br>
screen (read opacity 100%) could be improved.<br>
<br>
I observe the following:<br>
<br>
  - for a disabled video effect, the CPU still runs<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Strange, I mostly test single video track, but if I disable effect on it it consumes less cpu? </div><div dir="auto"><br></div><div dir="auto">Does every video plugin behaves this way?</div><div dir="auto"><br></div><div dir="auto"><br></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">
  - for stacked video, the CPU still runs for both videos<br>
  - the effect must be detached and the video below must have play track<br>
    disabled to prevent the CPU to go from 20% to 150%<br>
  - this is independent of colourspace (RGB, RGBA, YUV or YUVA)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I think implementation of such optimization can be a little tricky due to route/shared plugins?</div><div dir="auto"><br></div><div dir="auto">May be ask Adam to implement it in cinHV first (if cinHV similarly affected) and then we will see if diff can be applied  to our tree?</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>
Stefan<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>