[osg-users] OSG rendering to live video stream

2015-09-10 Thread Trajce Nikolov NICK
Hi Community,

I am wondering if someone knows the way to create live stream from OSG
rendering probably in combination with ffmpeg + ffserver, or any other way
- cross-platform preferred though

Thanks a bunch as always,

Cheers,
Nick

-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG rendering to live video stream

2015-09-10 Thread Chris Hanson
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.
​
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG rendering to live video stream

2015-09-10 Thread Trajce Nikolov NICK
Thanks Chris!

Nick

On Thu, Sep 10, 2015 at 6:10 PM, Chris Hanson  wrote:

> 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.
> ​
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG rendering to live video stream

2015-09-10 Thread Chris Hanson
No worries. Would be interested to know what you're going to do with it.

On Thu, Sep 10, 2015 at 11:25 AM, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:

> Thanks Chris!
>
> Nick
>
> On Thu, Sep 10, 2015 at 6:10 PM, Chris Hanson 
> wrote:
>
>> 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.
>> ​
>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
>
> --
> trajce nikolov nick
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG rendering to live video stream

2015-09-10 Thread Chris Hanson
Oohh! I'll use the secret handshake then! ;)​
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG rendering to live video stream

2015-09-10 Thread Trajce Nikolov NICK
TOP SECRET :-)))

Will ping you privately :-)

Nick

On Thu, Sep 10, 2015 at 7:39 PM, Chris Hanson  wrote:

> No worries. Would be interested to know what you're going to do with it.
>
> On Thu, Sep 10, 2015 at 11:25 AM, Trajce Nikolov NICK <
> trajce.nikolov.n...@gmail.com> wrote:
>
>> Thanks Chris!
>>
>> Nick
>>
>> On Thu, Sep 10, 2015 at 6:10 PM, Chris Hanson 
>> wrote:
>>
>>> 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.
>>> ​
>>>
>>> ___
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>
>>
>> --
>> trajce nikolov nick
>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4
> • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Legal/IP • Code Forensics • Digital Imaging • GIS • GPS •
> osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
> iPhone/iPad/iOS • Android
> @alphapixel  facebook.com/alphapixel (775)
> 623-PIXL [7495]
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org