Re: QTKit for creating movies
Re: QTKit for creating movies
- Subject: Re: QTKit for creating movies
- From: Edwin Vane <email@hidden>
- Date: Mon, 26 Sep 2005 22:09:28 -0400
- Mail-followup-to: email@hidden
On Mon, Sep 26, 2005 at 03:40:36PM -0700, Tim Monroe wrote:
>
> On Sep 25, 2005, at 10:03 PM, Edwin Vane wrote:
>
> >I doubt anybody can answer this but I thought I'd at least try...
>
> Ah, the eternal pessimist....
It only seems that the level of obscurity of my problems seem to be
directly proportional to the chances of it being answered:)
> I would suspect the problem is that you are calling
> InsertMediaIntoTrack at the wrong time. As is stands, you are basically
> inserting nothing into the track, as the media was just created and has
> no samples in it. (To verify this, try looking at duration.timeValue
> just before you call InsertMediaIntoTrack; my guess is that it's 0.)
>
> I think you need to call InsertMediaIntoTrack *after* you have added
> the sample data to the media.
>
> Tim Monroe
> QuickTime Engineering
> email@hidden
I discovered exactly this earlier. I tried old code using QT API (in which the sequence
was: create track, create media, begin edits, add samples, end edits,
insert media into track) and then it worked. Thanks for answering my
question though:)
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
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