• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTKit for creating movies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: QTKit for creating movies (From: Tim Monroe <email@hidden>)

  • Prev by Date: Re: substringWithRange: memory leak problem
  • Next by Date: Using NSApplicationDefined events
  • Previous by thread: Re: QTKit for creating movies
  • Next by thread: Re : Need Help With NSScrollView & possible NSClipView
  • Index(es):
    • Date
    • Thread