Hello again,
You might need to modify the address to make it work. The .ffmpeg is the
essential part.
There is a good example for files/devices in the osg cookbook.
Cheers
Sebastian
Hello Jay,
Have you tried the ffmpeg pseudoloader?
image = osgDB::readImageFile("udp://228.10.10.24:12345.ffmpeg");
image = osgDB::readImageFile( "Images/bouncing_beach_ball.png" );
osg::ImageStream* imageStream = dynamic_cast<osg::ImageStream*>(
image.get() );
if ( imageStream ) imageStream->play();
Cheers
Sebastian
Hello all,
I've been scouring the forums for this answer, but failed to find anything...
So here's the setup:
I have video stream on a multicast address using ffmpeg and the following
arguments
Code:
ffmpeg -framerate 30 -i desktop -b 900k -f mpegts udp://228.10.10.24:12345
I can go to another computer on the network, open a stream on VLC and view the
video.
The question:
How can I grab that video and "display" it on an object in an OSG environment?
I know that osgmovie can read from files, but how can i grab and render from a UDP stream?
The context:
I have an OSG-based image generator for a simulator. I want to have a "hovering
screen" in the view that displays streaming video. It allows custom plugin code
written in c/c++.[/code]
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67676#67676
_______________________________________________
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org