Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFrameAndFPS ¶
FromFrameAndFPS calculates the time that a frame would display at given
a certain FPS. if FPS is zero, the zero time is returned.
func FromSRTTimecode ¶
FromSRTTimecode translates the typical timecode found in an SRT file
e.g. (1:23:45:678) into the corresponding Time
func Scale ¶
Scale scales t from origin by factor.
e.g. t: 0:00:01.000, origin: 0:00:02.000, factor: 2.0 -> 0:00:03.000
func ToASSTimecode ¶
ToASSTimecode formats a time as a timecode which is appropriate
for use in an ASS file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.