[osg-users] OSG rendering to live video stream

Chris Hanson xenon at alphapixel.com
Thu Sep 10 09:10:41 PDT 2015


Basically, you'd just Render To Texture and then feed that image to a
memory-sourced encoder. There's sample code here for a desktop-to-ffmpeg
ecode:
http://stackoverflow.com/questions/29341161/encode-h264-video-using-ffmpeg-library-memory-issues

You'd set up your encode options using options like these specified here:
https://trac.ffmpeg.org/wiki/EncodingForStreamingSites

in order to stream to a live streaming site of your choice.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150910/40406bc0/attachment-0003.htm>


More information about the osg-users mailing list