How to Record GL video + MSP audio in Hidef?

sabo's icon

Hi C74 aficionados - I would like to record live jitter manipulation to music in OpenGL to have promotional videos for my art. Every time I have tried using the lackluster jit.vcr, by first rendering to a matrix then sending that matrix to jit.vcr, the result has been disgusting. The video is very pixelated and of terrible quality. This is at 1080x720 resolution. How can I record directly from OpenGL rendering?

If there is not a way to record directly from OpenGL, what is the best resolution and codec to use for the highest quality of GL rendering?

Thanks for any help :-)

David Beaudry's icon

There's an amazing duo that I've been using to capture at 720p (1080p, too). It uses Syphon, so mac only: Syphon Recorder & Syphon Screen Capture.

it does record audio, but you have to loop output to input (i.e. connect a cable from your audio output to audio input). a bit kludgy, but it does work.

David

hons's icon

i usually use a combination of jit.gl.asyncread and jit.qt.record -
set the jit.qt.record dim to the same dim as your jit.window (the one you render to, (message getsize to your window dumps out the current size).

apple_prores_422 is a high quality codec that does not need too much cpu power (large files, but fast), so i usually take this one.
use the "getcodeclist" message to jit.qt.record (or vcr) to see if it´s installed.

i never used jit.vcr, but shouldn´t it work similarily? maybe you just did not set the dim of jit.vcr - just guessing..

hons

tada's icon

there is a program called fraps for windows which does excellent job on openGL graphics on windows...and is also very easy in ude...

Garrett's icon

Seperate app on a mac, I use IShowU HD, very reliable, can compress to h.264.

zhiwan's icon

hello. i set up a jit.gl.asyncread and jit.qt.record patch to record but i noticed that my recordings are always recorded at twice the speed. so for instance, if i record for a minute, the movie will be 30sec long and played at 2x speed. does this happen to anyone else?

jhdkfj39929's icon

@hons and others. I am also interested. I cannot write prores on Windows but can do DNxHD (an equivalent) or Cinepack (better). But how can I control the settings? Or choose one of the codecs from the overall family (all three above have multiple family members)? All of these codecs have many different options and I do not see them exposed within MAX interface. "lossless, max, min, low, normal, or high" is not enough.

Thanks for sharing the experience.

dolphinazz's icon

I have the same issue on recording audi/visual work - Audio and OpenGL rendered screen. Can anyone show any screen capture about how to connect the objects - jit.gl.asyncread and jit.vcr.. might be that it can be OK just to connect cable from jit.gl.asyncread directly to the rightmost inlet of jit.vcr? For me, it doesn't work. And I tried all examples of 'jit.gl.rendertomatrix', but not working properly.

Or, if I buy 'IshowU HD/ IshowU studio', then do I need to do something else to record 'audio and screen' ?

Thanks for any help~~!!

Jesse's icon

Syphon recorder is really the best option on a Mac - nothing comes close. If you want very high quality recordings without any additional load on your computer then an external recorder is needed.

ctrlzjones's icon

nothing beats syphon.
thanks Vade for that.

if you want sound: hardwire (yes, plug one of those cables) your 'audio out' to 'audio in'. kind of awkward but thats the way it works.

Andro's icon

Sound can be recorded directly into syphon if using soundflower.
Sound out soundflower 1
Recieve sound soundflower 1
Then your audio codec settings work and theres no sync issues later.