Re: QTKit: Adding a QTTrack to a QTMovie
Re: QTKit: Adding a QTTrack to a QTMovie
- Subject: Re: QTKit: Adding a QTTrack to a QTMovie
- From: Christian Schneider <email@hidden>
- Date: Fri, 13 May 2005 10:09:25 +0200
Tim,
On 5/13/05, Tim Monroe <email@hidden> wrote:
>
> Just for my own edification, what would an addTrack method look like,
> in your opinion?
>
well, I needed it to build a movie out of several source movies. Each
track contains possibly discontinuous material parallel in time to the
other tracks. So my logical procedure was:
- create the reference track (which defines the length of the final movie)
- create a track for each parallel source (i.e. camera)
- insert video into the tracks (space filled by empty segments)
- insert each track into the final movie (each one's matrix translated
such that they are side by side)
So, in my opinion an addTrack would simply look like:
[qtMovie addTrack:(QTTrack *) aTrack] or [qtTrack addToMovie:(QTMovie
*) aMovie]
It might also contain the possibility to specify the position of the
track in the movie (if it is a video track) but that could also be a
method on aTrack.
It's not that it is complicated to achieve that in standard quicktime
it's just that editing movies together is so much simpler now in QTKit
that I want more of it. And I was really confused because I can
initialise a new QTTrack but can't do the one thing that makes very
much sense (i.e. insert that track somewhere).
chris
_______________________________________________
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