gpu videoplayer with xfade

gpuplayer_xfade_tool1.zip
zip
phiol's icon

Hi all,
I would like to share a nice little tool with y’all.
It’s a brand new Max7 poly~ videosampler with xfade capabilities.
Do to the fact that we can now name textures directly in [jit.movie] and have a @drawto ctx_name,
making a gl poly~ videoplayer was possible :-).
Each poly voice and texture name are automatically created and preloaded when you drop the folder :-)
I did this one quite a few months ago and thought it was time to share with you.
I find it practical for many types of projects
It even works well with 4k HD videos @60fps etc…
Runs well in Max 64 bit mode.
It’s presently set for you to simply drop a folder filled with mp4 & .mov types files.

Hope you envoy.
Let me know if anything goes wrong.

phiol

hollyhook's icon

awesome!
thank you

Florent Ghys's icon

Thanks for sharing this, PHIOL, this is great!!

It looks like using the message "asynread" instead of "read" makes your patch way faster when loading folders with many videos.

Also, it looks like you're triggering the videos twice. In your sub-patcher "targetA" you're triggering the current instance of poly~ and then stopping the previous one. But you're also stopping all the instances and starting the current one in the part of your patch that is labelled "this section makes sur all voices are stopped & that only the last selected voice is playing".

Are you sure there is no way to output two videos from your poly~ instead of using jit.gl.node? Maybe using the forward object linked to thispoly~?

One last question: why are you not turning off the DSP in the instances that are not used? Could it make this patch more efficient?
Or turning off DSP for jitter objects doesn't really do anything?

thanks for sharing again!
Florent

phiol's icon

check out this link , the patch was updated several times

Florent Ghys's icon

great! sorry I missed this.
I tweaked your patch to quantize the playback with a metronome, so instead of start/stop I'm using frame $1. Will share it when it works 100%

Gary Lee Nelson's icon

Just what I have been looking for but it's all locked up. I want to study it and make modifications for my own work. Can you send me the patch unlocked?

Thanks,
Gary

Florent Ghys's icon

what do you mean locked in?
https://1cyjknyddcx62agyb002-c74projects.s3.amazonaws.com/files/2016/08/gpuplayer_xfadeV2.1multiple.zip

phiol's icon

Gary, check this link I believe the latest version is in this one
https://cycling74.com/forums/tool-gpu-xfade-player

Let me know what you intend and I can't it on my computer.

this might also be of interest

https://cycling74.com/forums/jit-gl-polytexture-jit-gl-polymovie

Published

Creative Commons License

Author