Hi David, a practical solution is to write frames using
https://code.google.com/p/osgworks/source/browse/trunk/src/osgwTools/ScreenCapture.cpp then to convert resulting frames to video using ffmpeg or one of free video editors. you might also use ffmpeg for real time encoding frames using approaches something like in https://github.com/neilmendoza/ofxMovieExporter/blob/master/src/ofxMovieExporter.cpp http://qgismapper.googlecode.com/svn-history/r59/trunk/mapper/video-capture/CompressThread.cpp http://vpman.googlecode.com/svn-history/r7/VPM/vc-video.cpp http://dvj.googlecode.com/svn-history/r580/trunk/src/LGL.module/LGL.cpp ( there are a lot of samples just search google in cpp files for av_write_frame ) I would recommend to setup FFmpeg video codec ( lossless codec FFV1) and later convert video to any desired format using ffmpeg ( ffv1 reduces hard drive access compared with raw images - but does not load cpu much ). Regards Sergey On Mon, May 27, 2013 at 6:10 PM, David Hornung <[email protected]> wrote: > Hi, > > did somebody already implemented a component to save the recent frames in a > video file in real time? > > The only solution I found was implemented using OpenCV > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2012-August/059394.html > > Are there any other solutions? (OpenCV is a little bit too huge just for > saving the frames to video file) > > Thank you! > > Cheers, > David > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=54225#54225 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

