Re: [osg-users] Playing video in YUY2 pixel format.

2009-12-14 Thread Robert Osfield
Hi Alessandro, The OSG just supports pixel formats supported by OpenGL and YUY2 is not something support by OpenGL, one has to convert to RGB, RGBA, A, Luminance etc. Robert. On Sat, Dec 12, 2009 at 10:20 AM, alessandro terenzi a.tere...@gmail.com wrote: Hello, I'm trying to play a video

Re: [osg-users] Playing video in YUY2 pixel format.

2009-12-13 Thread J.P. Delport
Hi, I'm guessing here, but I think the YUY2 is probably converted to RGB in the input plugin (are you using ffmpeg?). jp alessandro terenzi wrote: Hello, I'm trying to play a video whose pixel format is YUY2...I'm using an ImageStream to play the video but when I set its data to point to

[osg-users] Playing video in YUY2 pixel format.

2009-12-12 Thread alessandro terenzi
Hello, I'm trying to play a video whose pixel format is YUY2...I'm using an ImageStream to play the video but when I set its data to point to the current frame's data my program crashes. I suppose it is because I'm not using the correct pixelFormat when I first created the ImageStream. My question