Capturing JOGL animations into video (MPEG/AVI)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Capturing JOGL animations into video (MPEG/AVI)

Ayco
I have seen JOGL animations on YouTUBE, Vimeo and this site, but all JOGL tutorials only talk about how to create JOGL animations within an AWT window. So how then are these YouTUBE videos created? How I can capture/save the output of JOGL code into an MPEG or AVI file - rather than have it appear in an AWT/Swing app? Is there something like an "MpegOutputStream" that I can somehow write to using JOGL?

Can someone point me to some literature (or answers of course)?
Reply | Threaded
Open this post in threaded view
|

Re: Capturing JOGL animations into video (MPEG/AVI)

gouessej
Administrator
Hi

You can use Fraps under Windows, Xvidcap, recordmydesktop, ... under GNU Linux. Sven gave us a script to do that with ffmpeg and avconv, maybe he can help you.

I'm not sure you can use com.jogamp.opengl.util.av to do that.
Julien Gouesse | Personal blog | Website