Documentation
¶
Index ¶
- Constants
- func FormatString(framecount int, frameRate FrameRate) string
- func IsValid(s string) bool
- func ParseDuration(in, out string, frameRate FrameRate) (int, error)
- func ParseInt(s string, frameRate FrameRate) (int, error)
- type FrameRate
- type TimeCode
- func (tm *TimeCode) GetFrames() int
- func (tm *TimeCode) GetHours() int
- func (tm *TimeCode) GetMinutes() int
- func (tm *TimeCode) GetSeconds() int
- func (tm *TimeCode) IsValid(frameRate FrameRate) bool
- func (tm *TimeCode) IsValidSmpte24() bool
- func (tm *TimeCode) IsValidSmpte25() bool
- func (tm *TimeCode) IsValidSmpte30() bool
- func (tm *TimeCode) IsValidSmpte2398() bool
- func (tm *TimeCode) IsValidSmpte2997Drop() bool
- func (tm *TimeCode) IsValidSmpte2997NonDrop() bool
- func (tm *TimeCode) ParseIntSmpte24() int
- func (tm *TimeCode) ParseIntSmpte25() int
- func (tm *TimeCode) ParseIntSmpte30() int
- func (tm *TimeCode) ParseIntSmpte2398() int
- func (tm *TimeCode) ParseIntSmpte2997Drop() int
- func (tm *TimeCode) ParseIntSmpte2997NonDrop() int
Constants ¶
View Source
const ( // SMPTE2398 23.98 frame rate. Also known as Film Sync. SMPTE2398 = iota // SMPTE24 24 fps frame rate. SMPTE24 // SMPTE25 25 fps frame rate. Also known as PAL. SMPTE25 // SMPTE2997DROP 29.97 fps Drop Frame timecode. Used in the NTSC television system. SMPTE2997DROP // SMPTE2997NONDROP 29.97 fps Non Drop Fram timecode. Used in the NTSC television system. SMPTE2997NONDROP // SMPTE30 30 fps frame rate. SMPTE30 )
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
ParseDuration ...
Types ¶
type TimeCode ¶
type TimeCode struct {
// contains filtered or unexported fields
}
TimeCode ...
func ParseTimeCode ¶
ParseTimeCode ...
func (*TimeCode) IsValidSmpte2398 ¶
IsValidSmpte2398 ...
func (*TimeCode) IsValidSmpte2997Drop ¶
IsValidSmpte2997Drop ...
func (*TimeCode) IsValidSmpte2997NonDrop ¶
IsValidSmpte2997NonDrop ...
func (*TimeCode) ParseIntSmpte2398 ¶
ParseIntSmpte2398 ...
func (*TimeCode) ParseIntSmpte2997Drop ¶
ParseIntSmpte2997Drop ...
func (*TimeCode) ParseIntSmpte2997NonDrop ¶
ParseIntSmpte2997NonDrop ...
Click to show internal directories.
Click to hide internal directories.