Documentation ¶
Index ¶
Constants ¶
View Source
const NTSCRatio = float64(1001) / 1000
Variables ¶
This section is empty.
Functions ¶
func GetSettingString ¶
func Log2 ¶
func Log2[T constraints.Integer](v T) (result int)
func Max ¶
func Max[T constraints.Ordered](v0 T, values ...T) (result T)
func Min ¶
func Min[T constraints.Ordered](v0 T, values ...T) (result T)
Types ¶
type Logger ¶
type Logger interface { Panic(v ...any) Panicf(format string, v ...any) Print(v ...any) Printf(format string, v ...any) Fatal(v ...any) Fatalf(format string, v ...any) }
func DefaultLogger ¶
func DefaultLogger() Logger
type Ratio ¶
func FPSToRatio ¶
FPSToRatio Attempt common FPS conversions to ratios
func (Ratio) MarshalJSON ¶
func (Ratio) Reciprocal ¶
Reciprocal get the reciprocal, for example, to convert frame rate into time base
func (*Ratio) UnmarshalJSON ¶
func (*Ratio) UnmarshalYAML ¶
type Timecodes ¶
type Timecodes []int64
Timecodes Entries in milliseconds. First entry includes fallback duration, in time.Duration format
func (Timecodes) FallbackDuration ¶
Directories ¶
Path | Synopsis |
---|---|
Package ivfreader implements IVF media container reader
|
Package ivfreader implements IVF media container reader |
Click to show internal directories.
Click to hide internal directories.