Products Applications Downloads Features Wiki forum Store

timecodetoframe()

From Wiki077
Jump to: navigation, search


float timecodetoframe(string timecode, float)

Given a timecode and a frames per second value, this expression will return a frame. The timecode should be in the format: hh:mm:ss.ff where

  • hh represents hours,
  • mm represents minutes,
  • ss represents seconds,
  • ff represents frames in the range 1 to fps.

The hour and minute and frame portions of the timecode string are optional.

Examples

returns 12345:

timecodetoframe("00:06:51.15", 30)

returns 12345:

timecodetoframe("06:51.15", 30)

See Also

frametotimecode()

Personal tools