Preload videos into a buffer
Hi, I'm working on a project where I'm controlling video with a keyboard. MY patch isn't set up in the most efficient flow but it works. Here it is,
I want to know how I can buffer every video so that when I hit a key it plays instantly. Right now there is latency.
THANKS!
Latency in these situations is often due to hard drive speed and/or choice of codec.
These optimisations may help: http://abstrakt.vade.info/?p=147
The patch near the bottom of this thread will certainly help:
https://cycling74.com/forums/efficient-qt-clip-triggering-with-no-delays/
I'm not sure if hap is a good choice of codec for quick triggering but it is beneficial in other ways: https://cycling74.com/tools/jit-gl-hap/
If you want a quick fix and you have enough ram, use the loadram message to load the movies into ram. Think you can just load the first few frames if you want too.
Yea, I'm using Pro Res 422.
Thank you for the help! I will test them out when I get some free time.