timelineTime(_:fromInputTime:)
Converts from input time of the filter’s image input to timeline time.
Declaration
func timelineTime(_ timelineTime: UnsafeMutablePointer<CMTime>!, fromInputTime time: CMTime)Parameters
- timelineTime:
The converted time, in
CMTime. - time:
The input’s time, in
CMTime.
Mentioned in
Discussion
In Motion, this timeline time and input time are always equal. In Final Cut Pro, this will provides the calculated timeline time for any given input time. For more information about how to handle time conversion, see Understanding time in FxPlug.
See Also
Accessing Timing Values
frameDuration(_:)sampleDuration(_:)startTime(forEffect:)durationTime(forEffect:)startTimeOfInput(toFilter:)durationTimeOfInput(toFilter:)start(_:ofImageParameter:)durationTime(_:ofImageParameter:)inPointTimeOfTimeline(forEffect:)outPointTimeOfTimeline(forEffect:)timelineTime(_:fromImageTime:forParameterID:)inputTime(_:fromTimelineTime:)imageTime(_:forParameterID:fromTimelineTime:)fieldOrderForInput(toFilter:)timelineFpsNumerator(for:)