Re: [osg-users] Playing smoothly a big video

2010-04-12 Thread Serge Lages
Hi Bruce, We've tested the same code I posted (the Main.cpp) without modifications. About the cards, we're using 2 NVidia GTX 285, with the latest drivers from the NVidia website. Cheers, On Sat, Apr 10, 2010 at 10:34 PM, Bruce Wheaton br...@spearmorgan.comwrote: Thanks for reporting back

Re: [osg-users] Playing smoothly a big video

2010-04-10 Thread Bruce Wheaton
Thanks for reporting back Serge - glad that's working for you. Sorry I didn't have time to test on my Linux rig. Was the technique the same as your Main.cpp example, as posted, or did you have to do any extra tricks? Also, what graphics cards and drivers are you using? That makes a big

Re: [osg-users] Playing smoothly a big video

2010-03-29 Thread Serge Lages
Hi all, Some news on this topic, we've tested on Linux : same hardware (2 GTX285 and 4 screens), same video, same code, an ubuntu 9.04 configured with 4 screens, with VSync enabled we've got a solid 60fps... Without VSync it goes between 150 and 300fps. So we've got our solution, we'll make our

Re: [osg-users] Playing smoothly a big video

2010-03-25 Thread J.P. Delport
Hi Serge, Serge Lages wrote: Hi all, Still having problems playing my big video. Here is our current state : - On a single screen setup (with only one GT 220 GeForce), with a composite viewer and 4 windows (450x800 each window), it plays smoothly at 60 fps with a fluid video, no problem

Re: [osg-users] Playing smoothly a big video

2010-03-25 Thread Serge Lages
Hi JP, Thanks for your reply, we've tested to share the contexts but it wasn't much better. Cheers, On Thu, Mar 25, 2010 at 9:24 AM, J.P. Delport jpdelp...@csir.co.za wrote: Hi Serge, Serge Lages wrote: Hi all, Still having problems playing my big video. Here is our current state : -

Re: [osg-users] Playing smoothly a big video

2010-03-23 Thread Serge Lages
Hi all, Still having problems playing my big video. Here is our current state : - On a single screen setup (with only one GT 220 GeForce), with a composite viewer and 4 windows (450x800 each window), it plays smoothly at 60 fps with a fluid video, no problem here. - On the destination setup :

Re: [osg-users] Playing smoothly a big video

2010-03-23 Thread Bruce Wheaton
Serges, I do something similar - at least with the multiple GPUs, and multiple videos. I have a machine here with very similar spec running Linux, I could maybe try your code tomorrow. On a side note, we had problems with frame rate fluctuations on our previous (heavily threaded)

Re: [osg-users] Playing smoothly a big video

2010-03-11 Thread Serge Lages
Hi all, Thanks for your advices. About the current setup, we're using only one screen with a 9800GT card (and 4 windows) for our tests, but the final setup will be composed of 2 9800GT cards and 4 screens. I'll let you know how our tests goes. Cheers, On Thu, Mar 11, 2010 at 8:28 AM, J.P.

[osg-users] Playing smoothly a big video

2010-03-10 Thread Serge Lages
Hi all, We currently need to play a big video (approximately 5500*800) on 4 screens within an OSG application (we use a composite viewer), so we've tried : - Cut the video in 4 parts, but it seems really hard to synchronize the 4 streams. - Decode directly the big file, resulting with a very big

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread J.P. Delport
Hi Serge, Serge Lages wrote: Hi all, We currently need to play a big video (approximately 5500*800) on 4 screens within an OSG application (we use a composite viewer), so we've tried : - Cut the video in 4 parts, but it seems really hard to synchronize the 4 streams. - Decode directly

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Serge Lages
Hi JP, Thanks for your answer, and we don't need sound. By a fast disk, what do you recommend ? Your ffmpeg reader is based on the current OSG plugin or is it a custom one ? About our file, with some codecs and adjustments on the bitrate, we're able to play it with VLC without problems, so I

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Robert Osfield
Hi Serge, On Wed, Mar 10, 2010 at 4:11 PM, Serge Lages serge.la...@gmail.com wrote: About our file, with some codecs and adjustments on the bitrate, we're able to play it with VLC without problems, so I think the reading part can be handled by the ffmpeg plugin with only one file, but then we

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Serge Lages
Hi Robert, We've tried with only one texture and the fps drops to 15 approximately with a modern computer (GeForce card). Maybe the problems comes from having one texture shared on 4 contexts and only one card, on the final setup we'll have 2 graphic cards. On Wed, Mar 10, 2010 at 5:17 PM,

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Robert Osfield
Hi Serge, On Wed, Mar 10, 2010 at 4:29 PM, Serge Lages serge.la...@gmail.com wrote: We've tried with only one texture and the fps drops to 15 approximately with a modern computer (GeForce card). Maybe the problems comes from having one texture shared on 4 contexts and only one card, on the

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Serge Lages
Thanks for your advices Robert, anyone had some success on configuring and sharing graphic contexts on Windows 7 ? We'll also try the 4 images based on one big image and let you know how it goes. Cheers, On Wed, Mar 10, 2010 at 5:43 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Serge,

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Chuck Seberino
Serge, One other item that hasn't been explicitly mentioned yet is pixel packing. You want to make sure that the graphics card does as little with the source image as possible to get it into the OpenGL pipeline. Make sure that your on-disk pixel format is something that is on the fast path.

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread Jason Daly
Serge Lages wrote: Hi Robert, We've tried with only one texture and the fps drops to 15 approximately with a modern computer (GeForce card). Maybe the problems comes from having one texture shared on 4 contexts and only one card, on the final setup we'll have 2 graphic cards. Four screens

Re: [osg-users] Playing smoothly a big video

2010-03-10 Thread J.P. Delport
Hi, Serge Lages wrote: Hi JP, Thanks for your answer, and we don't need sound. By a fast disk, what do you recommend ? We have a raid0 setup that can sustain 150MB/s. Your ffmpeg reader is based on the current OSG plugin or is it a custom one ? It's a custom one, but not complicated.