Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting track ID



Ok thanks, that makes sense, I'll give it a go. Currently I delete the old track before adding the new one but it obviously thinks that id is already taken then and picks the next number in sequence.

-Rolf

At 07:35 -0700 24/5/06, Steve Israelson wrote:
Make a third NEW movie, then add the tracks in the order you want them.
The ID's will then be the indexes.

My user has an application that seems to expect movies to
have tracks with particular track IDs. I am creating a movie
by opening two movie files and replacing the audio track of
one with that from the second, then flattening it. This
creates a movie with the two tracks I want but the ID of the
second track is 3 rather than 2, which confuses my user's
application. Is there any way I can force the track ID of the
second track of my flattened movie to be something else?

How do you do the replace action? Do you first add (append) the new track and then remove the previous one? Try doing it the reverse way (first remove, then add). Can also try saving the movie to some temp space (or do EndMediaEdits or whatever it was called) after the removal, then add (or do BeginMediaEdits again), then flatten


--
Rolf Howarth
Square Box Systems Ltd
Stratford-upon-Avon UK.
http://www.squarebox.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >RE: Setting track ID (From: "George Birbilis" <email@hidden>)
 >Re: Setting track ID (From: Steve Israelson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.