quicktime-java

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

legal pixel formats for QDGraphics Jason Proctor Mon Oct 13 19:01:13 2008

hi,

(quiet in here...)

i'm trying to stream YUV from the MacBook Pro camera to an encoding process which is basically a pipe to ffmpeg.

problem is i'm getting the following exception -

quicktime.qd.QDException[QTJava:7.5.5g],-157=cDepthErrInvalid,QT.vers:7558000

- with some pixel formats and i don't really know why. ideally i'd use kYVYU422PixelFormat or kUYVY422PixelFormat, or even kYUV411PixelFormat, but all of these throw the exception. in fact, almost anything that i specify which has a near match with ffmpeg's YUV support causes QT Java a problem!

i kinda settled on kYUVUPixelFormat, but this reproducibly crashes the VM after calling my SGDataProc a few times.

what's going on? any help appreciated.

tx
j

_______________________________________________
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]