Vtc.Timecode.runtime

You're seeing just the function runtime, go back to Vtc.Timecode module for more information.

Specs

runtime(t(), integer()) :: String.t()

Runtime Returns the true, real-world runtime of the timecode in HH:MM:SS.FFFFFFFFF format.

Arguments

  • precision: The number of places to round to. Extra trailing 0's will still be trimmed.

What it is

The formatted version of seconds. It looks like timecode, but with a decimal seconds value instead of a frame number place.

Where you see it

• Anywhere real-world time is used.

• FFMPEG commands:

  ffmpeg -ss 00:00:30.5 -i input.mov -t 00:00:10.25 output.mp4

Note

The true runtime will often diverge from the hours, minutes, and seconds value of the timecode representation when dealing with non-whole-frame framerates. Even drop-frame timecode does not continuously adhere 1:1 to the actual runtime. For instance, <01:00:00;00 @ <29.97 NTSC DF>> has a true runtime of '00:59:59.9964', and <01:00:00:00 @ <23.98 NTSC NDF>> has a true runtime of '01:00:03.6'