<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
Hello Jay, <br>
<br>
Have you tried the ffmpeg pseudoloader?<br>
<br>
<span class="postbody">image =
osgDB::readImageFile("udp://228.10.10.24:12345.ffmpeg");<br>
image = osgDB::readImageFile( "Images/bouncing_beach_ball.png" );
<br>
<br>
osg::ImageStream* imageStream =
dynamic_cast<osg::ImageStream*>( image.get() );
<br>
if ( imageStream ) imageStream->play();<br>
<br>
Cheers <br>
Sebastian <br>
</span>
<blockquote cite="mid:1466200220.m2f.67676@forum.openscenegraph.org"
type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://forum.openscenegraph.org/viewtopic.php?p=67676#67676">http://forum.openscenegraph.org/viewtopic.php?p=67676#67676</a>
_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>