So I've been making a patch that plays videos using GEM, I want to play a video forwards and then play it backwards once the total number of frames is reached. The idea is to have a video that loops on repeat forwards and backwards. However, I've found that CPU rises dramatically when the video plays in reverse and everything slows down and gets jerky. I've also found a similar problem when I use [random] or [drunk] to change the frame number of the video. CPU rises dramatically and everything gets jerky. I'm also running audio at the same time but the problem persists even if audio is not playing.
I'm wondering if there's a simple solution to fixing this problem. It seems like GEM should be able to handle incoming frames that are not moving forward sequentially.
I'm running on a Macbook Pro (late 2011) with 16GB of RAM.