Buffering Video To The GPU Video RAM


    Nov 28 2014 | 12:38 pm
    hello !
    After months of trying to playback, composite and process multiple video files from disk into one 720p matrix for audio synced rendering, i am officially giving up trying to do this on my CPU with the jit.matrix objects as its just to choppy.
    I have now started looking at using OpenGL to tackle the problem which has got me thinking that now would probably be a good time to a buy a dedicated GPU. So i was curious to know if it would be possible to read movie files into openGL and buffer these frames onto the Video Ram for speedy playback? If this would be possible then i would consider getting something like the GTX 760 with 4gb video Ram over the 2gb or 1gb version.
    I am pretty fresh to the video world so i just wanted to check i wasnt misunderstanding something before i shell out 300$ on a new card.
    ch33rs!
    TINY

    • Nov 28 2014 | 1:20 pm
      jit.gl.hap and the HAP codec work directly on the GPU. It supports the "loadram" message, but I don't know if it addresses the GPU ram or the system's. Maybe Rob Ramirez can answer this.
    • Nov 29 2014 | 4:48 pm
      Thxs LSKA for the suggestion, will definitely check out the jit.gl.hap object. Hopefully re-encoding all my content to HAP wont be to much of a hassle as I am on pc.
    • Apr 28 2018 | 9:08 am
      this is an old thread but... is there any solution to this? like a gpu-version of jit.matrixset? a video buffer on the gpu? or could one maybe build one with named textures and a counter assigning dynamic names to these textures? thanks for any leads! k
    • Apr 28 2018 | 9:16 am
      Check jit.gl.textureset in the Examples/jitter-examples/javascript/render folder
    • Apr 28 2018 | 9:23 am
      hi lska - this is exactly what i was thinking of, thank you for pointing me the way! k