Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name describes the name of the transcoder
Name = "hybrik"
)
Variables ¶
View Source
var ( // ErrBitrateNan is an error returned when the bitrate field of db.Preset is not a valid number ErrBitrateNan = errors.New("bitrate not a number") // ErrVideoWidthNan is an error returned when the preset video width of db.Preset is not a valid number ErrVideoWidthNan = errors.New("preset video width not a number") // ErrVideoHeightNan is an error returned when the preset video height of db.Preset is not a valid number ErrVideoHeightNan = errors.New("preset video height not a number") // ErrUnsupportedContainer is returned when the container format is not present in the provider's capabilities list ErrUnsupportedContainer = errors.New("container format unsupported. Hybrik provider capabilities may need to be updated") )
Functions ¶
This section is empty.
Types ¶
type DolbyVision ¶
type DolbyVision struct {
InputEDRAspect string `json:"inputEDRAspect"`
InputEDRPad string `json:"inputEDRPad"`
InputEDRCrop string `json:"inputEDRCrop"`
VesQCVersion string `json:"vesQCVersion"`
MezzQCVersion string `json:"mezzQCVersion"`
Mp4QCVersion string `json:"mp4QCVersion"`
Mp4MuxerVersion string `json:"mp4MuxerVersion"`
SDKVersion string `json:"sdkVersion"`
}
DolbyVision hold configuration options for the DEE
type SegmentedRendering ¶
type SegmentedRendering struct {
// Duration (in seconds) of a segment in segment encode mode. Minimum: 1
Duration int `json:"duration,omitempty"`
// Duration (in seconds) to look for a dominant previous or following scene change. Note that
// the segment duration can then be up to Duration + SceneChangeSearchDuration long.
SceneChangeSearchDuration int `json:"sceneChangeSearchDuration,omitempty"`
// Total number of segments
NumTotalSegments int `json:"totalSegments,omitempty"`
// Combiner will merge and re-stripe transport streams
EnableStrictCFR bool `json:"strictCFR,omitempty"`
// Timebase offset to be used by the muxer
MuxTimebaseOffset int `json:"muxOffsetOTB,omitempty"`
// DoViPreProcNumTasks sets the number of tasks to use or "auto" for DolbyVision PreProc tasks
DoViPreProcNumTasks string `json:"doViPreProcNumTasks,omitempty"`
// DoViPreProcIntervalLength sets the interval length to split for DolbyVision PreProc tasks
DoViPreProcIntervalLength int `json:"doViPreProcIntervalLength,omitempty"`
}
SegmentedRendering holds segmented rendering parameters
Click to show internal directories.
Click to hide internal directories.