[Pythonmac-SIG] Issue with QTKit + CoreVideo usage
Damiano ALBANI
damiano.albani at gmail.com
Thu Jul 28 18:17:17 CEST 2011
Hello,
In the context of prototyping a GStreamer plugin, I'm trying to use the
QTKit API in Python to capture from a video source.
On the overall, it works, I can grab frames and save them as files for
instance.
Now, I'd like to access low-level frame data but I didn't managed to do it
in Python.
I've uploaded a simple test case on "http://pastebin.com/kyhggtWM".
Here are the kind of messages that I get, each time the function
"captureOutput_..." is called:
...
2011-07-28 18:01:51.101 Python[446:580b] PyObjCPointer created: at
0x1033103d0 of type {__CVBuffer=}@@
2011-07-28 18:01:51.102 Python[446:580b] *** Ignoring exception: Class
OC_PythonObject: no such selector: _cfTypeID
...
Any idea what I'm doing wrong here? I'm new to the world of PyObjC so I
might be forgetting to import stuff or something trivial like that.
BTW, I'm using Mac OS X 10.6.8.
Thanks,
--
Damiano ALBANI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110728/c843858a/attachment.html>
More information about the Pythonmac-SIG
mailing list