I just actually finished a work with ffmpeg and streaming videos from OSG
rendering. You just capture the single images as Jan suggested - based on
the osgscreencapture example, and then pass the captured osg::Image to
ffmpeg - you dont have to do it frame by frame into file and use he offline
ffmpeg utilities, you can do it directly from the code - see online samples
for this, there are plenty

Nick

On Wed, Sep 30, 2015 at 6:09 PM, Jan Ciger <[email protected]> wrote:

> See the FAQ:
>
>
> http://www.openscenegraph.com/index.php/support/faq#HowdoIcaptureascreengrab
>
> If you want to record a video, just record the individual frames into
> files and then use ffmpeg utilities to combine these into a video.
>
> If you don't want to do that, use Google - there are plenty of screen
> capture tools around (Fraps, BandiCam ...).
>
> J.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to