Video Optimization

Max Giesing's icon

Hello everyone! Hope you are having a nice day:)

I've been working on a patch that interpolates between 2 Video sources.

Thanks to this wonderful community, the Patch works great.

However when I go into fullscreen mode my fps drops from 60 to about 40fps and the videos sometimes stutter a bit. Is there any kind of optimization i can do to get the videos to run smoothly?

The Videos are in 4k HAPQ format and I have a M1 Macbook pro if that helps figuring this out.

I already tried reducing them to FHD, my fps went up to about 50, however the stuttering still occured, which Is the main bummer right now:/
I'd be grateful for every lead!

Best regards,

Alex:)

Max Patch
Copy patch and select New From Clipboard in Max.

Matteo Marson's icon

Hi Max,

You could try enabling @unique 1 for jit.movie(s). It prevents processing duplicate frames.
Also, make sure to use the viddll video engine.

Max Giesing's icon

Hello Matteo,

thanks again for your quick reply! Sorry for taking so long to answer, I've had some stressful days:,)
So! The unique 1 attribute really helped smooth things out, thanks a lot!
However when I try using the viddll engine, Max tells me it is not supported. I try to do so by giving the jit.movies the attribute @engine viddll. I'd love to understand, am I doing something wrong? Could it have something to do with me using Max4Live?

Have a nice day:)

Rob Ramirez's icon

you need to install viddll from the package manager, as it does not come installed in the windows version of Live's built-in Max.