пн, 22 июл. 2024 г., 12:26 Stefan de Konink via Cin <cin@lists.cinelerra-gg.org>:
I think have a significant opportunity to improve the Cinerella
performance, under normal editing conditions, by n_videotracks-fold. At
this point in time I notice that the CPU usage (decoding) for a section
where multiple tracks are stacked, but only the top one is actually on
screen (read opacity 100%) could be improved.

I observe the following:

  - for a disabled video effect, the CPU still runs

Strange, I mostly test single video track, but if I disable effect on it it consumes less cpu? 

Does every video plugin behaves this way?



  - for stacked video, the CPU still runs for both videos
  - the effect must be detached and the video below must have play track
    disabled to prevent the CPU to go from 20% to 150%
  - this is independent of colourspace (RGB, RGBA, YUV or YUVA)


I think implementation of such optimization can be a little tricky due to route/shared plugins?

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?