Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VERSION string
Functions ¶
This section is empty.
Types ¶
type CalcResponse ¶
type CalcResponse struct {
SpanResponse
LastTimecode string `json:"lastTimecode"`
Steps []CalculationStep
}
func NewCalculateTimecodes ¶ added in v0.0.7
func NewCalculateTimecodes(inTc string, operations []string, fps float64, excludeLastTimecode bool) *CalcResponse
type CalculationStep ¶
type SpanResponse ¶
type SpanResponse struct {
InputFirstTimecode string `json:"inputFirstTimecode"`
InputLastTimecode string `json:"inputLastTimecode,omitempty"`
InputFps float64 `json:"inputFps"`
Valid bool `json:"valid"`
ErrorMsg string `json:"errorMsg"`
IsDf bool `json:"isDf"`
ExcludeLastTimecode bool `json:"excludeLastTimecode"`
StartFrameIdx int `json:"startFrameIdx"`
LastFrameIdx int `json:"lastFrameIdx"`
LengthFrames int `json:"lengthFrames"`
LengthTime string `json:"lengthTime"`
LengthTimecode string `json:"lengthTimecode"`
LengthSeconds float64 `json:"lengthSeconds"`
NextTimecode string `json:"nextTimecode"`
}
func NewSpanTimecode ¶ added in v0.0.7
func NewSpanTimecode(startTc string, endTc string, fps float64, excludeLastTimecode bool) *SpanResponse
type ValidateResponse ¶
type ValidateResponse struct {
InputTimecode string `json:"inputTimecode"`
InputFps float64 `json:"inputFps"`
Valid bool `json:"valid"`
ErrorMsg string `json:"errorMsg"`
IsDf bool `json:"isDf"`
FrameIdx int `json:"frameIdx"`
NextTimecode string `json:"nextTimecode"`
}
func NewValidateTimecode ¶ added in v0.0.7
func NewValidateTimecode(startTc string, fps float64) *ValidateResponse
Click to show internal directories.
Click to hide internal directories.