quicktime-java

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: legal pixel formats for QDGraphics Jeremy Wood Wed Oct 15 14:01:00 2008


On Oct 14, 2008, at 2:42 PM, Jason Proctor wrote:

thanks for the response.

the exception i quoted comes is thrown by the QDGraphics constructor. i'm using the constructor which takes a pixel format and an image size. literally my application does this -

QDSession.open ();
QDRect bounds = new QDRect (320, 240);
QDGraphics gworld = new QDGraphics (kYVYU422PixelFormat, bounds);

- and throws there.

Confirmed. Which may not be as helpful as other responses you were looking for, but that's all I have. :)

A couple of formats that begin with YUV do not throw exceptions (kYUVUPixelFormat, kYUVSPixelFormat). Are those workable formats?

I'm out of ideas. The code I referenced will pull in RGB BufferedImages. If you could wire ffmpeg to accept an RGB image, then that would be useful. Otherwise -- using the only working code I know to capture video from iSight in Java -- you'd have to perform a conversion from RGB -> YVYU422 (or similar) yourself.

Maybe someone else on the list can offer more useful comments?

Regards,
 - Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]