On 28 Jul, 2011, at 18:17, Damiano ALBANI wrote: > 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.
The test case looks correct, which means this is likely a problem with PyObjC's metadata (which describes features of the Cocoa API that cannot be extracted from the ObjC runtime). I'll look into this during the weekend. Ronald > > Thanks, > > -- > Damiano ALBANI > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG