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