timecode 0.1.0 timecode: ^0.1.0 copied to clipboard
This library is a pure Dart implementation of the SMTPE timecode specification. It is based on the pytimecode library by Joshua Banton. https://pypi.org/project/pytimecode.py/
example/timecode_example.dart
import 'package:timecode/timecode.dart';
void main() {
var fps = 29.97;
var timecode = Timecode.atSeconds(59, framerate: TimecodeFramerate(29.97));
timecode.addFrames(28);
print(timecode);
// for (var i = 0; i < fps; i++) {
// timecode.next();
// print(timecode);
// }
}