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 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 is: among the pixel formats supported by OSG, which one (if any) is supposed to be used to handle YUY2 format?

Thanks in advance.
Alessandro


------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to