GPU not CPU Jit.Mov (Noob Question)

njw's icon

Hi All,

Is there an argument I can give either jit.mov or jit.window so that when video files playback they use GPU not CPU?

I have simple video playback patch that loads four videos into 4 jit.mov players then plays them to separate jit.windows for a multiscreen output. It's overloading my CPU yet I have a Radeon 460 installed and it isn't using the GPU at all according to Activity Monitor.

I'm new to Jitter so apologies for the noob-ness of my question.

All help is much appreciated.

Nick

Dante's icon

jit.movie takes the argument @output_texture 1

you can read more about GPU stuff in the jitter best practices series and the reference manual under GL texture output.

https://cycling74.com/tutorials/best-practices-in-jitter-part-1

njw's icon

Thanks Dante, this has solved the problem. Much appreciated.

For the record, I also had to switch my jit.windows for jit.world objects. I now have much more efficient video playback at a higher frame rate.

Cheers,

Nick