Recording Video from openGL on Windows

jko's icon

Dear all

I'm having problems recording openGL generated scenes to a movie file. It is on windows 10 btw.

  • Using matrixoutput on jit.world or camera slows down things obviously.

  • Using jt.gl.asyncread does not work with fsaa 1, the output matrix only holds a small representation of the rendered scene (1/4 in size) as already mentioned here: https://cycling74.com/forums/jit-gl-asyncread-and-fsaa. I need to use fsaa as otherwise a lot of things look bad. Also size is enormous when main video window is in fullscreen so framrate drops too. I tried different OpenGL Readback settings but who knows how they differ anyway, does not seem to change anything though.

  • Using the alternate way as described in that same thread (using jt.gl.sketch and glreadpixels) does not work on Windows as the output matrix is blue (also reported here: https://cycling74.com/forums/jit-gl-sketchglreadpixels-produces-blue-image-on-windows)

  • I can not find any recording app for use with spout, that would have been another guess.

  • I already just used a digital camera to and filmed my screen but.... really?

Any Ideas what else could work?
Thanks for your ideas!

Pedro Louzeiro's icon

Hi,
Have you tried this one? - https://www.youtube.com/watch?v=OfPbr1mRDuo
Let me know if it worked for you.
Cheers,
Pedro

Pedro Santos's icon

Free and I seem to remember that it can accept Spout (cam) as an input:
https://obsproject.com/

jko's icon

Thanks a lot!

Windows XBox build Recorder seems to work with very good quality and quite resourcefriendly on my first experimentations.
I did not try the obsproject as I found to many inconviniences when capturing with a jit.gl.node related to blending and fsaa on my further researches yesterday.

Pedro Santos's icon

That's great that Windows builtin video capture is doing a good job!
Just to clarify, you don't need jit.gl.node to use OBS (Open Broadcast Studio). It works as a regular screen recording software. You would only need that if you wanted to use Spout as its input.

jko's icon

Ah OK Pedro, got you wrong here, thanks again.

For anyone starting on this some small hints:
I was able to record some heavy mesh stuff @60fps / 1920*1064 px with pretty decent image quality, all kind of blend modes, opaque erase color, fsaa and subrender slab chains using a nvida gforce gtx 960m :-)

  • Your jit.window must not be floating, fullscreen works

  • Disable "Record in Background" in your xbox recorder settings!

  • You may reroute your msp audio (eg loopback as in rme totalmix) to record your audio alongside, but the audio quality is poor even with the highest settings so better record audio along in msp and mux it in later.

  • Your resolution will be determined by the jit.window size, settings on your window do not seem to have an impact.


Pedro Louzeiro's icon

I'm glad it worked and thanks for the feedback!

Rob Ramirez's icon

thanks for sharing this info everyone, very useful!