• 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: QTTrack is awfully limiting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTTrack is awfully limiting


  • Subject: Re: QTTrack is awfully limiting
  • From: "douglas a. welton" <email@hidden>
  • Date: Fri, 28 Dec 2007 16:43:07 -0500

Hi Nathaniel,

If you want to create/initialize a QTTrack with a new track that is of a Movie Media Type, do the following:

1)  Create a new track using the QuickTime function NewMovietrack()

2) Fill the track with Movie Media. See the QtMovieTrack sample code <http://developer.apple.com/samplecode/qtmovietrack/index.html> for an example of how to do this.

3) Create or initialize your new QTTrack object using the new track created in step 1 using either +trackWithQuickTimeTrack:error: or - initWithQuickTimeTrack:error:

Alternately, if all you want to do is insert a segment of an existing movie into another existing movie, then I would suggest that you use QTMovie's editing methods - insertSegmentOfMovie:fromRange:scaledToRange: or - insertSegmentOfMovie:timeRange:atTime: or the QuickTime function InsertMovieSegment()

Note, this advice is given without really knowing what you are trying to accomplish, with additional details I may be able to supply a more appropriate answer.

regards,

douglas



On Dec 28, 2007, at 3:57 PM, Nathaniel Gottlieb-Graham wrote:

I may be daft, but there doesn't seem to be any way to create a QTTrack with a movie in it. The only real way that I can see to add anything to a QTTrack is the addImage:forDuration:withAttributes: method, which takes NSImages, and can't be fed QTMovies or anything like that. Am I just missing something obvious, or will I have to resort to some ugly hack like adding a new track for every image of a movie I want to overlay?

Nathaniel
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >QTTrack is awfully limiting (From: Nathaniel Gottlieb-Graham <email@hidden>)

  • Prev by Date: Re: Building a dynamic class factory ( +load init order)
  • Next by Date: Re: QTTrack is awfully limiting
  • Previous by thread: Re: QTTrack is awfully limiting
  • Next by thread: Re: QTTrack is awfully limiting
  • Index(es):
    • Date
    • Thread