I just joined up, good to be here. I used to write OpenGL games when I was 17-18 but other things got in the way (25 now). Now I’m back! But in a different context.
I am writing an application that renders images, then passes these images to FFMpeg to create an mpeg video of what I’ve rendered. This means I don’t actually have to render to the screen. In fact I need the information in YCrCb format, so I render the image, ‘get’ the RGB data, convert to YCrCb and continue the next frame. When all frames have been processed I pipe it to FFMpeg as ‘yuv4mpeg’ format.
Can I set up OpenGL such that it isn’t rendering to a window, but rather only a buffer? Ideally the application shouldn’t have a window at all.
If I want to do this in parallel, can OpenGL render as above without crazy performance expense in ‘switching contexts’?
Thanks for any help you can offer.