[Q] FCP project's timebase vs. fTimeScale of TimeCodeDef
[Q] FCP project's timebase vs. fTimeScale of TimeCodeDef
- Subject: [Q] FCP project's timebase vs. fTimeScale of TimeCodeDef
- From: JongAm Park <email@hidden>
- Date: Wed, 25 Mar 2009 11:14:39 -0700
Hello, all.
I have a question about the timebase property of an exported FCP
project as XML format and fTimeScale.
Do they mean to be same or...?
For example, what I have for the FCP project is like :
<timecode>
<rate>
<ntsc>TRUE</ntsc>
<timebase>30</timebase>
</rate>
<string>01:00:00:00</string>
<frame>108000</frame>
<source>source</source>
<displayformat>NDF</displayformat>
</timecode>
<in>102</in>
But to add a timecode track, it requires to populate this structure :
struct TimeCodeDef {
long flags;
TimeScale fTimeScale;
TimeValue frameDuration;
UInt8 numFrames;
UInt8 padding;
};
I would like to know what value should be used for the fTimeScale.
Should I use the timebase from the FCP project, or
QTMovieTimeScaleAttribute property of a movie?
Also, I am not quire sure what values to use for frameDuration and
numFrames.
Probably, QTMovie's duration and some other value for numFrames?
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden