Mailing Lists: Apple Mailing Lists

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

Fwd: Track Header's duration value versus Media Handler Header's duration value






On Oct 27, 2005, at 12:10 PM, email@hidden wrote:

Well, lets see.
The timescales can be different.
Not all the media is used in the track.
The media may be used multiple times in the track.
The track has blank spots where there is no media.

there may be other reasons.

On 27-Oct-05, at 11:53 AM, Graham Anderson wrote:


How does the Media Handler's duration value correlate to the Track  
Header's duration value ?
Is it related in some way ?


Track Header [tkhd]
    duration= 18579

Edits [edts]
    Edit List [elst]
         trackdur = 18579   //same value which makes sense

Media[mdia]
    Media Handler Header[mdhd]
        duration = 92900    // huh ?
        timescale = 2997


many thanks
g


The track duration is expressed in the movie time scale, which I'm gonna guess is 600. So 18579 / 600 = 30.965 seconds of movie. The media duration is expressed in the media time scale, here 2997. Looks like 92900 / 2997 = 30.99 seconds of media. Not sure there is a problem here.


Tim Monroe
QuickTime Engineering

 _______________________________________________
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



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.