[Pyobjc-dev] GetMovieTime() from quicktime movie
Brought to you by:
ronaldoussoren
From: Birch B. <b.b...@cs...> - 2004-03-17 18:15:00
|
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 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) self.results.insertText_(s) 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 -- Birch P. Browning, Ph.D. Assistant Professor of Music Education Cleveland State University |