вс, 28 июл. 2024 г., 10:00 Stefan de Konink via Cin <cin@lists.cinelerra-gg.org>:
In my opinion, Cinelerra must be able to guess this itself.

Adam implemented something like this incin-HV

https://github.com/heroineworshiper/hvirtual/commit/c1d4250a29e7fed632a9ec6a5fab2dec0d63a437



Op 7/28/24 om 02:36 schreef Phyllis Smith:
> Stefan, in looking at the performance improvements you outlined below,
> this one is really a HUGE improvement:
>    - modifying the "stacked video" (opacity 100%) to disable "Play
> track" in the patchbay for the tracks that you do not need to see is the
> winner.  I will add that to the Performance Tips section of the manual. 
> It is a great tip for any computer, not just the smaller ones.
>
> But in my tests "for a disabled video effect, the CPU still runs", I did
> not see this happening using the "top" command.  It seemed to make a
> nice difference in lowering the cpu when I disabled the plugin.  Maybe
> it is just the plugin I used? Burning Tv?  I will try some different
> ones.  Also I did not verify that colourspace made no difference, but I
> am sure you are right about that.
>
> Thanks for this tip that we can pass along to other users via the
> manual. ...Phyllis
>
> On Mon, Jul 22, 2024 at 3:26 AM Stefan de Konink via Cin
> <cin@lists.cinelerra-gg.org <mailto:cin@lists.cinelerra-gg.org>> wrote:
>
>     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
>        - 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)
>
>     --
>     Stefan
>     --
>     Cin mailing list
>     Cin@lists.cinelerra-gg.org <mailto:Cin@lists.cinelerra-gg.org>
>     https://lists.cinelerra-gg.org/mailman/listinfo/cin
>     <https://lists.cinelerra-gg.org/mailman/listinfo/cin>
>
> !DSPAM:1,66a59293103801231713492!

--
Stefan

--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin