Re: QT movies...
Re: QT movies...
- Subject: Re: QT movies...
- From: Vince DeMarco <email@hidden>
- Date: Mon, 10 Dec 2001 10:57:18 -0800
On Sunday, December 9, 2001, at 06:47 pm, Ondra Cada wrote:
Hallo all,
anybody happens to have some half-decent Cocoa wrapper for QT movies?
I need relatively little:
(a) to load a QT movie;
(b) to get some quite basic info of the movie, like
- length in frames
- frame rate
- frame size
(c) to cut out N-th frame from the movie into an NSImage;
(d) to play the movie on screen, being notified when it ends.
Seems the NSMovie can't do anything but (a), and with NSMovieView the only
way to do (d) is to poll it every few ticks whether it still -isPlaying..
.
Besides, the class seems to be kinda buggy :(
Or look at the example on the machine.
/Developer/Examples/InterfaceBuilder/bMoviePalette
There is a bunch of code that does this. It also has some simple movie
editing code, insert a movie etc...
vince