TimecodeTool calculate
Timecode/Frame calculator. Enter either timecode strings or frame numbers.
Synopsis
Timecode/Frame calculator. Enter either timecode strings
or frame numbers. It will add all these all together and
generate span. When entering a timecode the amount of frames
added/subtracted is relative to 00:00:00:00, with the
timecode entered being inclusive. Use the -e
flag to make it exclusive.
TimecodeTool calculate --fps=29.97 [First Timecode] + [Timecode] - [frame number] [flags]
Options
-e, --exclude-last-timecode Makes timecodes in operations EXCLUSIVE (subtracts one frame).
WITHOUT -e (default): Timecodes represent their frame index + 1.
Example at 24fps: Adding "00:00:01:00"
Adds 24 frames (the frame index of 00:00:01:00)
WITH -e: Timecodes are treated as exclusive (minus one frame).
Example at 24fps: Adding "00:00:01:00"
Adds 23 frames (00:00:01:00 minus one frame)
Useful when thinking of timecodes as end points.
--fps float Frame rate of timecodes (default 29.97)
-h, --help help for calculate
--json-output Output as JSON
--key string Specifies the key of which the sole value will be returned.
--pretty-print Output indented JSON
SEE ALSO
- TimecodeTool - A timecode CLI tool.