Re: [osg-users] [osgPlugins] UDP Video Multicast Stream onto OSG object

2016-06-18 Thread Sebastian Messerschmidt


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




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


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


Re: [osg-users] [osgPlugins] UDP Video Multicast Stream onto OSG object

2016-06-18 Thread Sebastian Messerschmidt


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


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


Re: [osg-users] MSVS2015 3rdparty build

2016-06-18 Thread Carl-Gustaf Kung

bbjorn wrote:
> 
> memory_leak wrote:
> > J :-) and I as well commented on that include defined and possibility 
> > that my script maybe messed up includes after I checked it up for the post 
> > above, if you read the text you quoted  It is not important, but I 
> > don't think Linux people would use your modified getopt.c build which is 
> > intended for sole purpose of windows build, and should probably not use 
> > strings.h either since it is an obsolete header predating standard, but 
> > that just as curiosa .-)
> > 
> > Anyway thanks for hjälp with your cmakes.
> 
> 
> You're welcome. 
> 
> And just as a side note. The getopt.c is certainly not something that I have 
> written. It is verbatim from:
> https://gist.github.com/ashelly/7776712
> 
> And it is included due to having to include unistd.h.
> 
> Regards
> Björn

Björn ingen är idiot. I know you haven't writen getopt, I am a 20 year+ linux 
user and programmer I am quite aware where getopt comes from. I didn't 
insinuate it either :). But your getopt.c and stbool etc are there so you can 
compile with visualstudio since certain includes are not shipped with ms 
compiler. So those few files certainlyu wouldn't broke stuff for "linux people" 
:-). But id does not matter, let's just leave that behind. Cheers.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67679#67679





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


[osg-users] How ca a subset of an vertex array marked as dirty ?

2016-06-18 Thread Mathias Schiwago
Hi,

my geometry has a quit large vertex array and uses VBOs. I want to update just 
a small subset of the array with new coordinates and let's OSG update the VBO 
accordingly. 

How can this be done without using direct OpenGL API ? 

I am using OSG 3.2.0.

Thank you!

Cheers,
Mathias

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67669#67669





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


[osg-users] [osgPlugins] UDP Video Multicast Stream onto OSG object

2016-06-18 Thread Jay Kemper
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org