I have a rough solution that calls FFMpeg from Processing to capture directly to video from OpenGL sketches. https://forum.processing.org/topic/realtime-sketch-output-video-capture
I may improve it in the future. If you want to tweak it or use it as is feel free.
I may improve it in the future. If you want to tweak it or use it as is feel free.