Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3981

splitting a video into separate textures

$
0
0

hi! I was wondering if anyone had any advice here.. I have a large master video that contains a grid of smaller videos. I need to split this up into pieces and move them around individually.

My thought was to set up an off screen canvas element for each sub-video, then each frame drawImage the pixels into each canvas element. Then set up textures that read from the canvas elements, and add those to sprites.

I'm wondering if this is a bad idea, as I need to push the updated nPot canvas/textures to the GPU every frame.. Any other ideas for how to set this up?

 

thanks!


Viewing all articles
Browse latest Browse all 3981


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>