0

I have a QGLWidget in which I am rendering a dynamic mesh. What I would like to do is to record a video of what I am viewing in this window. I would like to do it with the low-level multimedia libraries of Qt, if possible, or the high-level Phonon.

Many thanks for your ideas!

1 Answer 1

2

In the latest versions of QT you have a QGLFrameBuffer object, you can render to this offscreen and then simply convert to a QImage.

Then it's reasonably simple to use ffmpeg to ewncode each QImage into a video http://code.google.com/p/qtffmpegwrapper/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.