| Article: |
The Return of the Blue Q | |
| Subject: | Can't you just use the getMovie() Method of Sequence Grabber? | |
| Date: | 2004-06-15 14:31:57 | |
| From: | CyrusMobasheri | |
|
Can't you just use the getMovie() Method of Sequence Grabber, and use this Movie Object in the following line?
|
||
Showing messages 1 through 1 of 1.
-
Re: Can't you just use the getMovie() Method of Sequence Grabber?
2004-06-16 05:19:18 Chris Adamson |
[View]



Here's the critical section of some test code I wrote:
Run this with a camera attached (I'm using an iSight) and here's the output (line breaks inserted for clarity):
So, we have some low-level access to the camera pixel data via the video channel, but trying to use high-level concepts like the Movie bomb out: we can't even println it! And taking out the println doesn't help - you'll just get more QTNullPointerExceptions later on when you try to idle the SG.
I hope to be back soon with a piece on what you can and can't do with QTJ capture. In the meantime, file a bug on QTJ capture being broken. Apple says volume of bug reports is a key determinant of where they apply development effort.
--Chris