Re: [osg-users] photos to be displayed in sequence
hi Robert, Then we go the best solution is to convert images into a video format using ffmpeg? but ffmpeg is added to OSG comeplugin or an external software? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8069#8069 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] photos to be displayed in sequence
Hi Salvatore, On Sun, Mar 8, 2009 at 12:02 PM, salvatore osgfo...@tevs.eu wrote: Then we go the best solution is to convert images into a video format using ffmpeg? but ffmpeg is added to OSG comeplugin or an external software? Using ffmpeg to create video is something completely independent of the OSG. You can use other 3rd party tools to creating videos. This really is beyond the remit of this community though, we aren't video creation experts, go do some searches online for tutorials on how to convert a sequence of images to video. The new ffmpeg plugin in SVN is only for reading video, but isn't the only route to reading video - there is the xine-lib plugin under Linux, and the Quicktime plugin under OSX and Windows. These other video reading plugins have been in the core OSG for a number of years. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] photos to be displayed in sequence
HI Salvatore, Basic maths tells us that you won't be able to fit all these photo's in memory. The only way you could do it is to page them. osg::ImageSequence does support paging, so add the filename rather than the image. Next up, tga won't be the best format for paging. A movie format would be better, for instance you could convert the data using something like ffmpeg, rendering to a format such as h264 or ogg, then just use one of the OSG's movie reading plugins to read it. Robert. On Thu, Mar 5, 2009 at 8:04 PM, salvatore osgfo...@tevs.eu wrote: hello Robert, I have 40,000 photos in tga format with 1400x1050 definition and a frame rate of 30 fps, the load in this way: imageSequence- addImage (osgDB:: readImageFile (hh3fcenter/immage_.tga)); in the various attempts I have tried with 240 photos and goes very badly, I thought to pack 30 photos in a knot so as to obtain the nodes that represent a second, but I do not know how to play these nodes so that the sequence is continuous, thanks in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8013#8013 ___ 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] photos to be displayed in sequence
Hi Salvatore ? take a look into this thread: Streaming of high resolution images (http://forum.openscenegraph.org/viewtopic.php?t=1630) You could find more info there. cheers, art -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8006#8006 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] photos to be displayed in sequence
hello Robert, I have 40,000 photos in tga format with 1400x1050 definition and a frame rate of 30 fps, the load in this way: imageSequence- addImage (osgDB:: readImageFile (hh3fcenter/immage_.tga)); in the various attempts I have tried with 240 photos and goes very badly, I thought to pack 30 photos in a knot so as to obtain the nodes that represent a second, but I do not know how to play these nodes so that the sequence is continuous, thanks in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8013#8013 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] photos to be displayed in sequence
So you need @ minimum168 Mb/sec streaming bandwidth from your hard discs That's not utterly insane, but many older PC's won't be able to deliver that sort of bandwidth. On my current machine the burst transfer rate from cache (ie memory to memory copy) is only 184 Mb/sec. Reading from HD I only get 60 Mb/sec at peak so I couldn't run your program smoothly even if you haven't made any mistakes... If you want your program to work on anything other than very high end machines, you are going to have to change to a compressed image format. 2009/3/5 salvatore osgfo...@tevs.eu: hello Robert, I have 40,000 photos in tga format with 1400x1050 definition and a frame rate of 30 fps, the load in this way: imageSequence- addImage (osgDB:: readImageFile (hh3fcenter/immage_.tga)); in the various attempts I have tried with 240 photos and goes very badly, I thought to pack 30 photos in a knot so as to obtain the nodes that represent a second, but I do not know how to play these nodes so that the sequence is continuous, thanks in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8013#8013 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- http://www.ssTk.co.uk ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org