Closed melMass closed 3 years ago
If you know the timecode frame rate, you can init using Timecode(realTimeValue: TimeInterval, at: frameRate)
TCC
(typealias Timecode.Components
) is just a lightweight data struct to define raw values.
The documentation explains most of the library's capabilities in depth.
But as mentioned in your other thread, timecode frame rate cannot always be automatically inferred from video frame rate.
Thanks, I've missed it for some reason and thought it was all string-based.
Hi,
Thanks for this library! I have a few questions:
CanTimecode can actually be used as a type, I'll read the source to understand it more.TCC
be used as a type? Is this the right approach? for instance:And the main reason for the issue, what would be the best approach to convert a fractional second-based TC to Timecode? I'm using SwiftFFmpeg and all
time
values are based on fractional secondsThanks