JacksBurningRage
Programmer
Hi all,
I've got a Pyro webcam that is capable of streaming video in RGB or YUV format. I've been using Quicktime to get this video and stream it to the display.
I want to get video in RGB format and then perform operations on it. However, it looks like Quicktime is getting the video from the camera in YUV format and then performing a conversion on it to get it to RGB format. I'm trying to optimise the code as much as possible so I'd like to get the video from the webcam in RGB format and avoid the conversion process.
Does anybody know whether the Quicktime framework allows a program to ask for a specific video type from a webcam? Also, if it does, how do you do it?
Thankyou in advance,
Josh.
I've got a Pyro webcam that is capable of streaming video in RGB or YUV format. I've been using Quicktime to get this video and stream it to the display.
I want to get video in RGB format and then perform operations on it. However, it looks like Quicktime is getting the video from the camera in YUV format and then performing a conversion on it to get it to RGB format. I'm trying to optimise the code as much as possible so I'd like to get the video from the webcam in RGB format and avoid the conversion process.
Does anybody know whether the Quicktime framework allows a program to ask for a specific video type from a webcam? Also, if it does, how do you do it?
Thankyou in advance,
Josh.