Please forgive me if I've gone about this the wrong way. I'm still quite
a newbie to pyobjc. I think I know just enough to be dangerous.
I'm developing a research application for evaluating pre-service
teachers (I have to get tenure!). The application is all set with the
exception of extracting time data from the quicktime file. I've seen it
done in cocoa/objc (see nsmovie_example at
http://www.macdevcenter.com/pub/a/mac/2003/08/15/quicktime_cocoa.html) but I
can't quite figure out how to translate this to pyobjc.
If I do:
m = self.movie.QTMovie()
s = str(m)
I can see that m is a QT.Movie object. Doing this, however, also
promptly crashes the application.
I've tried adding Movies.h to the nib file, but the NibClassBuilder
doesn't seem to recognize it. Consequently, 'import Movies', 'import
QuickTime' and 'from Quicktime import Movies' all fail.
Any suggestions, including help translating the nsmovie_example
referenced above, would be greatly appreciated.
Birch P. Browning, Ph.D.
Assistant Professor of Music Education
Cleveland State University
On 17-mrt-04, at 18:58, Birch Browning wrote:
> Please forgive me if I've gone about this the wrong way. I'm still
> a newbie to pyobjc. I think I know just enough to be dangerous.
You're lucky ;-), I thought you ran into a PyObjC bug and I wanted to
The attached archive contains two python files: main.py is the
translation of the Objective-C source-code into python, buildapp.py can
be used to build the application.
Copy both files into the Objective-C example tree and then run 'python
This should create 'build/NSMovie_Example.app', which seems fully