Re: [osg-users] [osgPlugins] Write animation to mpeg or other video format
on linux you can use glc (google for "glc capture") for this task. on output you'll get either *.png's per frame, or uncompressed video. on encoding to more usable format you can check this page https://wiki.archlinux.org/index.php/GLC 08.03.2012, 20:33, "Zachary Hilbun" : > Hi, > > I want to be able to animate a scene and then write the images to an image > format such as mpeg or other format. > > Is this possible using OSG? > > If so, is there any documentation on how to do it or is this just one of > those "read the source code" things? > > Thank you! > > Cheers, > Zachary > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=46108#46108 > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Write animation to mpeg or other video format
Hi, Using osgDB::writeImageFile you can save an osg::Image to you hard drive, the format available will be depending on the plugins you have. To make this image, just use the viewer/camera to get the pixel buffer. Or simply use the screenCaptureHandler, you can find it in the examples, to obtain the base code to take screenshots. Regards, Vincent. Le 08/03/2012 17:33, Zachary Hilbun a écrit : Hi, I want to be able to animate a scene and then write the images to an image format such as mpeg or other format. Is this possible using OSG? If so, is there any documentation on how to do it or is this just one of those "read the source code" things? Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46108#46108 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] Write animation to mpeg or other video format
Hi, I want to be able to animate a scene and then write the images to an image format such as mpeg or other format. Is this possible using OSG? If so, is there any documentation on how to do it or is this just one of those "read the source code" things? Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46108#46108 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org