Versions in this module Expand all Collapse all v1 v1.8.2 Dec 3, 2019 Changes in this version + var ErrJobNotFound = errors.New("job not found") + var ErrLocalPresetAlreadyExists = errors.New("local preset already exists") + var ErrLocalPresetNotFound = errors.New("local preset not found") + var ErrPresetMapAlreadyExists = errors.New("presetmap already exists") + var ErrPresetMapNotFound = errors.New("presetmap not found") + type AudioPreset struct + Bitrate string + Codec string + type Job struct + CreationTime time.Time + ID string + Outputs []TranscodeOutput + ProviderJobID string + ProviderName string + SourceMedia string + StreamingParams StreamingParams + type JobFilter struct + Limit uint + Since time.Time + type JobRepository interface + CreateJob func(*Job) error + DeleteJob func(*Job) error + GetJob func(id string) (*Job, error) + ListJobs func(JobFilter) ([]Job, error) + type LocalPreset struct + Name string + Preset Preset + type LocalPresetRepository interface + CreateLocalPreset func(*LocalPreset) error + DeleteLocalPreset func(*LocalPreset) error + GetLocalPreset func(name string) (*LocalPreset, error) + UpdateLocalPreset func(*LocalPreset) error + type OutputOptions struct + Extension string + func (o *OutputOptions) Validate() error + type Preset struct + Audio AudioPreset + Container string + Description string + Name string + RateControl string + TwoPass bool + Video VideoPreset + type PresetMap struct + Name string + OutputOpts OutputOptions + ProviderMapping map[string]string + type PresetMapRepository interface + CreatePresetMap func(*PresetMap) error + DeletePresetMap func(*PresetMap) error + GetPresetMap func(name string) (*PresetMap, error) + ListPresetMaps func() ([]PresetMap, error) + UpdatePresetMap func(*PresetMap) error + type Repository interface + type StreamingParams struct + PlaylistFileName string + Protocol string + SegmentDuration uint + type TranscodeOutput struct + FileName string + Preset PresetMap + type VideoPreset struct + Bitrate string + Codec string + GopMode string + GopSize string + Height string + InterlaceMode string + Profile string + ProfileLevel string + Width string Other modules containing this package github.com/video-dev/video-transcoding-api/v2