Re: QTKit problems - add audio to movie blits to screen!?!
Re: QTKit problems - add audio to movie blits to screen!?!
- Subject: Re: QTKit problems - add audio to movie blits to screen!?!
- From: Tim Monroe <email@hidden>
- Date: Mon, 9 Jan 2006 15:38:05 -0800
On Jan 7, 2006, at 3:16 AM, Lunatic Senator wrote:
The following line of code causes the last frame written to the
QTMovie to be blasted to the screen. The frame, curiously enough, is
blasted to the top left corner of the main monitor (QuickDraw 0,0)
despite the fact that the rest of the time I'm using an imaging model
that has 0.0, 0.0 at the lower left corner of the main monitor...
The application uses QTKit to build a new movie from scratch, adding
piles of rendered frames, then going back and adding a chunk of audio
to cover the frames thus rendered, rinse, repeat until finished, then
finalizes (QTMovie writeToFile) and calls it a night.
The code:
[_movie insertSegmentOfMovie:audio
fromRange:audioRange
scaledToRange:destRange];
"audio" is a QTMovie * that points to a movie which was created from
an audio file (MP3, or a AAC, or maybe a WAV or AIFF).
Can you clarify what you mean by "from scratch"? How is the movie
file getting created?
Tim Monroe
QuickTime Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden