Documentation
¶
Index ¶
- Constants
- Variables
- type AdBreak
- func (x *AdBreak) ClearStartTimeOffset()
- func (x *AdBreak) GetStartTimeOffset() *durationpb.Duration
- func (x *AdBreak) HasStartTimeOffset() bool
- func (*AdBreak) ProtoMessage()
- func (x *AdBreak) ProtoReflect() protoreflect.Message
- func (x *AdBreak) Reset()
- func (x *AdBreak) SetStartTimeOffset(v *durationpb.Duration)
- func (x *AdBreak) String() string
- type AdBreak_builder
- type AudioStream
- func (x *AudioStream) GetBitrateBps() int32
- func (x *AudioStream) GetChannelCount() int32
- func (x *AudioStream) GetChannelLayout() []string
- func (x *AudioStream) GetCodec() string
- func (x *AudioStream) GetDisplayName() string
- func (x *AudioStream) GetLanguageCode() string
- func (x *AudioStream) GetMapping() []*AudioStream_AudioMapping
- func (x *AudioStream) GetSampleRateHertz() int32
- func (*AudioStream) ProtoMessage()
- func (x *AudioStream) ProtoReflect() protoreflect.Message
- func (x *AudioStream) Reset()
- func (x *AudioStream) SetBitrateBps(v int32)
- func (x *AudioStream) SetChannelCount(v int32)
- func (x *AudioStream) SetChannelLayout(v []string)
- func (x *AudioStream) SetCodec(v string)
- func (x *AudioStream) SetDisplayName(v string)
- func (x *AudioStream) SetLanguageCode(v string)
- func (x *AudioStream) SetMapping(v []*AudioStream_AudioMapping)
- func (x *AudioStream) SetSampleRateHertz(v int32)
- func (x *AudioStream) String() string
- type AudioStream_AudioMapping
- func (x *AudioStream_AudioMapping) GetAtomKey() string
- func (x *AudioStream_AudioMapping) GetGainDb() float64
- func (x *AudioStream_AudioMapping) GetInputChannel() int32
- func (x *AudioStream_AudioMapping) GetInputKey() string
- func (x *AudioStream_AudioMapping) GetInputTrack() int32
- func (x *AudioStream_AudioMapping) GetOutputChannel() int32
- func (*AudioStream_AudioMapping) ProtoMessage()
- func (x *AudioStream_AudioMapping) ProtoReflect() protoreflect.Message
- func (x *AudioStream_AudioMapping) Reset()
- func (x *AudioStream_AudioMapping) SetAtomKey(v string)
- func (x *AudioStream_AudioMapping) SetGainDb(v float64)
- func (x *AudioStream_AudioMapping) SetInputChannel(v int32)
- func (x *AudioStream_AudioMapping) SetInputKey(v string)
- func (x *AudioStream_AudioMapping) SetInputTrack(v int32)
- func (x *AudioStream_AudioMapping) SetOutputChannel(v int32)
- func (x *AudioStream_AudioMapping) String() string
- type AudioStream_AudioMapping_builder
- type AudioStream_builder
- type EditAtom
- func (x *EditAtom) ClearEndTimeOffset()
- func (x *EditAtom) ClearStartTimeOffset()
- func (x *EditAtom) GetEndTimeOffset() *durationpb.Duration
- func (x *EditAtom) GetInputs() []string
- func (x *EditAtom) GetKey() string
- func (x *EditAtom) GetStartTimeOffset() *durationpb.Duration
- func (x *EditAtom) HasEndTimeOffset() bool
- func (x *EditAtom) HasStartTimeOffset() bool
- func (*EditAtom) ProtoMessage()
- func (x *EditAtom) ProtoReflect() protoreflect.Message
- func (x *EditAtom) Reset()
- func (x *EditAtom) SetEndTimeOffset(v *durationpb.Duration)
- func (x *EditAtom) SetInputs(v []string)
- func (x *EditAtom) SetKey(v string)
- func (x *EditAtom) SetStartTimeOffset(v *durationpb.Duration)
- func (x *EditAtom) String() string
- type EditAtom_builder
- type ElementaryStream
- func (x *ElementaryStream) ClearAudioStream()
- func (x *ElementaryStream) ClearElementaryStream()
- func (x *ElementaryStream) ClearTextStream()
- func (x *ElementaryStream) ClearVideoStream()
- func (x *ElementaryStream) GetAudioStream() *AudioStream
- func (x *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStream
- func (x *ElementaryStream) GetKey() string
- func (x *ElementaryStream) GetTextStream() *TextStream
- func (x *ElementaryStream) GetVideoStream() *VideoStream
- func (x *ElementaryStream) HasAudioStream() bool
- func (x *ElementaryStream) HasElementaryStream() bool
- func (x *ElementaryStream) HasTextStream() bool
- func (x *ElementaryStream) HasVideoStream() bool
- func (*ElementaryStream) ProtoMessage()
- func (x *ElementaryStream) ProtoReflect() protoreflect.Message
- func (x *ElementaryStream) Reset()
- func (x *ElementaryStream) SetAudioStream(v *AudioStream)
- func (x *ElementaryStream) SetKey(v string)
- func (x *ElementaryStream) SetTextStream(v *TextStream)
- func (x *ElementaryStream) SetVideoStream(v *VideoStream)
- func (x *ElementaryStream) String() string
- func (x *ElementaryStream) WhichElementaryStream() case_ElementaryStream_ElementaryStream
- type ElementaryStream_AudioStream
- type ElementaryStream_TextStream
- type ElementaryStream_VideoStream
- type ElementaryStream_builder
- type Input
- func (x *Input) ClearPreprocessingConfig()
- func (x *Input) GetKey() string
- func (x *Input) GetPreprocessingConfig() *PreprocessingConfig
- func (x *Input) GetUri() string
- func (x *Input) HasPreprocessingConfig() bool
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) SetKey(v string)
- func (x *Input) SetPreprocessingConfig(v *PreprocessingConfig)
- func (x *Input) SetUri(v string)
- func (x *Input) String() string
- type Input_builder
- type Job
- func (x *Job) ClearConfig()
- func (x *Job) ClearCreateTime()
- func (x *Job) ClearEndTime()
- func (x *Job) ClearError()
- func (x *Job) ClearJobConfig()
- func (x *Job) ClearStartTime()
- func (x *Job) GetConfig() *JobConfig
- func (x *Job) GetCreateTime() *timestamppb.Timestamp
- func (x *Job) GetEndTime() *timestamppb.Timestamp
- func (x *Job) GetError() *status.Status
- func (x *Job) GetJobConfig() isJob_JobConfig
- func (x *Job) GetLabels() map[string]string
- func (x *Job) GetMode() Job_ProcessingMode
- func (x *Job) GetName() string
- func (x *Job) GetStartTime() *timestamppb.Timestamp
- func (x *Job) GetState() Job_ProcessingState
- func (x *Job) GetTtlAfterCompletionDays() int32
- func (x *Job) HasConfig() bool
- func (x *Job) HasCreateTime() bool
- func (x *Job) HasEndTime() bool
- func (x *Job) HasError() bool
- func (x *Job) HasJobConfig() bool
- func (x *Job) HasStartTime() bool
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) SetConfig(v *JobConfig)
- func (x *Job) SetCreateTime(v *timestamppb.Timestamp)
- func (x *Job) SetEndTime(v *timestamppb.Timestamp)
- func (x *Job) SetError(v *status.Status)
- func (x *Job) SetLabels(v map[string]string)
- func (x *Job) SetMode(v Job_ProcessingMode)
- func (x *Job) SetName(v string)
- func (x *Job) SetStartTime(v *timestamppb.Timestamp)
- func (x *Job) SetState(v Job_ProcessingState)
- func (x *Job) SetTtlAfterCompletionDays(v int32)
- func (x *Job) String() string
- func (x *Job) WhichJobConfig() case_Job_JobConfig
- type JobConfig
- func (x *JobConfig) ClearOutput()
- func (x *JobConfig) ClearPubsubDestination()
- func (x *JobConfig) GetAdBreaks() []*AdBreak
- func (x *JobConfig) GetEditList() []*EditAtom
- func (x *JobConfig) GetElementaryStreams() []*ElementaryStream
- func (x *JobConfig) GetInputs() []*Input
- func (x *JobConfig) GetManifests() []*Manifest
- func (x *JobConfig) GetMuxStreams() []*MuxStream
- func (x *JobConfig) GetOutput() *Output
- func (x *JobConfig) GetOverlays() []*Overlay
- func (x *JobConfig) GetPubsubDestination() *PubsubDestination
- func (x *JobConfig) GetSpriteSheets() []*SpriteSheet
- func (x *JobConfig) HasOutput() bool
- func (x *JobConfig) HasPubsubDestination() bool
- func (*JobConfig) ProtoMessage()
- func (x *JobConfig) ProtoReflect() protoreflect.Message
- func (x *JobConfig) Reset()
- func (x *JobConfig) SetAdBreaks(v []*AdBreak)
- func (x *JobConfig) SetEditList(v []*EditAtom)
- func (x *JobConfig) SetElementaryStreams(v []*ElementaryStream)
- func (x *JobConfig) SetInputs(v []*Input)
- func (x *JobConfig) SetManifests(v []*Manifest)
- func (x *JobConfig) SetMuxStreams(v []*MuxStream)
- func (x *JobConfig) SetOutput(v *Output)
- func (x *JobConfig) SetOverlays(v []*Overlay)
- func (x *JobConfig) SetPubsubDestination(v *PubsubDestination)
- func (x *JobConfig) SetSpriteSheets(v []*SpriteSheet)
- func (x *JobConfig) String() string
- type JobConfig_builder
- type JobCreatedEvent
- func (x *JobCreatedEvent) ClearData()
- func (x *JobCreatedEvent) GetData() *JobEventData
- func (x *JobCreatedEvent) HasData() bool
- func (*JobCreatedEvent) ProtoMessage()
- func (x *JobCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *JobCreatedEvent) Reset()
- func (x *JobCreatedEvent) SetData(v *JobEventData)
- func (x *JobCreatedEvent) String() string
- type JobCreatedEvent_builder
- type JobDeletedEvent
- func (x *JobDeletedEvent) ClearData()
- func (x *JobDeletedEvent) GetData() *JobEventData
- func (x *JobDeletedEvent) HasData() bool
- func (*JobDeletedEvent) ProtoMessage()
- func (x *JobDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *JobDeletedEvent) Reset()
- func (x *JobDeletedEvent) SetData(v *JobEventData)
- func (x *JobDeletedEvent) String() string
- type JobDeletedEvent_builder
- type JobEventData
- func (x *JobEventData) ClearPayload()
- func (x *JobEventData) GetPayload() *Job
- func (x *JobEventData) HasPayload() bool
- func (*JobEventData) ProtoMessage()
- func (x *JobEventData) ProtoReflect() protoreflect.Message
- func (x *JobEventData) Reset()
- func (x *JobEventData) SetPayload(v *Job)
- func (x *JobEventData) String() string
- type JobEventData_builder
- type JobTemplate
- func (x *JobTemplate) ClearConfig()
- func (x *JobTemplate) GetConfig() *JobConfig
- func (x *JobTemplate) GetLabels() map[string]string
- func (x *JobTemplate) GetName() string
- func (x *JobTemplate) HasConfig() bool
- func (*JobTemplate) ProtoMessage()
- func (x *JobTemplate) ProtoReflect() protoreflect.Message
- func (x *JobTemplate) Reset()
- func (x *JobTemplate) SetConfig(v *JobConfig)
- func (x *JobTemplate) SetLabels(v map[string]string)
- func (x *JobTemplate) SetName(v string)
- func (x *JobTemplate) String() string
- type JobTemplateCreatedEvent
- func (x *JobTemplateCreatedEvent) ClearData()
- func (x *JobTemplateCreatedEvent) GetData() *JobTemplateEventData
- func (x *JobTemplateCreatedEvent) HasData() bool
- func (*JobTemplateCreatedEvent) ProtoMessage()
- func (x *JobTemplateCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *JobTemplateCreatedEvent) Reset()
- func (x *JobTemplateCreatedEvent) SetData(v *JobTemplateEventData)
- func (x *JobTemplateCreatedEvent) String() string
- type JobTemplateCreatedEvent_builder
- type JobTemplateDeletedEvent
- func (x *JobTemplateDeletedEvent) ClearData()
- func (x *JobTemplateDeletedEvent) GetData() *JobTemplateEventData
- func (x *JobTemplateDeletedEvent) HasData() bool
- func (*JobTemplateDeletedEvent) ProtoMessage()
- func (x *JobTemplateDeletedEvent) ProtoReflect() protoreflect.Message
- func (x *JobTemplateDeletedEvent) Reset()
- func (x *JobTemplateDeletedEvent) SetData(v *JobTemplateEventData)
- func (x *JobTemplateDeletedEvent) String() string
- type JobTemplateDeletedEvent_builder
- type JobTemplateEventData
- func (x *JobTemplateEventData) ClearPayload()
- func (x *JobTemplateEventData) GetPayload() *JobTemplate
- func (x *JobTemplateEventData) HasPayload() bool
- func (*JobTemplateEventData) ProtoMessage()
- func (x *JobTemplateEventData) ProtoReflect() protoreflect.Message
- func (x *JobTemplateEventData) Reset()
- func (x *JobTemplateEventData) SetPayload(v *JobTemplate)
- func (x *JobTemplateEventData) String() string
- type JobTemplateEventData_builder
- type JobTemplate_builder
- type Job_Config
- type Job_ProcessingMode
- type Job_ProcessingState
- type Job_builder
- type Manifest
- func (x *Manifest) GetFileName() string
- func (x *Manifest) GetMuxStreams() []string
- func (x *Manifest) GetType() Manifest_ManifestType
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) SetFileName(v string)
- func (x *Manifest) SetMuxStreams(v []string)
- func (x *Manifest) SetType(v Manifest_ManifestType)
- func (x *Manifest) String() string
- type Manifest_ManifestType
- type Manifest_builder
- type MuxStream
- func (x *MuxStream) ClearSegmentSettings()
- func (x *MuxStream) GetContainer() string
- func (x *MuxStream) GetElementaryStreams() []string
- func (x *MuxStream) GetFileName() string
- func (x *MuxStream) GetKey() string
- func (x *MuxStream) GetSegmentSettings() *SegmentSettings
- func (x *MuxStream) HasSegmentSettings() bool
- func (*MuxStream) ProtoMessage()
- func (x *MuxStream) ProtoReflect() protoreflect.Message
- func (x *MuxStream) Reset()
- func (x *MuxStream) SetContainer(v string)
- func (x *MuxStream) SetElementaryStreams(v []string)
- func (x *MuxStream) SetFileName(v string)
- func (x *MuxStream) SetKey(v string)
- func (x *MuxStream) SetSegmentSettings(v *SegmentSettings)
- func (x *MuxStream) String() string
- type MuxStream_builder
- type Output
- type Output_builder
- type Overlay
- func (x *Overlay) ClearImage()
- func (x *Overlay) GetAnimations() []*Overlay_Animation
- func (x *Overlay) GetImage() *Overlay_Image
- func (x *Overlay) HasImage() bool
- func (*Overlay) ProtoMessage()
- func (x *Overlay) ProtoReflect() protoreflect.Message
- func (x *Overlay) Reset()
- func (x *Overlay) SetAnimations(v []*Overlay_Animation)
- func (x *Overlay) SetImage(v *Overlay_Image)
- func (x *Overlay) String() string
- type Overlay_Animation
- func (x *Overlay_Animation) ClearAnimationEnd()
- func (x *Overlay_Animation) ClearAnimationFade()
- func (x *Overlay_Animation) ClearAnimationStatic()
- func (x *Overlay_Animation) ClearAnimationType()
- func (x *Overlay_Animation) GetAnimationEnd() *Overlay_AnimationEnd
- func (x *Overlay_Animation) GetAnimationFade() *Overlay_AnimationFade
- func (x *Overlay_Animation) GetAnimationStatic() *Overlay_AnimationStatic
- func (x *Overlay_Animation) GetAnimationType() isOverlay_Animation_AnimationType
- func (x *Overlay_Animation) HasAnimationEnd() bool
- func (x *Overlay_Animation) HasAnimationFade() bool
- func (x *Overlay_Animation) HasAnimationStatic() bool
- func (x *Overlay_Animation) HasAnimationType() bool
- func (*Overlay_Animation) ProtoMessage()
- func (x *Overlay_Animation) ProtoReflect() protoreflect.Message
- func (x *Overlay_Animation) Reset()
- func (x *Overlay_Animation) SetAnimationEnd(v *Overlay_AnimationEnd)
- func (x *Overlay_Animation) SetAnimationFade(v *Overlay_AnimationFade)
- func (x *Overlay_Animation) SetAnimationStatic(v *Overlay_AnimationStatic)
- func (x *Overlay_Animation) String() string
- func (x *Overlay_Animation) WhichAnimationType() case_Overlay_Animation_AnimationType
- type Overlay_AnimationEnd
- func (x *Overlay_AnimationEnd) ClearStartTimeOffset()
- func (x *Overlay_AnimationEnd) GetStartTimeOffset() *durationpb.Duration
- func (x *Overlay_AnimationEnd) HasStartTimeOffset() bool
- func (*Overlay_AnimationEnd) ProtoMessage()
- func (x *Overlay_AnimationEnd) ProtoReflect() protoreflect.Message
- func (x *Overlay_AnimationEnd) Reset()
- func (x *Overlay_AnimationEnd) SetStartTimeOffset(v *durationpb.Duration)
- func (x *Overlay_AnimationEnd) String() string
- type Overlay_AnimationEnd_builder
- type Overlay_AnimationFade
- func (x *Overlay_AnimationFade) ClearEndTimeOffset()
- func (x *Overlay_AnimationFade) ClearStartTimeOffset()
- func (x *Overlay_AnimationFade) ClearXy()
- func (x *Overlay_AnimationFade) GetEndTimeOffset() *durationpb.Duration
- func (x *Overlay_AnimationFade) GetFadeType() Overlay_FadeType
- func (x *Overlay_AnimationFade) GetStartTimeOffset() *durationpb.Duration
- func (x *Overlay_AnimationFade) GetXy() *Overlay_NormalizedCoordinate
- func (x *Overlay_AnimationFade) HasEndTimeOffset() bool
- func (x *Overlay_AnimationFade) HasStartTimeOffset() bool
- func (x *Overlay_AnimationFade) HasXy() bool
- func (*Overlay_AnimationFade) ProtoMessage()
- func (x *Overlay_AnimationFade) ProtoReflect() protoreflect.Message
- func (x *Overlay_AnimationFade) Reset()
- func (x *Overlay_AnimationFade) SetEndTimeOffset(v *durationpb.Duration)
- func (x *Overlay_AnimationFade) SetFadeType(v Overlay_FadeType)
- func (x *Overlay_AnimationFade) SetStartTimeOffset(v *durationpb.Duration)
- func (x *Overlay_AnimationFade) SetXy(v *Overlay_NormalizedCoordinate)
- func (x *Overlay_AnimationFade) String() string
- type Overlay_AnimationFade_builder
- type Overlay_AnimationStatic
- func (x *Overlay_AnimationStatic) ClearStartTimeOffset()
- func (x *Overlay_AnimationStatic) ClearXy()
- func (x *Overlay_AnimationStatic) GetStartTimeOffset() *durationpb.Duration
- func (x *Overlay_AnimationStatic) GetXy() *Overlay_NormalizedCoordinate
- func (x *Overlay_AnimationStatic) HasStartTimeOffset() bool
- func (x *Overlay_AnimationStatic) HasXy() bool
- func (*Overlay_AnimationStatic) ProtoMessage()
- func (x *Overlay_AnimationStatic) ProtoReflect() protoreflect.Message
- func (x *Overlay_AnimationStatic) Reset()
- func (x *Overlay_AnimationStatic) SetStartTimeOffset(v *durationpb.Duration)
- func (x *Overlay_AnimationStatic) SetXy(v *Overlay_NormalizedCoordinate)
- func (x *Overlay_AnimationStatic) String() string
- type Overlay_AnimationStatic_builder
- type Overlay_Animation_AnimationEnd
- type Overlay_Animation_AnimationFade
- type Overlay_Animation_AnimationStatic
- type Overlay_Animation_builder
- type Overlay_FadeType
- type Overlay_Image
- func (x *Overlay_Image) ClearResolution()
- func (x *Overlay_Image) GetAlpha() float64
- func (x *Overlay_Image) GetResolution() *Overlay_NormalizedCoordinate
- func (x *Overlay_Image) GetUri() string
- func (x *Overlay_Image) HasResolution() bool
- func (*Overlay_Image) ProtoMessage()
- func (x *Overlay_Image) ProtoReflect() protoreflect.Message
- func (x *Overlay_Image) Reset()
- func (x *Overlay_Image) SetAlpha(v float64)
- func (x *Overlay_Image) SetResolution(v *Overlay_NormalizedCoordinate)
- func (x *Overlay_Image) SetUri(v string)
- func (x *Overlay_Image) String() string
- type Overlay_Image_builder
- type Overlay_NormalizedCoordinate
- func (x *Overlay_NormalizedCoordinate) GetX() float64
- func (x *Overlay_NormalizedCoordinate) GetY() float64
- func (*Overlay_NormalizedCoordinate) ProtoMessage()
- func (x *Overlay_NormalizedCoordinate) ProtoReflect() protoreflect.Message
- func (x *Overlay_NormalizedCoordinate) Reset()
- func (x *Overlay_NormalizedCoordinate) SetX(v float64)
- func (x *Overlay_NormalizedCoordinate) SetY(v float64)
- func (x *Overlay_NormalizedCoordinate) String() string
- type Overlay_NormalizedCoordinate_builder
- type Overlay_builder
- type PreprocessingConfig
- func (x *PreprocessingConfig) ClearAudio()
- func (x *PreprocessingConfig) ClearColor()
- func (x *PreprocessingConfig) ClearCrop()
- func (x *PreprocessingConfig) ClearDeblock()
- func (x *PreprocessingConfig) ClearDeinterlace()
- func (x *PreprocessingConfig) ClearDenoise()
- func (x *PreprocessingConfig) ClearPad()
- func (x *PreprocessingConfig) GetAudio() *PreprocessingConfig_Audio
- func (x *PreprocessingConfig) GetColor() *PreprocessingConfig_Color
- func (x *PreprocessingConfig) GetCrop() *PreprocessingConfig_Crop
- func (x *PreprocessingConfig) GetDeblock() *PreprocessingConfig_Deblock
- func (x *PreprocessingConfig) GetDeinterlace() *PreprocessingConfig_Deinterlace
- func (x *PreprocessingConfig) GetDenoise() *PreprocessingConfig_Denoise
- func (x *PreprocessingConfig) GetPad() *PreprocessingConfig_Pad
- func (x *PreprocessingConfig) HasAudio() bool
- func (x *PreprocessingConfig) HasColor() bool
- func (x *PreprocessingConfig) HasCrop() bool
- func (x *PreprocessingConfig) HasDeblock() bool
- func (x *PreprocessingConfig) HasDeinterlace() bool
- func (x *PreprocessingConfig) HasDenoise() bool
- func (x *PreprocessingConfig) HasPad() bool
- func (*PreprocessingConfig) ProtoMessage()
- func (x *PreprocessingConfig) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig) Reset()
- func (x *PreprocessingConfig) SetAudio(v *PreprocessingConfig_Audio)
- func (x *PreprocessingConfig) SetColor(v *PreprocessingConfig_Color)
- func (x *PreprocessingConfig) SetCrop(v *PreprocessingConfig_Crop)
- func (x *PreprocessingConfig) SetDeblock(v *PreprocessingConfig_Deblock)
- func (x *PreprocessingConfig) SetDeinterlace(v *PreprocessingConfig_Deinterlace)
- func (x *PreprocessingConfig) SetDenoise(v *PreprocessingConfig_Denoise)
- func (x *PreprocessingConfig) SetPad(v *PreprocessingConfig_Pad)
- func (x *PreprocessingConfig) String() string
- type PreprocessingConfig_Audio
- func (x *PreprocessingConfig_Audio) GetHighBoost() bool
- func (x *PreprocessingConfig_Audio) GetLowBoost() bool
- func (x *PreprocessingConfig_Audio) GetLufs() float64
- func (*PreprocessingConfig_Audio) ProtoMessage()
- func (x *PreprocessingConfig_Audio) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Audio) Reset()
- func (x *PreprocessingConfig_Audio) SetHighBoost(v bool)
- func (x *PreprocessingConfig_Audio) SetLowBoost(v bool)
- func (x *PreprocessingConfig_Audio) SetLufs(v float64)
- func (x *PreprocessingConfig_Audio) String() string
- type PreprocessingConfig_Audio_builder
- type PreprocessingConfig_Color
- func (x *PreprocessingConfig_Color) GetBrightness() float64
- func (x *PreprocessingConfig_Color) GetContrast() float64
- func (x *PreprocessingConfig_Color) GetSaturation() float64
- func (*PreprocessingConfig_Color) ProtoMessage()
- func (x *PreprocessingConfig_Color) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Color) Reset()
- func (x *PreprocessingConfig_Color) SetBrightness(v float64)
- func (x *PreprocessingConfig_Color) SetContrast(v float64)
- func (x *PreprocessingConfig_Color) SetSaturation(v float64)
- func (x *PreprocessingConfig_Color) String() string
- type PreprocessingConfig_Color_builder
- type PreprocessingConfig_Crop
- func (x *PreprocessingConfig_Crop) GetBottomPixels() int32
- func (x *PreprocessingConfig_Crop) GetLeftPixels() int32
- func (x *PreprocessingConfig_Crop) GetRightPixels() int32
- func (x *PreprocessingConfig_Crop) GetTopPixels() int32
- func (*PreprocessingConfig_Crop) ProtoMessage()
- func (x *PreprocessingConfig_Crop) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Crop) Reset()
- func (x *PreprocessingConfig_Crop) SetBottomPixels(v int32)
- func (x *PreprocessingConfig_Crop) SetLeftPixels(v int32)
- func (x *PreprocessingConfig_Crop) SetRightPixels(v int32)
- func (x *PreprocessingConfig_Crop) SetTopPixels(v int32)
- func (x *PreprocessingConfig_Crop) String() string
- type PreprocessingConfig_Crop_builder
- type PreprocessingConfig_Deblock
- func (x *PreprocessingConfig_Deblock) GetEnabled() bool
- func (x *PreprocessingConfig_Deblock) GetStrength() float64
- func (*PreprocessingConfig_Deblock) ProtoMessage()
- func (x *PreprocessingConfig_Deblock) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Deblock) Reset()
- func (x *PreprocessingConfig_Deblock) SetEnabled(v bool)
- func (x *PreprocessingConfig_Deblock) SetStrength(v float64)
- func (x *PreprocessingConfig_Deblock) String() string
- type PreprocessingConfig_Deblock_builder
- type PreprocessingConfig_Deinterlace
- func (x *PreprocessingConfig_Deinterlace) ClearBwdif()
- func (x *PreprocessingConfig_Deinterlace) ClearDeinterlacingFilter()
- func (x *PreprocessingConfig_Deinterlace) ClearYadif()
- func (x *PreprocessingConfig_Deinterlace) GetBwdif() *PreprocessingConfig_Deinterlace_BwdifConfig
- func (x *PreprocessingConfig_Deinterlace) GetDeinterlacingFilter() isPreprocessingConfig_Deinterlace_DeinterlacingFilter
- func (x *PreprocessingConfig_Deinterlace) GetYadif() *PreprocessingConfig_Deinterlace_YadifConfig
- func (x *PreprocessingConfig_Deinterlace) HasBwdif() bool
- func (x *PreprocessingConfig_Deinterlace) HasDeinterlacingFilter() bool
- func (x *PreprocessingConfig_Deinterlace) HasYadif() bool
- func (*PreprocessingConfig_Deinterlace) ProtoMessage()
- func (x *PreprocessingConfig_Deinterlace) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Deinterlace) Reset()
- func (x *PreprocessingConfig_Deinterlace) SetBwdif(v *PreprocessingConfig_Deinterlace_BwdifConfig)
- func (x *PreprocessingConfig_Deinterlace) SetYadif(v *PreprocessingConfig_Deinterlace_YadifConfig)
- func (x *PreprocessingConfig_Deinterlace) String() string
- func (x *PreprocessingConfig_Deinterlace) WhichDeinterlacingFilter() case_PreprocessingConfig_Deinterlace_DeinterlacingFilter
- type PreprocessingConfig_Deinterlace_Bwdif
- type PreprocessingConfig_Deinterlace_BwdifConfig
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetDeinterlaceAllFrames() bool
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetMode() string
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetParity() string
- func (*PreprocessingConfig_Deinterlace_BwdifConfig) ProtoMessage()
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) Reset()
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetDeinterlaceAllFrames(v bool)
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetMode(v string)
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetParity(v string)
- func (x *PreprocessingConfig_Deinterlace_BwdifConfig) String() string
- type PreprocessingConfig_Deinterlace_BwdifConfig_builder
- type PreprocessingConfig_Deinterlace_Yadif
- type PreprocessingConfig_Deinterlace_YadifConfig
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetDeinterlaceAllFrames() bool
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetDisableSpatialInterlacing() bool
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetMode() string
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetParity() string
- func (*PreprocessingConfig_Deinterlace_YadifConfig) ProtoMessage()
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) Reset()
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetDeinterlaceAllFrames(v bool)
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetDisableSpatialInterlacing(v bool)
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetMode(v string)
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetParity(v string)
- func (x *PreprocessingConfig_Deinterlace_YadifConfig) String() string
- type PreprocessingConfig_Deinterlace_YadifConfig_builder
- type PreprocessingConfig_Deinterlace_builder
- type PreprocessingConfig_Denoise
- func (x *PreprocessingConfig_Denoise) GetStrength() float64
- func (x *PreprocessingConfig_Denoise) GetTune() string
- func (*PreprocessingConfig_Denoise) ProtoMessage()
- func (x *PreprocessingConfig_Denoise) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Denoise) Reset()
- func (x *PreprocessingConfig_Denoise) SetStrength(v float64)
- func (x *PreprocessingConfig_Denoise) SetTune(v string)
- func (x *PreprocessingConfig_Denoise) String() string
- type PreprocessingConfig_Denoise_builder
- type PreprocessingConfig_Pad
- func (x *PreprocessingConfig_Pad) GetBottomPixels() int32
- func (x *PreprocessingConfig_Pad) GetLeftPixels() int32
- func (x *PreprocessingConfig_Pad) GetRightPixels() int32
- func (x *PreprocessingConfig_Pad) GetTopPixels() int32
- func (*PreprocessingConfig_Pad) ProtoMessage()
- func (x *PreprocessingConfig_Pad) ProtoReflect() protoreflect.Message
- func (x *PreprocessingConfig_Pad) Reset()
- func (x *PreprocessingConfig_Pad) SetBottomPixels(v int32)
- func (x *PreprocessingConfig_Pad) SetLeftPixels(v int32)
- func (x *PreprocessingConfig_Pad) SetRightPixels(v int32)
- func (x *PreprocessingConfig_Pad) SetTopPixels(v int32)
- func (x *PreprocessingConfig_Pad) String() string
- type PreprocessingConfig_Pad_builder
- type PreprocessingConfig_builder
- type PubsubDestination
- type PubsubDestination_builder
- type SegmentSettings
- func (x *SegmentSettings) ClearSegmentDuration()
- func (x *SegmentSettings) GetIndividualSegments() bool
- func (x *SegmentSettings) GetSegmentDuration() *durationpb.Duration
- func (x *SegmentSettings) HasSegmentDuration() bool
- func (*SegmentSettings) ProtoMessage()
- func (x *SegmentSettings) ProtoReflect() protoreflect.Message
- func (x *SegmentSettings) Reset()
- func (x *SegmentSettings) SetIndividualSegments(v bool)
- func (x *SegmentSettings) SetSegmentDuration(v *durationpb.Duration)
- func (x *SegmentSettings) String() string
- type SegmentSettings_builder
- type SpriteSheet
- func (x *SpriteSheet) ClearEndTimeOffset()
- func (x *SpriteSheet) ClearExtractionStrategy()
- func (x *SpriteSheet) ClearInterval()
- func (x *SpriteSheet) ClearStartTimeOffset()
- func (x *SpriteSheet) ClearTotalCount()
- func (x *SpriteSheet) GetColumnCount() int32
- func (x *SpriteSheet) GetEndTimeOffset() *durationpb.Duration
- func (x *SpriteSheet) GetExtractionStrategy() isSpriteSheet_ExtractionStrategy
- func (x *SpriteSheet) GetFilePrefix() string
- func (x *SpriteSheet) GetFormat() string
- func (x *SpriteSheet) GetInterval() *durationpb.Duration
- func (x *SpriteSheet) GetQuality() int32
- func (x *SpriteSheet) GetRowCount() int32
- func (x *SpriteSheet) GetSpriteHeightPixels() int32
- func (x *SpriteSheet) GetSpriteWidthPixels() int32
- func (x *SpriteSheet) GetStartTimeOffset() *durationpb.Duration
- func (x *SpriteSheet) GetTotalCount() int32
- func (x *SpriteSheet) HasEndTimeOffset() bool
- func (x *SpriteSheet) HasExtractionStrategy() bool
- func (x *SpriteSheet) HasInterval() bool
- func (x *SpriteSheet) HasStartTimeOffset() bool
- func (x *SpriteSheet) HasTotalCount() bool
- func (*SpriteSheet) ProtoMessage()
- func (x *SpriteSheet) ProtoReflect() protoreflect.Message
- func (x *SpriteSheet) Reset()
- func (x *SpriteSheet) SetColumnCount(v int32)
- func (x *SpriteSheet) SetEndTimeOffset(v *durationpb.Duration)
- func (x *SpriteSheet) SetFilePrefix(v string)
- func (x *SpriteSheet) SetFormat(v string)
- func (x *SpriteSheet) SetInterval(v *durationpb.Duration)
- func (x *SpriteSheet) SetQuality(v int32)
- func (x *SpriteSheet) SetRowCount(v int32)
- func (x *SpriteSheet) SetSpriteHeightPixels(v int32)
- func (x *SpriteSheet) SetSpriteWidthPixels(v int32)
- func (x *SpriteSheet) SetStartTimeOffset(v *durationpb.Duration)
- func (x *SpriteSheet) SetTotalCount(v int32)
- func (x *SpriteSheet) String() string
- func (x *SpriteSheet) WhichExtractionStrategy() case_SpriteSheet_ExtractionStrategy
- type SpriteSheet_Interval
- type SpriteSheet_TotalCount
- type SpriteSheet_builder
- type TextStream
- func (x *TextStream) GetCodec() string
- func (x *TextStream) GetDisplayName() string
- func (x *TextStream) GetLanguageCode() string
- func (x *TextStream) GetMapping() []*TextStream_TextMapping
- func (*TextStream) ProtoMessage()
- func (x *TextStream) ProtoReflect() protoreflect.Message
- func (x *TextStream) Reset()
- func (x *TextStream) SetCodec(v string)
- func (x *TextStream) SetDisplayName(v string)
- func (x *TextStream) SetLanguageCode(v string)
- func (x *TextStream) SetMapping(v []*TextStream_TextMapping)
- func (x *TextStream) String() string
- type TextStream_TextMapping
- func (x *TextStream_TextMapping) GetAtomKey() string
- func (x *TextStream_TextMapping) GetInputKey() string
- func (x *TextStream_TextMapping) GetInputTrack() int32
- func (*TextStream_TextMapping) ProtoMessage()
- func (x *TextStream_TextMapping) ProtoReflect() protoreflect.Message
- func (x *TextStream_TextMapping) Reset()
- func (x *TextStream_TextMapping) SetAtomKey(v string)
- func (x *TextStream_TextMapping) SetInputKey(v string)
- func (x *TextStream_TextMapping) SetInputTrack(v int32)
- func (x *TextStream_TextMapping) String() string
- type TextStream_TextMapping_builder
- type TextStream_builder
- type VideoStream
- func (x *VideoStream) ClearCodecSettings()
- func (x *VideoStream) ClearH264()
- func (x *VideoStream) ClearH265()
- func (x *VideoStream) ClearVp9()
- func (x *VideoStream) GetCodecSettings() isVideoStream_CodecSettings
- func (x *VideoStream) GetH264() *VideoStream_H264CodecSettings
- func (x *VideoStream) GetH265() *VideoStream_H265CodecSettings
- func (x *VideoStream) GetVp9() *VideoStream_Vp9CodecSettings
- func (x *VideoStream) HasCodecSettings() bool
- func (x *VideoStream) HasH264() bool
- func (x *VideoStream) HasH265() bool
- func (x *VideoStream) HasVp9() bool
- func (*VideoStream) ProtoMessage()
- func (x *VideoStream) ProtoReflect() protoreflect.Message
- func (x *VideoStream) Reset()
- func (x *VideoStream) SetH264(v *VideoStream_H264CodecSettings)
- func (x *VideoStream) SetH265(v *VideoStream_H265CodecSettings)
- func (x *VideoStream) SetVp9(v *VideoStream_Vp9CodecSettings)
- func (x *VideoStream) String() string
- func (x *VideoStream) WhichCodecSettings() case_VideoStream_CodecSettings
- type VideoStream_H264
- type VideoStream_H264CodecSettings
- func (x *VideoStream_H264CodecSettings) ClearGopDuration()
- func (x *VideoStream_H264CodecSettings) ClearGopFrameCount()
- func (x *VideoStream_H264CodecSettings) ClearGopMode()
- func (x *VideoStream_H264CodecSettings) GetAllowOpenGop() bool
- func (x *VideoStream_H264CodecSettings) GetAqStrength() float64
- func (x *VideoStream_H264CodecSettings) GetBFrameCount() int32
- func (x *VideoStream_H264CodecSettings) GetBPyramid() bool
- func (x *VideoStream_H264CodecSettings) GetBitrateBps() int32
- func (x *VideoStream_H264CodecSettings) GetCrfLevel() int32
- func (x *VideoStream_H264CodecSettings) GetEnableTwoPass() bool
- func (x *VideoStream_H264CodecSettings) GetEntropyCoder() string
- func (x *VideoStream_H264CodecSettings) GetFrameRate() float64
- func (x *VideoStream_H264CodecSettings) GetGopDuration() *durationpb.Duration
- func (x *VideoStream_H264CodecSettings) GetGopFrameCount() int32
- func (x *VideoStream_H264CodecSettings) GetGopMode() isVideoStream_H264CodecSettings_GopMode
- func (x *VideoStream_H264CodecSettings) GetHeightPixels() int32
- func (x *VideoStream_H264CodecSettings) GetPixelFormat() string
- func (x *VideoStream_H264CodecSettings) GetPreset() string
- func (x *VideoStream_H264CodecSettings) GetProfile() string
- func (x *VideoStream_H264CodecSettings) GetRateControlMode() string
- func (x *VideoStream_H264CodecSettings) GetTune() string
- func (x *VideoStream_H264CodecSettings) GetVbvFullnessBits() int32
- func (x *VideoStream_H264CodecSettings) GetVbvSizeBits() int32
- func (x *VideoStream_H264CodecSettings) GetWidthPixels() int32
- func (x *VideoStream_H264CodecSettings) HasGopDuration() bool
- func (x *VideoStream_H264CodecSettings) HasGopFrameCount() bool
- func (x *VideoStream_H264CodecSettings) HasGopMode() bool
- func (*VideoStream_H264CodecSettings) ProtoMessage()
- func (x *VideoStream_H264CodecSettings) ProtoReflect() protoreflect.Message
- func (x *VideoStream_H264CodecSettings) Reset()
- func (x *VideoStream_H264CodecSettings) SetAllowOpenGop(v bool)
- func (x *VideoStream_H264CodecSettings) SetAqStrength(v float64)
- func (x *VideoStream_H264CodecSettings) SetBFrameCount(v int32)
- func (x *VideoStream_H264CodecSettings) SetBPyramid(v bool)
- func (x *VideoStream_H264CodecSettings) SetBitrateBps(v int32)
- func (x *VideoStream_H264CodecSettings) SetCrfLevel(v int32)
- func (x *VideoStream_H264CodecSettings) SetEnableTwoPass(v bool)
- func (x *VideoStream_H264CodecSettings) SetEntropyCoder(v string)
- func (x *VideoStream_H264CodecSettings) SetFrameRate(v float64)
- func (x *VideoStream_H264CodecSettings) SetGopDuration(v *durationpb.Duration)
- func (x *VideoStream_H264CodecSettings) SetGopFrameCount(v int32)
- func (x *VideoStream_H264CodecSettings) SetHeightPixels(v int32)
- func (x *VideoStream_H264CodecSettings) SetPixelFormat(v string)
- func (x *VideoStream_H264CodecSettings) SetPreset(v string)
- func (x *VideoStream_H264CodecSettings) SetProfile(v string)
- func (x *VideoStream_H264CodecSettings) SetRateControlMode(v string)
- func (x *VideoStream_H264CodecSettings) SetTune(v string)
- func (x *VideoStream_H264CodecSettings) SetVbvFullnessBits(v int32)
- func (x *VideoStream_H264CodecSettings) SetVbvSizeBits(v int32)
- func (x *VideoStream_H264CodecSettings) SetWidthPixels(v int32)
- func (x *VideoStream_H264CodecSettings) String() string
- func (x *VideoStream_H264CodecSettings) WhichGopMode() case_VideoStream_H264CodecSettings_GopMode
- type VideoStream_H264CodecSettings_GopDuration
- type VideoStream_H264CodecSettings_GopFrameCount
- type VideoStream_H264CodecSettings_builder
- type VideoStream_H265
- type VideoStream_H265CodecSettings
- func (x *VideoStream_H265CodecSettings) ClearGopDuration()
- func (x *VideoStream_H265CodecSettings) ClearGopFrameCount()
- func (x *VideoStream_H265CodecSettings) ClearGopMode()
- func (x *VideoStream_H265CodecSettings) GetAllowOpenGop() bool
- func (x *VideoStream_H265CodecSettings) GetAqStrength() float64
- func (x *VideoStream_H265CodecSettings) GetBFrameCount() int32
- func (x *VideoStream_H265CodecSettings) GetBPyramid() bool
- func (x *VideoStream_H265CodecSettings) GetBitrateBps() int32
- func (x *VideoStream_H265CodecSettings) GetCrfLevel() int32
- func (x *VideoStream_H265CodecSettings) GetEnableTwoPass() bool
- func (x *VideoStream_H265CodecSettings) GetFrameRate() float64
- func (x *VideoStream_H265CodecSettings) GetGopDuration() *durationpb.Duration
- func (x *VideoStream_H265CodecSettings) GetGopFrameCount() int32
- func (x *VideoStream_H265CodecSettings) GetGopMode() isVideoStream_H265CodecSettings_GopMode
- func (x *VideoStream_H265CodecSettings) GetHeightPixels() int32
- func (x *VideoStream_H265CodecSettings) GetPixelFormat() string
- func (x *VideoStream_H265CodecSettings) GetPreset() string
- func (x *VideoStream_H265CodecSettings) GetProfile() string
- func (x *VideoStream_H265CodecSettings) GetRateControlMode() string
- func (x *VideoStream_H265CodecSettings) GetTune() string
- func (x *VideoStream_H265CodecSettings) GetVbvFullnessBits() int32
- func (x *VideoStream_H265CodecSettings) GetVbvSizeBits() int32
- func (x *VideoStream_H265CodecSettings) GetWidthPixels() int32
- func (x *VideoStream_H265CodecSettings) HasGopDuration() bool
- func (x *VideoStream_H265CodecSettings) HasGopFrameCount() bool
- func (x *VideoStream_H265CodecSettings) HasGopMode() bool
- func (*VideoStream_H265CodecSettings) ProtoMessage()
- func (x *VideoStream_H265CodecSettings) ProtoReflect() protoreflect.Message
- func (x *VideoStream_H265CodecSettings) Reset()
- func (x *VideoStream_H265CodecSettings) SetAllowOpenGop(v bool)
- func (x *VideoStream_H265CodecSettings) SetAqStrength(v float64)
- func (x *VideoStream_H265CodecSettings) SetBFrameCount(v int32)
- func (x *VideoStream_H265CodecSettings) SetBPyramid(v bool)
- func (x *VideoStream_H265CodecSettings) SetBitrateBps(v int32)
- func (x *VideoStream_H265CodecSettings) SetCrfLevel(v int32)
- func (x *VideoStream_H265CodecSettings) SetEnableTwoPass(v bool)
- func (x *VideoStream_H265CodecSettings) SetFrameRate(v float64)
- func (x *VideoStream_H265CodecSettings) SetGopDuration(v *durationpb.Duration)
- func (x *VideoStream_H265CodecSettings) SetGopFrameCount(v int32)
- func (x *VideoStream_H265CodecSettings) SetHeightPixels(v int32)
- func (x *VideoStream_H265CodecSettings) SetPixelFormat(v string)
- func (x *VideoStream_H265CodecSettings) SetPreset(v string)
- func (x *VideoStream_H265CodecSettings) SetProfile(v string)
- func (x *VideoStream_H265CodecSettings) SetRateControlMode(v string)
- func (x *VideoStream_H265CodecSettings) SetTune(v string)
- func (x *VideoStream_H265CodecSettings) SetVbvFullnessBits(v int32)
- func (x *VideoStream_H265CodecSettings) SetVbvSizeBits(v int32)
- func (x *VideoStream_H265CodecSettings) SetWidthPixels(v int32)
- func (x *VideoStream_H265CodecSettings) String() string
- func (x *VideoStream_H265CodecSettings) WhichGopMode() case_VideoStream_H265CodecSettings_GopMode
- type VideoStream_H265CodecSettings_GopDuration
- type VideoStream_H265CodecSettings_GopFrameCount
- type VideoStream_H265CodecSettings_builder
- type VideoStream_Vp9
- type VideoStream_Vp9CodecSettings
- func (x *VideoStream_Vp9CodecSettings) ClearGopDuration()
- func (x *VideoStream_Vp9CodecSettings) ClearGopFrameCount()
- func (x *VideoStream_Vp9CodecSettings) ClearGopMode()
- func (x *VideoStream_Vp9CodecSettings) GetBitrateBps() int32
- func (x *VideoStream_Vp9CodecSettings) GetCrfLevel() int32
- func (x *VideoStream_Vp9CodecSettings) GetFrameRate() float64
- func (x *VideoStream_Vp9CodecSettings) GetGopDuration() *durationpb.Duration
- func (x *VideoStream_Vp9CodecSettings) GetGopFrameCount() int32
- func (x *VideoStream_Vp9CodecSettings) GetGopMode() isVideoStream_Vp9CodecSettings_GopMode
- func (x *VideoStream_Vp9CodecSettings) GetHeightPixels() int32
- func (x *VideoStream_Vp9CodecSettings) GetPixelFormat() string
- func (x *VideoStream_Vp9CodecSettings) GetProfile() string
- func (x *VideoStream_Vp9CodecSettings) GetRateControlMode() string
- func (x *VideoStream_Vp9CodecSettings) GetWidthPixels() int32
- func (x *VideoStream_Vp9CodecSettings) HasGopDuration() bool
- func (x *VideoStream_Vp9CodecSettings) HasGopFrameCount() bool
- func (x *VideoStream_Vp9CodecSettings) HasGopMode() bool
- func (*VideoStream_Vp9CodecSettings) ProtoMessage()
- func (x *VideoStream_Vp9CodecSettings) ProtoReflect() protoreflect.Message
- func (x *VideoStream_Vp9CodecSettings) Reset()
- func (x *VideoStream_Vp9CodecSettings) SetBitrateBps(v int32)
- func (x *VideoStream_Vp9CodecSettings) SetCrfLevel(v int32)
- func (x *VideoStream_Vp9CodecSettings) SetFrameRate(v float64)
- func (x *VideoStream_Vp9CodecSettings) SetGopDuration(v *durationpb.Duration)
- func (x *VideoStream_Vp9CodecSettings) SetGopFrameCount(v int32)
- func (x *VideoStream_Vp9CodecSettings) SetHeightPixels(v int32)
- func (x *VideoStream_Vp9CodecSettings) SetPixelFormat(v string)
- func (x *VideoStream_Vp9CodecSettings) SetProfile(v string)
- func (x *VideoStream_Vp9CodecSettings) SetRateControlMode(v string)
- func (x *VideoStream_Vp9CodecSettings) SetWidthPixels(v int32)
- func (x *VideoStream_Vp9CodecSettings) String() string
- func (x *VideoStream_Vp9CodecSettings) WhichGopMode() case_VideoStream_Vp9CodecSettings_GopMode
- type VideoStream_Vp9CodecSettings_GopDuration
- type VideoStream_Vp9CodecSettings_GopFrameCount
- type VideoStream_Vp9CodecSettings_builder
- type VideoStream_builder
Constants ¶
const ElementaryStream_AudioStream_case case_ElementaryStream_ElementaryStream = 2
const ElementaryStream_ElementaryStream_not_set_case case_ElementaryStream_ElementaryStream = 0
const ElementaryStream_TextStream_case case_ElementaryStream_ElementaryStream = 3
const ElementaryStream_VideoStream_case case_ElementaryStream_ElementaryStream = 1
const Job_Config_case case_Job_JobConfig = 5
const Job_JobConfig_not_set_case case_Job_JobConfig = 0
const Overlay_Animation_AnimationEnd_case case_Overlay_Animation_AnimationType = 3
const Overlay_Animation_AnimationFade_case case_Overlay_Animation_AnimationType = 2
const Overlay_Animation_AnimationStatic_case case_Overlay_Animation_AnimationType = 1
const Overlay_Animation_AnimationType_not_set_case case_Overlay_Animation_AnimationType = 0
const PreprocessingConfig_Deinterlace_Bwdif_case case_PreprocessingConfig_Deinterlace_DeinterlacingFilter = 2
const PreprocessingConfig_Deinterlace_DeinterlacingFilter_not_set_case case_PreprocessingConfig_Deinterlace_DeinterlacingFilter = 0
const PreprocessingConfig_Deinterlace_Yadif_case case_PreprocessingConfig_Deinterlace_DeinterlacingFilter = 1
const SpriteSheet_ExtractionStrategy_not_set_case case_SpriteSheet_ExtractionStrategy = 0
const SpriteSheet_Interval_case case_SpriteSheet_ExtractionStrategy = 10
const SpriteSheet_TotalCount_case case_SpriteSheet_ExtractionStrategy = 9
const VideoStream_CodecSettings_not_set_case case_VideoStream_CodecSettings = 0
const VideoStream_H264CodecSettings_GopDuration_case case_VideoStream_H264CodecSettings_GopMode = 10
const VideoStream_H264CodecSettings_GopFrameCount_case case_VideoStream_H264CodecSettings_GopMode = 9
const VideoStream_H264CodecSettings_GopMode_not_set_case case_VideoStream_H264CodecSettings_GopMode = 0
const VideoStream_H264_case case_VideoStream_CodecSettings = 1
const VideoStream_H265CodecSettings_GopDuration_case case_VideoStream_H265CodecSettings_GopMode = 10
const VideoStream_H265CodecSettings_GopFrameCount_case case_VideoStream_H265CodecSettings_GopMode = 9
const VideoStream_H265CodecSettings_GopMode_not_set_case case_VideoStream_H265CodecSettings_GopMode = 0
const VideoStream_H265_case case_VideoStream_CodecSettings = 2
const VideoStream_Vp9CodecSettings_GopDuration_case case_VideoStream_Vp9CodecSettings_GopMode = 9
const VideoStream_Vp9CodecSettings_GopFrameCount_case case_VideoStream_Vp9CodecSettings_GopMode = 8
const VideoStream_Vp9CodecSettings_GopMode_not_set_case case_VideoStream_Vp9CodecSettings_GopMode = 0
const VideoStream_Vp9_case case_VideoStream_CodecSettings = 3
Variables ¶
var ( Job_ProcessingState_name = map[int32]string{ 0: "PROCESSING_STATE_UNSPECIFIED", 1: "PENDING", 2: "RUNNING", 3: "SUCCEEDED", 4: "FAILED", } Job_ProcessingState_value = map[string]int32{ "PROCESSING_STATE_UNSPECIFIED": 0, "PENDING": 1, "RUNNING": 2, "SUCCEEDED": 3, "FAILED": 4, } )
Enum value maps for Job_ProcessingState.
var ( Job_ProcessingMode_name = map[int32]string{ 0: "PROCESSING_MODE_UNSPECIFIED", 1: "PROCESSING_MODE_INTERACTIVE", 2: "PROCESSING_MODE_BATCH", } Job_ProcessingMode_value = map[string]int32{ "PROCESSING_MODE_UNSPECIFIED": 0, "PROCESSING_MODE_INTERACTIVE": 1, "PROCESSING_MODE_BATCH": 2, } )
Enum value maps for Job_ProcessingMode.
var ( Manifest_ManifestType_name = map[int32]string{ 0: "MANIFEST_TYPE_UNSPECIFIED", 1: "HLS", 2: "DASH", } Manifest_ManifestType_value = map[string]int32{ "MANIFEST_TYPE_UNSPECIFIED": 0, "HLS": 1, "DASH": 2, } )
Enum value maps for Manifest_ManifestType.
var ( Overlay_FadeType_name = map[int32]string{ 0: "FADE_TYPE_UNSPECIFIED", 1: "FADE_IN", 2: "FADE_OUT", } Overlay_FadeType_value = map[string]int32{ "FADE_TYPE_UNSPECIFIED": 0, "FADE_IN": 1, "FADE_OUT": 2, } )
Enum value maps for Overlay_FadeType.
var File_google_events_cloud_video_transcoder_v1_data_proto protoreflect.FileDescriptor
var File_google_events_cloud_video_transcoder_v1_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdBreak ¶
type AdBreak struct {
// Start time in seconds for the ad break, relative to the output file
// timeline. The default is `0s`.
StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// contains filtered or unexported fields
}
Ad break.
func (*AdBreak) GetStartTimeOffset ¶
func (x *AdBreak) GetStartTimeOffset() *durationpb.Duration
func (*AdBreak) ProtoReflect ¶
func (x *AdBreak) ProtoReflect() protoreflect.Message
func (*AdBreak) SetStartTimeOffset ¶
func (x *AdBreak) SetStartTimeOffset(v *durationpb.Duration)
type AdBreak_builder ¶
type AdBreak_builder struct {
// Start time in seconds for the ad break, relative to the output file
// timeline. The default is `0s`.
StartTimeOffset *durationpb.Duration
// contains filtered or unexported fields
}
func (AdBreak_builder) Build ¶
func (b0 AdBreak_builder) Build() *AdBreak
type AudioStream ¶
type AudioStream struct {
// The codec for this audio stream. The default is `aac`.
//
// Supported audio codecs:
//
// - `aac`
// - `aac-he`
// - `aac-he-v2`
// - `mp3`
// - `ac3`
// - `eac3`
Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
// Required. Audio bitrate in bits per second. Must be between 1 and
// 10,000,000.
BitrateBps int32 `protobuf:"varint,2,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
// Number of audio channels. Must be between 1 and 6. The default is 2.
ChannelCount int32 `protobuf:"varint,3,opt,name=channel_count,json=channelCount,proto3" json:"channel_count,omitempty"`
// A list of channel names specifying layout of the audio channels.
// This only affects the metadata embedded in the container headers, if
// supported by the specified format. The default is `["fl", "fr"]`.
//
// Supported channel names:
//
// - `fl` - Front left channel
// - `fr` - Front right channel
// - `sl` - Side left channel
// - `sr` - Side right channel
// - `fc` - Front center channel
// - `lfe` - Low frequency
ChannelLayout []string `protobuf:"bytes,4,rep,name=channel_layout,json=channelLayout,proto3" json:"channel_layout,omitempty"`
// The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
Mapping []*AudioStream_AudioMapping `protobuf:"bytes,5,rep,name=mapping,proto3" json:"mapping,omitempty"`
// The audio sample rate in Hertz. The default is 48000 Hertz.
SampleRateHertz int32 `protobuf:"varint,6,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
// The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
// supported in MP4 files.
LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The name for this particular audio stream that
// will be added to the HLS/DASH manifest. Not supported in MP4 files.
DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Audio stream resource.
func (*AudioStream) GetBitrateBps ¶
func (x *AudioStream) GetBitrateBps() int32
func (*AudioStream) GetChannelCount ¶
func (x *AudioStream) GetChannelCount() int32
func (*AudioStream) GetChannelLayout ¶
func (x *AudioStream) GetChannelLayout() []string
func (*AudioStream) GetCodec ¶
func (x *AudioStream) GetCodec() string
func (*AudioStream) GetDisplayName ¶
func (x *AudioStream) GetDisplayName() string
func (*AudioStream) GetLanguageCode ¶
func (x *AudioStream) GetLanguageCode() string
func (*AudioStream) GetMapping ¶
func (x *AudioStream) GetMapping() []*AudioStream_AudioMapping
func (*AudioStream) GetSampleRateHertz ¶
func (x *AudioStream) GetSampleRateHertz() int32
func (*AudioStream) ProtoMessage ¶
func (*AudioStream) ProtoMessage()
func (*AudioStream) ProtoReflect ¶
func (x *AudioStream) ProtoReflect() protoreflect.Message
func (*AudioStream) Reset ¶
func (x *AudioStream) Reset()
func (*AudioStream) SetBitrateBps ¶
func (x *AudioStream) SetBitrateBps(v int32)
func (*AudioStream) SetChannelCount ¶
func (x *AudioStream) SetChannelCount(v int32)
func (*AudioStream) SetChannelLayout ¶
func (x *AudioStream) SetChannelLayout(v []string)
func (*AudioStream) SetCodec ¶
func (x *AudioStream) SetCodec(v string)
func (*AudioStream) SetDisplayName ¶
func (x *AudioStream) SetDisplayName(v string)
func (*AudioStream) SetLanguageCode ¶
func (x *AudioStream) SetLanguageCode(v string)
func (*AudioStream) SetMapping ¶
func (x *AudioStream) SetMapping(v []*AudioStream_AudioMapping)
func (*AudioStream) SetSampleRateHertz ¶
func (x *AudioStream) SetSampleRateHertz(v int32)
func (*AudioStream) String ¶
func (x *AudioStream) String() string
type AudioStream_AudioMapping ¶
type AudioStream_AudioMapping struct {
// Required. The `EditAtom.key` that references the atom with audio inputs
// in the `Job.edit_list`.
AtomKey string `protobuf:"bytes,1,opt,name=atom_key,json=atomKey,proto3" json:"atom_key,omitempty"`
// Required. The `Input.key` that identifies the input file.
InputKey string `protobuf:"bytes,2,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
// Required. The zero-based index of the track in the input file.
InputTrack int32 `protobuf:"varint,3,opt,name=input_track,json=inputTrack,proto3" json:"input_track,omitempty"`
// Required. The zero-based index of the channel in the input audio stream.
InputChannel int32 `protobuf:"varint,4,opt,name=input_channel,json=inputChannel,proto3" json:"input_channel,omitempty"`
// Required. The zero-based index of the channel in the output audio stream.
OutputChannel int32 `protobuf:"varint,5,opt,name=output_channel,json=outputChannel,proto3" json:"output_channel,omitempty"`
// Audio volume control in dB. Negative values decrease volume,
// positive values increase. The default is 0.
GainDb float64 `protobuf:"fixed64,6,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"`
// contains filtered or unexported fields
}
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
func (*AudioStream_AudioMapping) GetAtomKey ¶
func (x *AudioStream_AudioMapping) GetAtomKey() string
func (*AudioStream_AudioMapping) GetGainDb ¶
func (x *AudioStream_AudioMapping) GetGainDb() float64
func (*AudioStream_AudioMapping) GetInputChannel ¶
func (x *AudioStream_AudioMapping) GetInputChannel() int32
func (*AudioStream_AudioMapping) GetInputKey ¶
func (x *AudioStream_AudioMapping) GetInputKey() string
func (*AudioStream_AudioMapping) GetInputTrack ¶
func (x *AudioStream_AudioMapping) GetInputTrack() int32
func (*AudioStream_AudioMapping) GetOutputChannel ¶
func (x *AudioStream_AudioMapping) GetOutputChannel() int32
func (*AudioStream_AudioMapping) ProtoMessage ¶
func (*AudioStream_AudioMapping) ProtoMessage()
func (*AudioStream_AudioMapping) ProtoReflect ¶
func (x *AudioStream_AudioMapping) ProtoReflect() protoreflect.Message
func (*AudioStream_AudioMapping) Reset ¶
func (x *AudioStream_AudioMapping) Reset()
func (*AudioStream_AudioMapping) SetAtomKey ¶
func (x *AudioStream_AudioMapping) SetAtomKey(v string)
func (*AudioStream_AudioMapping) SetGainDb ¶
func (x *AudioStream_AudioMapping) SetGainDb(v float64)
func (*AudioStream_AudioMapping) SetInputChannel ¶
func (x *AudioStream_AudioMapping) SetInputChannel(v int32)
func (*AudioStream_AudioMapping) SetInputKey ¶
func (x *AudioStream_AudioMapping) SetInputKey(v string)
func (*AudioStream_AudioMapping) SetInputTrack ¶
func (x *AudioStream_AudioMapping) SetInputTrack(v int32)
func (*AudioStream_AudioMapping) SetOutputChannel ¶
func (x *AudioStream_AudioMapping) SetOutputChannel(v int32)
func (*AudioStream_AudioMapping) String ¶
func (x *AudioStream_AudioMapping) String() string
type AudioStream_AudioMapping_builder ¶
type AudioStream_AudioMapping_builder struct {
// Required. The `EditAtom.key` that references the atom with audio inputs
// in the `Job.edit_list`.
AtomKey string
// Required. The `Input.key` that identifies the input file.
InputKey string
// Required. The zero-based index of the track in the input file.
InputTrack int32
// Required. The zero-based index of the channel in the input audio stream.
InputChannel int32
// Required. The zero-based index of the channel in the output audio stream.
OutputChannel int32
// Audio volume control in dB. Negative values decrease volume,
// positive values increase. The default is 0.
GainDb float64
// contains filtered or unexported fields
}
func (AudioStream_AudioMapping_builder) Build ¶
func (b0 AudioStream_AudioMapping_builder) Build() *AudioStream_AudioMapping
type AudioStream_builder ¶
type AudioStream_builder struct {
// The codec for this audio stream. The default is `aac`.
//
// Supported audio codecs:
//
// - `aac`
// - `aac-he`
// - `aac-he-v2`
// - `mp3`
// - `ac3`
// - `eac3`
Codec string
// Required. Audio bitrate in bits per second. Must be between 1 and
// 10,000,000.
BitrateBps int32
// Number of audio channels. Must be between 1 and 6. The default is 2.
ChannelCount int32
// A list of channel names specifying layout of the audio channels.
// This only affects the metadata embedded in the container headers, if
// supported by the specified format. The default is `["fl", "fr"]`.
//
// Supported channel names:
//
// - `fl` - Front left channel
// - `fr` - Front right channel
// - `sl` - Side left channel
// - `sr` - Side right channel
// - `fc` - Front center channel
// - `lfe` - Low frequency
ChannelLayout []string
// The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
Mapping []*AudioStream_AudioMapping
// The audio sample rate in Hertz. The default is 48000 Hertz.
SampleRateHertz int32
// The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
// supported in MP4 files.
LanguageCode string
// The name for this particular audio stream that
// will be added to the HLS/DASH manifest. Not supported in MP4 files.
DisplayName string
// contains filtered or unexported fields
}
func (AudioStream_builder) Build ¶
func (b0 AudioStream_builder) Build() *AudioStream
type EditAtom ¶
type EditAtom struct {
// A unique key for this atom. Must be specified when using advanced
// mapping.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// List of `Input.key`s identifying files that should be used in this atom.
// The listed `inputs` must have the same timeline.
Inputs []string `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
// End time in seconds for the atom, relative to the input file timeline.
// When `end_time_offset` is not specified, the `inputs` are used until
// the end of the atom.
EndTimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
// Start time in seconds for the atom, relative to the input file timeline.
// The default is `0s`.
StartTimeOffset *durationpb.Duration `protobuf:"bytes,4,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// contains filtered or unexported fields
}
Edit atom.
func (*EditAtom) GetEndTimeOffset ¶
func (x *EditAtom) GetEndTimeOffset() *durationpb.Duration
func (*EditAtom) GetStartTimeOffset ¶
func (x *EditAtom) GetStartTimeOffset() *durationpb.Duration
func (*EditAtom) ProtoReflect ¶
func (x *EditAtom) ProtoReflect() protoreflect.Message
func (*EditAtom) SetEndTimeOffset ¶
func (x *EditAtom) SetEndTimeOffset(v *durationpb.Duration)
func (*EditAtom) SetStartTimeOffset ¶
func (x *EditAtom) SetStartTimeOffset(v *durationpb.Duration)
type EditAtom_builder ¶
type EditAtom_builder struct {
// A unique key for this atom. Must be specified when using advanced
// mapping.
Key string
// List of `Input.key`s identifying files that should be used in this atom.
// The listed `inputs` must have the same timeline.
Inputs []string
// End time in seconds for the atom, relative to the input file timeline.
// When `end_time_offset` is not specified, the `inputs` are used until
// the end of the atom.
EndTimeOffset *durationpb.Duration
// Start time in seconds for the atom, relative to the input file timeline.
// The default is `0s`.
StartTimeOffset *durationpb.Duration
// contains filtered or unexported fields
}
func (EditAtom_builder) Build ¶
func (b0 EditAtom_builder) Build() *EditAtom
type ElementaryStream ¶
type ElementaryStream struct {
// A unique key for this elementary stream.
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
// Encoding of an audio, video, or text track.
//
// Types that are valid to be assigned to ElementaryStream:
//
// *ElementaryStream_VideoStream
// *ElementaryStream_AudioStream
// *ElementaryStream_TextStream
ElementaryStream isElementaryStream_ElementaryStream `protobuf_oneof:"elementary_stream"`
// contains filtered or unexported fields
}
Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
func (*ElementaryStream) ClearAudioStream ¶
func (x *ElementaryStream) ClearAudioStream()
func (*ElementaryStream) ClearElementaryStream ¶
func (x *ElementaryStream) ClearElementaryStream()
func (*ElementaryStream) ClearTextStream ¶
func (x *ElementaryStream) ClearTextStream()
func (*ElementaryStream) ClearVideoStream ¶
func (x *ElementaryStream) ClearVideoStream()
func (*ElementaryStream) GetAudioStream ¶
func (x *ElementaryStream) GetAudioStream() *AudioStream
func (*ElementaryStream) GetElementaryStream ¶
func (x *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStream
func (*ElementaryStream) GetKey ¶
func (x *ElementaryStream) GetKey() string
func (*ElementaryStream) GetTextStream ¶
func (x *ElementaryStream) GetTextStream() *TextStream
func (*ElementaryStream) GetVideoStream ¶
func (x *ElementaryStream) GetVideoStream() *VideoStream
func (*ElementaryStream) HasAudioStream ¶
func (x *ElementaryStream) HasAudioStream() bool
func (*ElementaryStream) HasElementaryStream ¶
func (x *ElementaryStream) HasElementaryStream() bool
func (*ElementaryStream) HasTextStream ¶
func (x *ElementaryStream) HasTextStream() bool
func (*ElementaryStream) HasVideoStream ¶
func (x *ElementaryStream) HasVideoStream() bool
func (*ElementaryStream) ProtoMessage ¶
func (*ElementaryStream) ProtoMessage()
func (*ElementaryStream) ProtoReflect ¶
func (x *ElementaryStream) ProtoReflect() protoreflect.Message
func (*ElementaryStream) Reset ¶
func (x *ElementaryStream) Reset()
func (*ElementaryStream) SetAudioStream ¶
func (x *ElementaryStream) SetAudioStream(v *AudioStream)
func (*ElementaryStream) SetKey ¶
func (x *ElementaryStream) SetKey(v string)
func (*ElementaryStream) SetTextStream ¶
func (x *ElementaryStream) SetTextStream(v *TextStream)
func (*ElementaryStream) SetVideoStream ¶
func (x *ElementaryStream) SetVideoStream(v *VideoStream)
func (*ElementaryStream) String ¶
func (x *ElementaryStream) String() string
func (*ElementaryStream) WhichElementaryStream ¶
func (x *ElementaryStream) WhichElementaryStream() case_ElementaryStream_ElementaryStream
type ElementaryStream_AudioStream ¶
type ElementaryStream_AudioStream struct {
// Encoding of an audio stream.
AudioStream *AudioStream `protobuf:"bytes,2,opt,name=audio_stream,json=audioStream,proto3,oneof"`
}
type ElementaryStream_TextStream ¶
type ElementaryStream_TextStream struct {
// Encoding of a text stream. For example, closed captions or subtitles.
TextStream *TextStream `protobuf:"bytes,3,opt,name=text_stream,json=textStream,proto3,oneof"`
}
type ElementaryStream_VideoStream ¶
type ElementaryStream_VideoStream struct {
// Encoding of a video stream.
VideoStream *VideoStream `protobuf:"bytes,1,opt,name=video_stream,json=videoStream,proto3,oneof"`
}
type ElementaryStream_builder ¶
type ElementaryStream_builder struct {
// A unique key for this elementary stream.
Key string
// Fields of oneof ElementaryStream:
// Encoding of a video stream.
VideoStream *VideoStream
// Encoding of an audio stream.
AudioStream *AudioStream
// Encoding of a text stream. For example, closed captions or subtitles.
TextStream *TextStream
// contains filtered or unexported fields
}
func (ElementaryStream_builder) Build ¶
func (b0 ElementaryStream_builder) Build() *ElementaryStream
type Input ¶
type Input struct {
// A unique key for this input. Must be specified when using advanced
// mapping and edit lists.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// URI of the media. Input files must be at least 5 seconds in duration and
// stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
// If empty, the value is populated from `Job.input_uri`. See
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// Preprocessing configurations.
PreprocessingConfig *PreprocessingConfig `protobuf:"bytes,3,opt,name=preprocessing_config,json=preprocessingConfig,proto3" json:"preprocessing_config,omitempty"`
// contains filtered or unexported fields
}
Input asset.
func (*Input) GetPreprocessingConfig ¶
func (x *Input) GetPreprocessingConfig() *PreprocessingConfig
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
func (*Input) SetPreprocessingConfig ¶
func (x *Input) SetPreprocessingConfig(v *PreprocessingConfig)
type Input_builder ¶
type Input_builder struct {
// A unique key for this input. Must be specified when using advanced
// mapping and edit lists.
Key string
// URI of the media. Input files must be at least 5 seconds in duration and
// stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
// If empty, the value is populated from `Job.input_uri`. See
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
Uri string
// Preprocessing configurations.
PreprocessingConfig *PreprocessingConfig
// contains filtered or unexported fields
}
func (Input_builder) Build ¶
func (b0 Input_builder) Build() *Input
type Job ¶
type Job struct {
// The resource name of the job.
// Format: `projects/{project_number}/locations/{location}/jobs/{job}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Specify the `job_config` for the transcoding job. If you don't specify the
// `job_config`, the API selects `templateId`; this template ID is set to
// `preset/web-hd` by default. When you use a `template_id` to create a job,
// the `Job.config` is populated by the `JobTemplate.config`.<br>
//
// Types that are valid to be assigned to JobConfig:
//
// *Job_Config
JobConfig isJob_JobConfig `protobuf_oneof:"job_config"`
// Output only. The current state of the job.
State Job_ProcessingState `` /* 129-byte string literal not displayed */
// Output only. The time the job was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the transcoding started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The time the transcoding finished.
EndTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Job time to live value in days, which will be effective after job
// completion. Job should be deleted automatically after the given TTL. Enter
// a value between 1 and 90. The default is 30.
TtlAfterCompletionDays int32 `` /* 133-byte string literal not displayed */
// The labels associated with this job. You can use these to organize and
// group your jobs.
Labels map[string]string `` /* 140-byte string literal not displayed */
// Output only. An error object that describes the reason for the failure.
// This property is always present when `state` is `FAILED`.
Error *status.Status `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"`
// The processing mode of the job.
// The default is `PROCESSING_MODE_INTERACTIVE`.
Mode Job_ProcessingMode `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Transcoding job resource.
func (*Job) GetCreateTime ¶
func (x *Job) GetCreateTime() *timestamppb.Timestamp
func (*Job) GetEndTime ¶
func (x *Job) GetEndTime() *timestamppb.Timestamp
func (*Job) GetMode ¶
func (x *Job) GetMode() Job_ProcessingMode
func (*Job) GetStartTime ¶
func (x *Job) GetStartTime() *timestamppb.Timestamp
func (*Job) GetState ¶
func (x *Job) GetState() Job_ProcessingState
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) SetCreateTime ¶
func (x *Job) SetCreateTime(v *timestamppb.Timestamp)
func (*Job) SetEndTime ¶
func (x *Job) SetEndTime(v *timestamppb.Timestamp)
func (*Job) SetMode ¶
func (x *Job) SetMode(v Job_ProcessingMode)
func (*Job) SetStartTime ¶
func (x *Job) SetStartTime(v *timestamppb.Timestamp)
func (*Job) SetState ¶
func (x *Job) SetState(v Job_ProcessingState)
type JobConfig ¶
type JobConfig struct {
// List of input assets stored in Cloud Storage.
Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
// List of `Edit atom`s. Defines the ultimate timeline of the resulting
// file or manifest.
EditList []*EditAtom `protobuf:"bytes,2,rep,name=edit_list,json=editList,proto3" json:"edit_list,omitempty"`
// List of elementary streams.
ElementaryStreams []*ElementaryStream `protobuf:"bytes,3,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
// List of multiplexing settings for output streams.
MuxStreams []*MuxStream `protobuf:"bytes,4,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
// List of output manifests.
Manifests []*Manifest `protobuf:"bytes,5,rep,name=manifests,proto3" json:"manifests,omitempty"`
// Output configuration.
Output *Output `protobuf:"bytes,6,opt,name=output,proto3" json:"output,omitempty"`
// List of ad breaks. Specifies where to insert ad break tags in the output
// manifests.
AdBreaks []*AdBreak `protobuf:"bytes,7,rep,name=ad_breaks,json=adBreaks,proto3" json:"ad_breaks,omitempty"`
// Destination on Pub/Sub.
PubsubDestination *PubsubDestination `protobuf:"bytes,8,opt,name=pubsub_destination,json=pubsubDestination,proto3" json:"pubsub_destination,omitempty"`
// List of output sprite sheets.
// Spritesheets require at least one VideoStream in the Jobconfig.
SpriteSheets []*SpriteSheet `protobuf:"bytes,9,rep,name=sprite_sheets,json=spriteSheets,proto3" json:"sprite_sheets,omitempty"`
// List of overlays on the output video, in descending Z-order.
Overlays []*Overlay `protobuf:"bytes,10,rep,name=overlays,proto3" json:"overlays,omitempty"`
// contains filtered or unexported fields
}
Job configuration
func (*JobConfig) GetElementaryStreams ¶
func (x *JobConfig) GetElementaryStreams() []*ElementaryStream
func (*JobConfig) GetPubsubDestination ¶
func (x *JobConfig) GetPubsubDestination() *PubsubDestination
func (*JobConfig) GetSpriteSheets ¶
func (x *JobConfig) GetSpriteSheets() []*SpriteSheet
func (*JobConfig) ProtoReflect ¶
func (x *JobConfig) ProtoReflect() protoreflect.Message
func (*JobConfig) SetElementaryStreams ¶
func (x *JobConfig) SetElementaryStreams(v []*ElementaryStream)
func (*JobConfig) SetPubsubDestination ¶
func (x *JobConfig) SetPubsubDestination(v *PubsubDestination)
func (*JobConfig) SetSpriteSheets ¶
func (x *JobConfig) SetSpriteSheets(v []*SpriteSheet)
type JobConfig_builder ¶
type JobConfig_builder struct {
// List of input assets stored in Cloud Storage.
Inputs []*Input
// List of `Edit atom`s. Defines the ultimate timeline of the resulting
// file or manifest.
EditList []*EditAtom
// List of elementary streams.
ElementaryStreams []*ElementaryStream
// List of multiplexing settings for output streams.
MuxStreams []*MuxStream
// List of output manifests.
Manifests []*Manifest
// Output configuration.
Output *Output
// List of ad breaks. Specifies where to insert ad break tags in the output
// manifests.
AdBreaks []*AdBreak
// Destination on Pub/Sub.
PubsubDestination *PubsubDestination
// List of output sprite sheets.
// Spritesheets require at least one VideoStream in the Jobconfig.
SpriteSheets []*SpriteSheet
// List of overlays on the output video, in descending Z-order.
Overlays []*Overlay
// contains filtered or unexported fields
}
func (JobConfig_builder) Build ¶
func (b0 JobConfig_builder) Build() *JobConfig
type JobCreatedEvent ¶
type JobCreatedEvent struct {
// The data associated with the event.
Data *JobEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Job is created.
func (*JobCreatedEvent) ClearData ¶
func (x *JobCreatedEvent) ClearData()
func (*JobCreatedEvent) GetData ¶
func (x *JobCreatedEvent) GetData() *JobEventData
func (*JobCreatedEvent) HasData ¶
func (x *JobCreatedEvent) HasData() bool
func (*JobCreatedEvent) ProtoMessage ¶
func (*JobCreatedEvent) ProtoMessage()
func (*JobCreatedEvent) ProtoReflect ¶
func (x *JobCreatedEvent) ProtoReflect() protoreflect.Message
func (*JobCreatedEvent) Reset ¶
func (x *JobCreatedEvent) Reset()
func (*JobCreatedEvent) SetData ¶
func (x *JobCreatedEvent) SetData(v *JobEventData)
func (*JobCreatedEvent) String ¶
func (x *JobCreatedEvent) String() string
type JobCreatedEvent_builder ¶
type JobCreatedEvent_builder struct {
// The data associated with the event.
Data *JobEventData
// contains filtered or unexported fields
}
func (JobCreatedEvent_builder) Build ¶
func (b0 JobCreatedEvent_builder) Build() *JobCreatedEvent
type JobDeletedEvent ¶
type JobDeletedEvent struct {
// The data associated with the event.
Data *JobEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a Job is deleted.
func (*JobDeletedEvent) ClearData ¶
func (x *JobDeletedEvent) ClearData()
func (*JobDeletedEvent) GetData ¶
func (x *JobDeletedEvent) GetData() *JobEventData
func (*JobDeletedEvent) HasData ¶
func (x *JobDeletedEvent) HasData() bool
func (*JobDeletedEvent) ProtoMessage ¶
func (*JobDeletedEvent) ProtoMessage()
func (*JobDeletedEvent) ProtoReflect ¶
func (x *JobDeletedEvent) ProtoReflect() protoreflect.Message
func (*JobDeletedEvent) Reset ¶
func (x *JobDeletedEvent) Reset()
func (*JobDeletedEvent) SetData ¶
func (x *JobDeletedEvent) SetData(v *JobEventData)
func (*JobDeletedEvent) String ¶
func (x *JobDeletedEvent) String() string
type JobDeletedEvent_builder ¶
type JobDeletedEvent_builder struct {
// The data associated with the event.
Data *JobEventData
// contains filtered or unexported fields
}
func (JobDeletedEvent_builder) Build ¶
func (b0 JobDeletedEvent_builder) Build() *JobDeletedEvent
type JobEventData ¶
type JobEventData struct {
// Optional. The Job event payload. Unset for deletion events.
Payload *Job `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all Job events.
func (*JobEventData) ClearPayload ¶
func (x *JobEventData) ClearPayload()
func (*JobEventData) GetPayload ¶
func (x *JobEventData) GetPayload() *Job
func (*JobEventData) HasPayload ¶
func (x *JobEventData) HasPayload() bool
func (*JobEventData) ProtoMessage ¶
func (*JobEventData) ProtoMessage()
func (*JobEventData) ProtoReflect ¶
func (x *JobEventData) ProtoReflect() protoreflect.Message
func (*JobEventData) Reset ¶
func (x *JobEventData) Reset()
func (*JobEventData) SetPayload ¶
func (x *JobEventData) SetPayload(v *Job)
func (*JobEventData) String ¶
func (x *JobEventData) String() string
type JobEventData_builder ¶
type JobEventData_builder struct {
// Optional. The Job event payload. Unset for deletion events.
Payload *Job
// contains filtered or unexported fields
}
func (JobEventData_builder) Build ¶
func (b0 JobEventData_builder) Build() *JobEventData
type JobTemplate ¶
type JobTemplate struct {
// The resource name of the job template.
// Format:
// `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The configuration for this template.
Config *JobConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// The labels associated with this job template. You can use these to organize
// and group your job templates.
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Transcoding job template resource.
func (*JobTemplate) ClearConfig ¶
func (x *JobTemplate) ClearConfig()
func (*JobTemplate) GetConfig ¶
func (x *JobTemplate) GetConfig() *JobConfig
func (*JobTemplate) GetLabels ¶
func (x *JobTemplate) GetLabels() map[string]string
func (*JobTemplate) GetName ¶
func (x *JobTemplate) GetName() string
func (*JobTemplate) HasConfig ¶
func (x *JobTemplate) HasConfig() bool
func (*JobTemplate) ProtoMessage ¶
func (*JobTemplate) ProtoMessage()
func (*JobTemplate) ProtoReflect ¶
func (x *JobTemplate) ProtoReflect() protoreflect.Message
func (*JobTemplate) Reset ¶
func (x *JobTemplate) Reset()
func (*JobTemplate) SetConfig ¶
func (x *JobTemplate) SetConfig(v *JobConfig)
func (*JobTemplate) SetLabels ¶
func (x *JobTemplate) SetLabels(v map[string]string)
func (*JobTemplate) SetName ¶
func (x *JobTemplate) SetName(v string)
func (*JobTemplate) String ¶
func (x *JobTemplate) String() string
type JobTemplateCreatedEvent ¶
type JobTemplateCreatedEvent struct {
// The data associated with the event.
Data *JobTemplateEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a JobTemplate is created.
func (*JobTemplateCreatedEvent) ClearData ¶
func (x *JobTemplateCreatedEvent) ClearData()
func (*JobTemplateCreatedEvent) GetData ¶
func (x *JobTemplateCreatedEvent) GetData() *JobTemplateEventData
func (*JobTemplateCreatedEvent) HasData ¶
func (x *JobTemplateCreatedEvent) HasData() bool
func (*JobTemplateCreatedEvent) ProtoMessage ¶
func (*JobTemplateCreatedEvent) ProtoMessage()
func (*JobTemplateCreatedEvent) ProtoReflect ¶
func (x *JobTemplateCreatedEvent) ProtoReflect() protoreflect.Message
func (*JobTemplateCreatedEvent) Reset ¶
func (x *JobTemplateCreatedEvent) Reset()
func (*JobTemplateCreatedEvent) SetData ¶
func (x *JobTemplateCreatedEvent) SetData(v *JobTemplateEventData)
func (*JobTemplateCreatedEvent) String ¶
func (x *JobTemplateCreatedEvent) String() string
type JobTemplateCreatedEvent_builder ¶
type JobTemplateCreatedEvent_builder struct {
// The data associated with the event.
Data *JobTemplateEventData
// contains filtered or unexported fields
}
func (JobTemplateCreatedEvent_builder) Build ¶
func (b0 JobTemplateCreatedEvent_builder) Build() *JobTemplateCreatedEvent
type JobTemplateDeletedEvent ¶
type JobTemplateDeletedEvent struct {
// The data associated with the event.
Data *JobTemplateEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
The CloudEvent raised when a JobTemplate is deleted.
func (*JobTemplateDeletedEvent) ClearData ¶
func (x *JobTemplateDeletedEvent) ClearData()
func (*JobTemplateDeletedEvent) GetData ¶
func (x *JobTemplateDeletedEvent) GetData() *JobTemplateEventData
func (*JobTemplateDeletedEvent) HasData ¶
func (x *JobTemplateDeletedEvent) HasData() bool
func (*JobTemplateDeletedEvent) ProtoMessage ¶
func (*JobTemplateDeletedEvent) ProtoMessage()
func (*JobTemplateDeletedEvent) ProtoReflect ¶
func (x *JobTemplateDeletedEvent) ProtoReflect() protoreflect.Message
func (*JobTemplateDeletedEvent) Reset ¶
func (x *JobTemplateDeletedEvent) Reset()
func (*JobTemplateDeletedEvent) SetData ¶
func (x *JobTemplateDeletedEvent) SetData(v *JobTemplateEventData)
func (*JobTemplateDeletedEvent) String ¶
func (x *JobTemplateDeletedEvent) String() string
type JobTemplateDeletedEvent_builder ¶
type JobTemplateDeletedEvent_builder struct {
// The data associated with the event.
Data *JobTemplateEventData
// contains filtered or unexported fields
}
func (JobTemplateDeletedEvent_builder) Build ¶
func (b0 JobTemplateDeletedEvent_builder) Build() *JobTemplateDeletedEvent
type JobTemplateEventData ¶
type JobTemplateEventData struct {
// Optional. The JobTemplate event payload. Unset for deletion events.
Payload *JobTemplate `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
// contains filtered or unexported fields
}
The data within all JobTemplate events.
func (*JobTemplateEventData) ClearPayload ¶
func (x *JobTemplateEventData) ClearPayload()
func (*JobTemplateEventData) GetPayload ¶
func (x *JobTemplateEventData) GetPayload() *JobTemplate
func (*JobTemplateEventData) HasPayload ¶
func (x *JobTemplateEventData) HasPayload() bool
func (*JobTemplateEventData) ProtoMessage ¶
func (*JobTemplateEventData) ProtoMessage()
func (*JobTemplateEventData) ProtoReflect ¶
func (x *JobTemplateEventData) ProtoReflect() protoreflect.Message
func (*JobTemplateEventData) Reset ¶
func (x *JobTemplateEventData) Reset()
func (*JobTemplateEventData) SetPayload ¶
func (x *JobTemplateEventData) SetPayload(v *JobTemplate)
func (*JobTemplateEventData) String ¶
func (x *JobTemplateEventData) String() string
type JobTemplateEventData_builder ¶
type JobTemplateEventData_builder struct {
// Optional. The JobTemplate event payload. Unset for deletion events.
Payload *JobTemplate
// contains filtered or unexported fields
}
func (JobTemplateEventData_builder) Build ¶
func (b0 JobTemplateEventData_builder) Build() *JobTemplateEventData
type JobTemplate_builder ¶
type JobTemplate_builder struct {
// The resource name of the job template.
// Format:
// `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
Name string
// The configuration for this template.
Config *JobConfig
// The labels associated with this job template. You can use these to organize
// and group your job templates.
Labels map[string]string
// contains filtered or unexported fields
}
func (JobTemplate_builder) Build ¶
func (b0 JobTemplate_builder) Build() *JobTemplate
type Job_Config ¶
type Job_Config struct {
// The configuration for this job.
Config *JobConfig `protobuf:"bytes,5,opt,name=config,proto3,oneof"`
}
type Job_ProcessingMode ¶
type Job_ProcessingMode int32
The processing mode of the job.
const ( // The job processing mode is not specified. Job_PROCESSING_MODE_UNSPECIFIED Job_ProcessingMode = 0 // The job processing mode is interactive mode. // Interactive job will either be ran or rejected if quota does not allow // for it. Job_PROCESSING_MODE_INTERACTIVE Job_ProcessingMode = 1 // The job processing mode is batch mode. // Batch mode allows queuing of jobs. Job_PROCESSING_MODE_BATCH Job_ProcessingMode = 2 )
func (Job_ProcessingMode) Descriptor ¶
func (Job_ProcessingMode) Descriptor() protoreflect.EnumDescriptor
func (Job_ProcessingMode) Enum ¶
func (x Job_ProcessingMode) Enum() *Job_ProcessingMode
func (Job_ProcessingMode) Number ¶
func (x Job_ProcessingMode) Number() protoreflect.EnumNumber
func (Job_ProcessingMode) String ¶
func (x Job_ProcessingMode) String() string
func (Job_ProcessingMode) Type ¶
func (Job_ProcessingMode) Type() protoreflect.EnumType
type Job_ProcessingState ¶
type Job_ProcessingState int32
The current state of the job.
const ( // The processing state is not specified. Job_PROCESSING_STATE_UNSPECIFIED Job_ProcessingState = 0 // The job is enqueued and will be picked up for processing soon. Job_PENDING Job_ProcessingState = 1 // The job is being processed. Job_RUNNING Job_ProcessingState = 2 // The job has been completed successfully. Job_SUCCEEDED Job_ProcessingState = 3 // The job has failed. For additional information, see `failure_reason` and // `failure_details` Job_FAILED Job_ProcessingState = 4 )
func (Job_ProcessingState) Descriptor ¶
func (Job_ProcessingState) Descriptor() protoreflect.EnumDescriptor
func (Job_ProcessingState) Enum ¶
func (x Job_ProcessingState) Enum() *Job_ProcessingState
func (Job_ProcessingState) Number ¶
func (x Job_ProcessingState) Number() protoreflect.EnumNumber
func (Job_ProcessingState) String ¶
func (x Job_ProcessingState) String() string
func (Job_ProcessingState) Type ¶
func (Job_ProcessingState) Type() protoreflect.EnumType
type Job_builder ¶
type Job_builder struct {
// The resource name of the job.
// Format: `projects/{project_number}/locations/{location}/jobs/{job}`
Name string
// Fields of oneof JobConfig:
// The configuration for this job.
Config *JobConfig
// -- end of JobConfig
// Output only. The current state of the job.
State Job_ProcessingState
// Output only. The time the job was created.
CreateTime *timestamppb.Timestamp
// Output only. The time the transcoding started.
StartTime *timestamppb.Timestamp
// Output only. The time the transcoding finished.
EndTime *timestamppb.Timestamp
// Job time to live value in days, which will be effective after job
// completion. Job should be deleted automatically after the given TTL. Enter
// a value between 1 and 90. The default is 30.
TtlAfterCompletionDays int32
// The labels associated with this job. You can use these to organize and
// group your jobs.
Labels map[string]string
// Output only. An error object that describes the reason for the failure.
// This property is always present when `state` is `FAILED`.
Error *status.Status
// The processing mode of the job.
// The default is `PROCESSING_MODE_INTERACTIVE`.
Mode Job_ProcessingMode
// contains filtered or unexported fields
}
func (Job_builder) Build ¶
func (b0 Job_builder) Build() *Job
type Manifest ¶
type Manifest struct {
// The name of the generated file. The default is `manifest` with the
// extension suffix corresponding to the `Manifest.type`.
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// Required. Type of the manifest.
Type Manifest_ManifestType `` /* 129-byte string literal not displayed */
// Required. List of user given `MuxStream.key`s that should appear in this
// manifest.
//
// When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
// and `.m3u8` extension is generated for each element of the
// `Manifest.mux_streams`.
MuxStreams []string `protobuf:"bytes,3,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
// contains filtered or unexported fields
}
Manifest configuration.
func (*Manifest) GetType ¶
func (x *Manifest) GetType() Manifest_ManifestType
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
func (*Manifest) SetType ¶
func (x *Manifest) SetType(v Manifest_ManifestType)
type Manifest_ManifestType ¶
type Manifest_ManifestType int32
The manifest type, which corresponds to the adaptive streaming format used.
const ( // The manifest type is not specified. Manifest_MANIFEST_TYPE_UNSPECIFIED Manifest_ManifestType = 0 // Create an HLS manifest. The corresponding file extension is `.m3u8`. Manifest_HLS Manifest_ManifestType = 1 // Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`. Manifest_DASH Manifest_ManifestType = 2 )
func (Manifest_ManifestType) Descriptor ¶
func (Manifest_ManifestType) Descriptor() protoreflect.EnumDescriptor
func (Manifest_ManifestType) Enum ¶
func (x Manifest_ManifestType) Enum() *Manifest_ManifestType
func (Manifest_ManifestType) Number ¶
func (x Manifest_ManifestType) Number() protoreflect.EnumNumber
func (Manifest_ManifestType) String ¶
func (x Manifest_ManifestType) String() string
func (Manifest_ManifestType) Type ¶
func (Manifest_ManifestType) Type() protoreflect.EnumType
type Manifest_builder ¶
type Manifest_builder struct {
// The name of the generated file. The default is `manifest` with the
// extension suffix corresponding to the `Manifest.type`.
FileName string
// Required. Type of the manifest.
Type Manifest_ManifestType
// Required. List of user given `MuxStream.key`s that should appear in this
// manifest.
//
// When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
// and `.m3u8` extension is generated for each element of the
// `Manifest.mux_streams`.
MuxStreams []string
// contains filtered or unexported fields
}
func (Manifest_builder) Build ¶
func (b0 Manifest_builder) Build() *Manifest
type MuxStream ¶
type MuxStream struct {
// A unique key for this multiplexed stream. HLS media manifests will be
// named `MuxStream.key` with the `.m3u8` extension suffix.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// The name of the generated file. The default is `MuxStream.key` with the
// extension suffix corresponding to the `MuxStream.container`.
//
// Individual segments also have an incremental 10-digit zero-padded suffix
// starting from 0 before the extension, such as `mux_stream0000000123.ts`.
FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// The container format. The default is `mp4`
//
// Supported container formats:
//
// - `ts`
// - `fmp4`- the corresponding file extension is `.m4s`
// - `mp4`
// - `vtt`
//
// See also:
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
// List of `ElementaryStream.key`s multiplexed in this stream.
ElementaryStreams []string `protobuf:"bytes,4,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
// Segment settings for `ts`, `fmp4` and `vtt`.
SegmentSettings *SegmentSettings `protobuf:"bytes,5,opt,name=segment_settings,json=segmentSettings,proto3" json:"segment_settings,omitempty"`
// contains filtered or unexported fields
}
Multiplexing settings for output stream.
func (*MuxStream) GetSegmentSettings ¶
func (x *MuxStream) GetSegmentSettings() *SegmentSettings
func (*MuxStream) ProtoReflect ¶
func (x *MuxStream) ProtoReflect() protoreflect.Message
func (*MuxStream) SetSegmentSettings ¶
func (x *MuxStream) SetSegmentSettings(v *SegmentSettings)
type MuxStream_builder ¶
type MuxStream_builder struct {
// A unique key for this multiplexed stream. HLS media manifests will be
// named `MuxStream.key` with the `.m3u8` extension suffix.
Key string
// The name of the generated file. The default is `MuxStream.key` with the
// extension suffix corresponding to the `MuxStream.container`.
//
// Individual segments also have an incremental 10-digit zero-padded suffix
// starting from 0 before the extension, such as `mux_stream0000000123.ts`.
FileName string
// The container format. The default is `mp4`
//
// Supported container formats:
//
// - `ts`
// - `fmp4`- the corresponding file extension is `.m4s`
// - `mp4`
// - `vtt`
//
// See also:
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
Container string
// List of `ElementaryStream.key`s multiplexed in this stream.
ElementaryStreams []string
// Segment settings for `ts`, `fmp4` and `vtt`.
SegmentSettings *SegmentSettings
// contains filtered or unexported fields
}
func (MuxStream_builder) Build ¶
func (b0 MuxStream_builder) Build() *MuxStream
type Output ¶
type Output struct {
// URI for the output file(s). For example, `gs://my-bucket/outputs/`.
// If empty, the value is populated from `Job.output_uri`. See
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Location of output file(s) in a Cloud Storage bucket.
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
type Output_builder ¶
type Output_builder struct {
// URI for the output file(s). For example, `gs://my-bucket/outputs/`.
// If empty, the value is populated from `Job.output_uri`. See
// [Supported input and output
// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
Uri string
// contains filtered or unexported fields
}
func (Output_builder) Build ¶
func (b0 Output_builder) Build() *Output
type Overlay ¶
type Overlay struct {
// Image overlay.
Image *Overlay_Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// List of Animations. The list should be chronological, without any time
// overlap.
Animations []*Overlay_Animation `protobuf:"bytes,2,rep,name=animations,proto3" json:"animations,omitempty"`
// contains filtered or unexported fields
}
Overlay configuration.
func (*Overlay) GetAnimations ¶
func (x *Overlay) GetAnimations() []*Overlay_Animation
func (*Overlay) GetImage ¶
func (x *Overlay) GetImage() *Overlay_Image
func (*Overlay) ProtoReflect ¶
func (x *Overlay) ProtoReflect() protoreflect.Message
func (*Overlay) SetAnimations ¶
func (x *Overlay) SetAnimations(v []*Overlay_Animation)
func (*Overlay) SetImage ¶
func (x *Overlay) SetImage(v *Overlay_Image)
type Overlay_Animation ¶
type Overlay_Animation struct {
// Animations can be static or fade, or they can end the previous animation.
//
// Types that are valid to be assigned to AnimationType:
//
// *Overlay_Animation_AnimationStatic
// *Overlay_Animation_AnimationFade
// *Overlay_Animation_AnimationEnd
AnimationType isOverlay_Animation_AnimationType `protobuf_oneof:"animation_type"`
// contains filtered or unexported fields
}
Animation types.
func (*Overlay_Animation) ClearAnimationEnd ¶
func (x *Overlay_Animation) ClearAnimationEnd()
func (*Overlay_Animation) ClearAnimationFade ¶
func (x *Overlay_Animation) ClearAnimationFade()
func (*Overlay_Animation) ClearAnimationStatic ¶
func (x *Overlay_Animation) ClearAnimationStatic()
func (*Overlay_Animation) ClearAnimationType ¶
func (x *Overlay_Animation) ClearAnimationType()
func (*Overlay_Animation) GetAnimationEnd ¶
func (x *Overlay_Animation) GetAnimationEnd() *Overlay_AnimationEnd
func (*Overlay_Animation) GetAnimationFade ¶
func (x *Overlay_Animation) GetAnimationFade() *Overlay_AnimationFade
func (*Overlay_Animation) GetAnimationStatic ¶
func (x *Overlay_Animation) GetAnimationStatic() *Overlay_AnimationStatic
func (*Overlay_Animation) GetAnimationType ¶
func (x *Overlay_Animation) GetAnimationType() isOverlay_Animation_AnimationType
func (*Overlay_Animation) HasAnimationEnd ¶
func (x *Overlay_Animation) HasAnimationEnd() bool
func (*Overlay_Animation) HasAnimationFade ¶
func (x *Overlay_Animation) HasAnimationFade() bool
func (*Overlay_Animation) HasAnimationStatic ¶
func (x *Overlay_Animation) HasAnimationStatic() bool
func (*Overlay_Animation) HasAnimationType ¶
func (x *Overlay_Animation) HasAnimationType() bool
func (*Overlay_Animation) ProtoMessage ¶
func (*Overlay_Animation) ProtoMessage()
func (*Overlay_Animation) ProtoReflect ¶
func (x *Overlay_Animation) ProtoReflect() protoreflect.Message
func (*Overlay_Animation) Reset ¶
func (x *Overlay_Animation) Reset()
func (*Overlay_Animation) SetAnimationEnd ¶
func (x *Overlay_Animation) SetAnimationEnd(v *Overlay_AnimationEnd)
func (*Overlay_Animation) SetAnimationFade ¶
func (x *Overlay_Animation) SetAnimationFade(v *Overlay_AnimationFade)
func (*Overlay_Animation) SetAnimationStatic ¶
func (x *Overlay_Animation) SetAnimationStatic(v *Overlay_AnimationStatic)
func (*Overlay_Animation) String ¶
func (x *Overlay_Animation) String() string
func (*Overlay_Animation) WhichAnimationType ¶
func (x *Overlay_Animation) WhichAnimationType() case_Overlay_Animation_AnimationType
type Overlay_AnimationEnd ¶
type Overlay_AnimationEnd struct {
// The time to end overlay object, in seconds. Default: 0
StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// contains filtered or unexported fields
}
End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video.
func (*Overlay_AnimationEnd) ClearStartTimeOffset ¶
func (x *Overlay_AnimationEnd) ClearStartTimeOffset()
func (*Overlay_AnimationEnd) GetStartTimeOffset ¶
func (x *Overlay_AnimationEnd) GetStartTimeOffset() *durationpb.Duration
func (*Overlay_AnimationEnd) HasStartTimeOffset ¶
func (x *Overlay_AnimationEnd) HasStartTimeOffset() bool
func (*Overlay_AnimationEnd) ProtoMessage ¶
func (*Overlay_AnimationEnd) ProtoMessage()
func (*Overlay_AnimationEnd) ProtoReflect ¶
func (x *Overlay_AnimationEnd) ProtoReflect() protoreflect.Message
func (*Overlay_AnimationEnd) Reset ¶
func (x *Overlay_AnimationEnd) Reset()
func (*Overlay_AnimationEnd) SetStartTimeOffset ¶
func (x *Overlay_AnimationEnd) SetStartTimeOffset(v *durationpb.Duration)
func (*Overlay_AnimationEnd) String ¶
func (x *Overlay_AnimationEnd) String() string
type Overlay_AnimationEnd_builder ¶
type Overlay_AnimationEnd_builder struct {
// The time to end overlay object, in seconds. Default: 0
StartTimeOffset *durationpb.Duration
// contains filtered or unexported fields
}
func (Overlay_AnimationEnd_builder) Build ¶
func (b0 Overlay_AnimationEnd_builder) Build() *Overlay_AnimationEnd
type Overlay_AnimationFade ¶
type Overlay_AnimationFade struct {
// Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
FadeType Overlay_FadeType `` /* 148-byte string literal not displayed */
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
// object. For example, use the x and y coordinates {0,0} to position the
// top-left corner of the overlay animation in the top-left corner of the
// output video.
Xy *Overlay_NormalizedCoordinate `protobuf:"bytes,2,opt,name=xy,proto3" json:"xy,omitempty"`
// The time to start the fade animation, in seconds. Default: 0
StartTimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// The time to end the fade animation, in seconds. Default:
// `start_time_offset` + 1s
EndTimeOffset *durationpb.Duration `protobuf:"bytes,4,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
// contains filtered or unexported fields
}
Display overlay object with fade animation.
func (*Overlay_AnimationFade) ClearEndTimeOffset ¶
func (x *Overlay_AnimationFade) ClearEndTimeOffset()
func (*Overlay_AnimationFade) ClearStartTimeOffset ¶
func (x *Overlay_AnimationFade) ClearStartTimeOffset()
func (*Overlay_AnimationFade) ClearXy ¶
func (x *Overlay_AnimationFade) ClearXy()
func (*Overlay_AnimationFade) GetEndTimeOffset ¶
func (x *Overlay_AnimationFade) GetEndTimeOffset() *durationpb.Duration
func (*Overlay_AnimationFade) GetFadeType ¶
func (x *Overlay_AnimationFade) GetFadeType() Overlay_FadeType
func (*Overlay_AnimationFade) GetStartTimeOffset ¶
func (x *Overlay_AnimationFade) GetStartTimeOffset() *durationpb.Duration
func (*Overlay_AnimationFade) GetXy ¶
func (x *Overlay_AnimationFade) GetXy() *Overlay_NormalizedCoordinate
func (*Overlay_AnimationFade) HasEndTimeOffset ¶
func (x *Overlay_AnimationFade) HasEndTimeOffset() bool
func (*Overlay_AnimationFade) HasStartTimeOffset ¶
func (x *Overlay_AnimationFade) HasStartTimeOffset() bool
func (*Overlay_AnimationFade) HasXy ¶
func (x *Overlay_AnimationFade) HasXy() bool
func (*Overlay_AnimationFade) ProtoMessage ¶
func (*Overlay_AnimationFade) ProtoMessage()
func (*Overlay_AnimationFade) ProtoReflect ¶
func (x *Overlay_AnimationFade) ProtoReflect() protoreflect.Message
func (*Overlay_AnimationFade) Reset ¶
func (x *Overlay_AnimationFade) Reset()
func (*Overlay_AnimationFade) SetEndTimeOffset ¶
func (x *Overlay_AnimationFade) SetEndTimeOffset(v *durationpb.Duration)
func (*Overlay_AnimationFade) SetFadeType ¶
func (x *Overlay_AnimationFade) SetFadeType(v Overlay_FadeType)
func (*Overlay_AnimationFade) SetStartTimeOffset ¶
func (x *Overlay_AnimationFade) SetStartTimeOffset(v *durationpb.Duration)
func (*Overlay_AnimationFade) SetXy ¶
func (x *Overlay_AnimationFade) SetXy(v *Overlay_NormalizedCoordinate)
func (*Overlay_AnimationFade) String ¶
func (x *Overlay_AnimationFade) String() string
type Overlay_AnimationFade_builder ¶
type Overlay_AnimationFade_builder struct {
// Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
FadeType Overlay_FadeType
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
// object. For example, use the x and y coordinates {0,0} to position the
// top-left corner of the overlay animation in the top-left corner of the
// output video.
Xy *Overlay_NormalizedCoordinate
// The time to start the fade animation, in seconds. Default: 0
StartTimeOffset *durationpb.Duration
// The time to end the fade animation, in seconds. Default:
// `start_time_offset` + 1s
EndTimeOffset *durationpb.Duration
// contains filtered or unexported fields
}
func (Overlay_AnimationFade_builder) Build ¶
func (b0 Overlay_AnimationFade_builder) Build() *Overlay_AnimationFade
type Overlay_AnimationStatic ¶
type Overlay_AnimationStatic struct {
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
// object. For example, use the x and y coordinates {0,0} to position the
// top-left corner of the overlay animation in the top-left corner of the
// output video.
Xy *Overlay_NormalizedCoordinate `protobuf:"bytes,1,opt,name=xy,proto3" json:"xy,omitempty"`
// The time to start displaying the overlay object, in seconds. Default: 0
StartTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// contains filtered or unexported fields
}
Display static overlay object.
func (*Overlay_AnimationStatic) ClearStartTimeOffset ¶
func (x *Overlay_AnimationStatic) ClearStartTimeOffset()
func (*Overlay_AnimationStatic) ClearXy ¶
func (x *Overlay_AnimationStatic) ClearXy()
func (*Overlay_AnimationStatic) GetStartTimeOffset ¶
func (x *Overlay_AnimationStatic) GetStartTimeOffset() *durationpb.Duration
func (*Overlay_AnimationStatic) GetXy ¶
func (x *Overlay_AnimationStatic) GetXy() *Overlay_NormalizedCoordinate
func (*Overlay_AnimationStatic) HasStartTimeOffset ¶
func (x *Overlay_AnimationStatic) HasStartTimeOffset() bool
func (*Overlay_AnimationStatic) HasXy ¶
func (x *Overlay_AnimationStatic) HasXy() bool
func (*Overlay_AnimationStatic) ProtoMessage ¶
func (*Overlay_AnimationStatic) ProtoMessage()
func (*Overlay_AnimationStatic) ProtoReflect ¶
func (x *Overlay_AnimationStatic) ProtoReflect() protoreflect.Message
func (*Overlay_AnimationStatic) Reset ¶
func (x *Overlay_AnimationStatic) Reset()
func (*Overlay_AnimationStatic) SetStartTimeOffset ¶
func (x *Overlay_AnimationStatic) SetStartTimeOffset(v *durationpb.Duration)
func (*Overlay_AnimationStatic) SetXy ¶
func (x *Overlay_AnimationStatic) SetXy(v *Overlay_NormalizedCoordinate)
func (*Overlay_AnimationStatic) String ¶
func (x *Overlay_AnimationStatic) String() string
type Overlay_AnimationStatic_builder ¶
type Overlay_AnimationStatic_builder struct {
// Normalized coordinates based on output video resolution. Valid
// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
// object. For example, use the x and y coordinates {0,0} to position the
// top-left corner of the overlay animation in the top-left corner of the
// output video.
Xy *Overlay_NormalizedCoordinate
// The time to start displaying the overlay object, in seconds. Default: 0
StartTimeOffset *durationpb.Duration
// contains filtered or unexported fields
}
func (Overlay_AnimationStatic_builder) Build ¶
func (b0 Overlay_AnimationStatic_builder) Build() *Overlay_AnimationStatic
type Overlay_Animation_AnimationEnd ¶
type Overlay_Animation_AnimationEnd struct {
// End previous animation.
AnimationEnd *Overlay_AnimationEnd `protobuf:"bytes,3,opt,name=animation_end,json=animationEnd,proto3,oneof"`
}
type Overlay_Animation_AnimationFade ¶
type Overlay_Animation_AnimationFade struct {
// Display overlay object with fade animation.
AnimationFade *Overlay_AnimationFade `protobuf:"bytes,2,opt,name=animation_fade,json=animationFade,proto3,oneof"`
}
type Overlay_Animation_AnimationStatic ¶
type Overlay_Animation_AnimationStatic struct {
// Display static overlay object.
AnimationStatic *Overlay_AnimationStatic `protobuf:"bytes,1,opt,name=animation_static,json=animationStatic,proto3,oneof"`
}
type Overlay_Animation_builder ¶
type Overlay_Animation_builder struct {
// Fields of oneof AnimationType:
// Display static overlay object.
AnimationStatic *Overlay_AnimationStatic
// Display overlay object with fade animation.
AnimationFade *Overlay_AnimationFade
// End previous animation.
AnimationEnd *Overlay_AnimationEnd
// contains filtered or unexported fields
}
func (Overlay_Animation_builder) Build ¶
func (b0 Overlay_Animation_builder) Build() *Overlay_Animation
type Overlay_FadeType ¶
type Overlay_FadeType int32
Fade type for the overlay: `FADE_IN` or `FADE_OUT`.
const ( // The fade type is not specified. Overlay_FADE_TYPE_UNSPECIFIED Overlay_FadeType = 0 // Fade the overlay object into view. Overlay_FADE_IN Overlay_FadeType = 1 // Fade the overlay object out of view. Overlay_FADE_OUT Overlay_FadeType = 2 )
func (Overlay_FadeType) Descriptor ¶
func (Overlay_FadeType) Descriptor() protoreflect.EnumDescriptor
func (Overlay_FadeType) Enum ¶
func (x Overlay_FadeType) Enum() *Overlay_FadeType
func (Overlay_FadeType) Number ¶
func (x Overlay_FadeType) Number() protoreflect.EnumNumber
func (Overlay_FadeType) String ¶
func (x Overlay_FadeType) String() string
func (Overlay_FadeType) Type ¶
func (Overlay_FadeType) Type() protoreflect.EnumType
type Overlay_Image ¶
type Overlay_Image struct {
// Required. URI of the image in Cloud Storage. For example,
// `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Normalized image resolution, based on output video resolution. Valid
// values: `0.0`–`1.0`. To respect the original image aspect ratio, set
// either `x` or `y` to `0.0`. To use the original image resolution, set
// both `x` and `y` to `0.0`.
Resolution *Overlay_NormalizedCoordinate `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"`
// Target image opacity. Valid values are from `1.0` (solid, default) to
// `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
Alpha float64 `protobuf:"fixed64,3,opt,name=alpha,proto3" json:"alpha,omitempty"`
// contains filtered or unexported fields
}
Overlaid image.
func (*Overlay_Image) ClearResolution ¶
func (x *Overlay_Image) ClearResolution()
func (*Overlay_Image) GetAlpha ¶
func (x *Overlay_Image) GetAlpha() float64
func (*Overlay_Image) GetResolution ¶
func (x *Overlay_Image) GetResolution() *Overlay_NormalizedCoordinate
func (*Overlay_Image) GetUri ¶
func (x *Overlay_Image) GetUri() string
func (*Overlay_Image) HasResolution ¶
func (x *Overlay_Image) HasResolution() bool
func (*Overlay_Image) ProtoMessage ¶
func (*Overlay_Image) ProtoMessage()
func (*Overlay_Image) ProtoReflect ¶
func (x *Overlay_Image) ProtoReflect() protoreflect.Message
func (*Overlay_Image) Reset ¶
func (x *Overlay_Image) Reset()
func (*Overlay_Image) SetAlpha ¶
func (x *Overlay_Image) SetAlpha(v float64)
func (*Overlay_Image) SetResolution ¶
func (x *Overlay_Image) SetResolution(v *Overlay_NormalizedCoordinate)
func (*Overlay_Image) SetUri ¶
func (x *Overlay_Image) SetUri(v string)
func (*Overlay_Image) String ¶
func (x *Overlay_Image) String() string
type Overlay_Image_builder ¶
type Overlay_Image_builder struct {
// Required. URI of the image in Cloud Storage. For example,
// `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
Uri string
// Normalized image resolution, based on output video resolution. Valid
// values: `0.0`–`1.0`. To respect the original image aspect ratio, set
// either `x` or `y` to `0.0`. To use the original image resolution, set
// both `x` and `y` to `0.0`.
Resolution *Overlay_NormalizedCoordinate
// Target image opacity. Valid values are from `1.0` (solid, default) to
// `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
Alpha float64
// contains filtered or unexported fields
}
func (Overlay_Image_builder) Build ¶
func (b0 Overlay_Image_builder) Build() *Overlay_Image
type Overlay_NormalizedCoordinate ¶
type Overlay_NormalizedCoordinate struct {
// Normalized x coordinate.
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
// Normalized y coordinate.
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
2D normalized coordinates. Default: `{0.0, 0.0}`
func (*Overlay_NormalizedCoordinate) GetX ¶
func (x *Overlay_NormalizedCoordinate) GetX() float64
func (*Overlay_NormalizedCoordinate) GetY ¶
func (x *Overlay_NormalizedCoordinate) GetY() float64
func (*Overlay_NormalizedCoordinate) ProtoMessage ¶
func (*Overlay_NormalizedCoordinate) ProtoMessage()
func (*Overlay_NormalizedCoordinate) ProtoReflect ¶
func (x *Overlay_NormalizedCoordinate) ProtoReflect() protoreflect.Message
func (*Overlay_NormalizedCoordinate) Reset ¶
func (x *Overlay_NormalizedCoordinate) Reset()
func (*Overlay_NormalizedCoordinate) SetX ¶
func (x *Overlay_NormalizedCoordinate) SetX(v float64)
func (*Overlay_NormalizedCoordinate) SetY ¶
func (x *Overlay_NormalizedCoordinate) SetY(v float64)
func (*Overlay_NormalizedCoordinate) String ¶
func (x *Overlay_NormalizedCoordinate) String() string
type Overlay_NormalizedCoordinate_builder ¶
type Overlay_NormalizedCoordinate_builder struct {
// Normalized x coordinate.
X float64
// Normalized y coordinate.
Y float64
// contains filtered or unexported fields
}
func (Overlay_NormalizedCoordinate_builder) Build ¶
func (b0 Overlay_NormalizedCoordinate_builder) Build() *Overlay_NormalizedCoordinate
type Overlay_builder ¶
type Overlay_builder struct {
// Image overlay.
Image *Overlay_Image
// List of Animations. The list should be chronological, without any time
// overlap.
Animations []*Overlay_Animation
// contains filtered or unexported fields
}
func (Overlay_builder) Build ¶
func (b0 Overlay_builder) Build() *Overlay
type PreprocessingConfig ¶
type PreprocessingConfig struct {
// Color preprocessing configuration.
Color *PreprocessingConfig_Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
// Denoise preprocessing configuration.
Denoise *PreprocessingConfig_Denoise `protobuf:"bytes,2,opt,name=denoise,proto3" json:"denoise,omitempty"`
// Deblock preprocessing configuration.
Deblock *PreprocessingConfig_Deblock `protobuf:"bytes,3,opt,name=deblock,proto3" json:"deblock,omitempty"`
// Audio preprocessing configuration.
Audio *PreprocessingConfig_Audio `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"`
// Specify the video cropping configuration.
Crop *PreprocessingConfig_Crop `protobuf:"bytes,5,opt,name=crop,proto3" json:"crop,omitempty"`
// Specify the video pad filter configuration.
Pad *PreprocessingConfig_Pad `protobuf:"bytes,6,opt,name=pad,proto3" json:"pad,omitempty"`
// Specify the video deinterlace configuration.
Deinterlace *PreprocessingConfig_Deinterlace `protobuf:"bytes,7,opt,name=deinterlace,proto3" json:"deinterlace,omitempty"`
// contains filtered or unexported fields
}
Preprocessing configurations.
func (*PreprocessingConfig) ClearAudio ¶
func (x *PreprocessingConfig) ClearAudio()
func (*PreprocessingConfig) ClearColor ¶
func (x *PreprocessingConfig) ClearColor()
func (*PreprocessingConfig) ClearCrop ¶
func (x *PreprocessingConfig) ClearCrop()
func (*PreprocessingConfig) ClearDeblock ¶
func (x *PreprocessingConfig) ClearDeblock()
func (*PreprocessingConfig) ClearDeinterlace ¶
func (x *PreprocessingConfig) ClearDeinterlace()
func (*PreprocessingConfig) ClearDenoise ¶
func (x *PreprocessingConfig) ClearDenoise()
func (*PreprocessingConfig) ClearPad ¶
func (x *PreprocessingConfig) ClearPad()
func (*PreprocessingConfig) GetAudio ¶
func (x *PreprocessingConfig) GetAudio() *PreprocessingConfig_Audio
func (*PreprocessingConfig) GetColor ¶
func (x *PreprocessingConfig) GetColor() *PreprocessingConfig_Color
func (*PreprocessingConfig) GetCrop ¶
func (x *PreprocessingConfig) GetCrop() *PreprocessingConfig_Crop
func (*PreprocessingConfig) GetDeblock ¶
func (x *PreprocessingConfig) GetDeblock() *PreprocessingConfig_Deblock
func (*PreprocessingConfig) GetDeinterlace ¶
func (x *PreprocessingConfig) GetDeinterlace() *PreprocessingConfig_Deinterlace
func (*PreprocessingConfig) GetDenoise ¶
func (x *PreprocessingConfig) GetDenoise() *PreprocessingConfig_Denoise
func (*PreprocessingConfig) GetPad ¶
func (x *PreprocessingConfig) GetPad() *PreprocessingConfig_Pad
func (*PreprocessingConfig) HasAudio ¶
func (x *PreprocessingConfig) HasAudio() bool
func (*PreprocessingConfig) HasColor ¶
func (x *PreprocessingConfig) HasColor() bool
func (*PreprocessingConfig) HasCrop ¶
func (x *PreprocessingConfig) HasCrop() bool
func (*PreprocessingConfig) HasDeblock ¶
func (x *PreprocessingConfig) HasDeblock() bool
func (*PreprocessingConfig) HasDeinterlace ¶
func (x *PreprocessingConfig) HasDeinterlace() bool
func (*PreprocessingConfig) HasDenoise ¶
func (x *PreprocessingConfig) HasDenoise() bool
func (*PreprocessingConfig) HasPad ¶
func (x *PreprocessingConfig) HasPad() bool
func (*PreprocessingConfig) ProtoMessage ¶
func (*PreprocessingConfig) ProtoMessage()
func (*PreprocessingConfig) ProtoReflect ¶
func (x *PreprocessingConfig) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig) Reset ¶
func (x *PreprocessingConfig) Reset()
func (*PreprocessingConfig) SetAudio ¶
func (x *PreprocessingConfig) SetAudio(v *PreprocessingConfig_Audio)
func (*PreprocessingConfig) SetColor ¶
func (x *PreprocessingConfig) SetColor(v *PreprocessingConfig_Color)
func (*PreprocessingConfig) SetCrop ¶
func (x *PreprocessingConfig) SetCrop(v *PreprocessingConfig_Crop)
func (*PreprocessingConfig) SetDeblock ¶
func (x *PreprocessingConfig) SetDeblock(v *PreprocessingConfig_Deblock)
func (*PreprocessingConfig) SetDeinterlace ¶
func (x *PreprocessingConfig) SetDeinterlace(v *PreprocessingConfig_Deinterlace)
func (*PreprocessingConfig) SetDenoise ¶
func (x *PreprocessingConfig) SetDenoise(v *PreprocessingConfig_Denoise)
func (*PreprocessingConfig) SetPad ¶
func (x *PreprocessingConfig) SetPad(v *PreprocessingConfig_Pad)
func (*PreprocessingConfig) String ¶
func (x *PreprocessingConfig) String() string
type PreprocessingConfig_Audio ¶
type PreprocessingConfig_Audio struct {
// Specify audio loudness normalization in loudness units relative to full
// scale (LUFS). Enter a value between -24 and 0 (the default), where:
//
// - -24 is the Advanced Television Systems Committee (ATSC A/85) standard
// - -23 is the EU R128 broadcast standard
// - -19 is the prior standard for online mono audio
// - -18 is the ReplayGain standard
// - -16 is the prior standard for stereo audio
// - -14 is the new online audio standard recommended by Spotify, as well
// as Amazon Echo
// - 0 disables normalization
Lufs float64 `protobuf:"fixed64,1,opt,name=lufs,proto3" json:"lufs,omitempty"`
// Enable boosting high frequency components. The default is `false`.
//
// **Note:** This field is not supported.
HighBoost bool `protobuf:"varint,2,opt,name=high_boost,json=highBoost,proto3" json:"high_boost,omitempty"`
// Enable boosting low frequency components. The default is `false`.
//
// **Note:** This field is not supported.
LowBoost bool `protobuf:"varint,3,opt,name=low_boost,json=lowBoost,proto3" json:"low_boost,omitempty"`
// contains filtered or unexported fields
}
Audio preprocessing configuration.
func (*PreprocessingConfig_Audio) GetHighBoost ¶
func (x *PreprocessingConfig_Audio) GetHighBoost() bool
func (*PreprocessingConfig_Audio) GetLowBoost ¶
func (x *PreprocessingConfig_Audio) GetLowBoost() bool
func (*PreprocessingConfig_Audio) GetLufs ¶
func (x *PreprocessingConfig_Audio) GetLufs() float64
func (*PreprocessingConfig_Audio) ProtoMessage ¶
func (*PreprocessingConfig_Audio) ProtoMessage()
func (*PreprocessingConfig_Audio) ProtoReflect ¶
func (x *PreprocessingConfig_Audio) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Audio) Reset ¶
func (x *PreprocessingConfig_Audio) Reset()
func (*PreprocessingConfig_Audio) SetHighBoost ¶
func (x *PreprocessingConfig_Audio) SetHighBoost(v bool)
func (*PreprocessingConfig_Audio) SetLowBoost ¶
func (x *PreprocessingConfig_Audio) SetLowBoost(v bool)
func (*PreprocessingConfig_Audio) SetLufs ¶
func (x *PreprocessingConfig_Audio) SetLufs(v float64)
func (*PreprocessingConfig_Audio) String ¶
func (x *PreprocessingConfig_Audio) String() string
type PreprocessingConfig_Audio_builder ¶
type PreprocessingConfig_Audio_builder struct {
// Specify audio loudness normalization in loudness units relative to full
// scale (LUFS). Enter a value between -24 and 0 (the default), where:
//
// - -24 is the Advanced Television Systems Committee (ATSC A/85) standard
// - -23 is the EU R128 broadcast standard
// - -19 is the prior standard for online mono audio
// - -18 is the ReplayGain standard
// - -16 is the prior standard for stereo audio
// - -14 is the new online audio standard recommended by Spotify, as well
// as Amazon Echo
// - 0 disables normalization
Lufs float64
// Enable boosting high frequency components. The default is `false`.
//
// **Note:** This field is not supported.
HighBoost bool
// Enable boosting low frequency components. The default is `false`.
//
// **Note:** This field is not supported.
LowBoost bool
// contains filtered or unexported fields
}
func (PreprocessingConfig_Audio_builder) Build ¶
func (b0 PreprocessingConfig_Audio_builder) Build() *PreprocessingConfig_Audio
type PreprocessingConfig_Color ¶
type PreprocessingConfig_Color struct {
// Control color saturation of the video. Enter a value between -1 and 1,
// where -1 is fully desaturated and 1 is maximum saturation. 0 is no
// change. The default is 0.
Saturation float64 `protobuf:"fixed64,1,opt,name=saturation,proto3" json:"saturation,omitempty"`
// Control black and white contrast of the video. Enter a value between -1
// and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
// change. The default is 0.
Contrast float64 `protobuf:"fixed64,2,opt,name=contrast,proto3" json:"contrast,omitempty"`
// Control brightness of the video. Enter a value between -1 and 1, where -1
// is minimum brightness and 1 is maximum brightness. 0 is no change. The
// default is 0.
Brightness float64 `protobuf:"fixed64,3,opt,name=brightness,proto3" json:"brightness,omitempty"`
// contains filtered or unexported fields
}
Color preprocessing configuration.
**Note:** This configuration is not supported.
func (*PreprocessingConfig_Color) GetBrightness ¶
func (x *PreprocessingConfig_Color) GetBrightness() float64
func (*PreprocessingConfig_Color) GetContrast ¶
func (x *PreprocessingConfig_Color) GetContrast() float64
func (*PreprocessingConfig_Color) GetSaturation ¶
func (x *PreprocessingConfig_Color) GetSaturation() float64
func (*PreprocessingConfig_Color) ProtoMessage ¶
func (*PreprocessingConfig_Color) ProtoMessage()
func (*PreprocessingConfig_Color) ProtoReflect ¶
func (x *PreprocessingConfig_Color) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Color) Reset ¶
func (x *PreprocessingConfig_Color) Reset()
func (*PreprocessingConfig_Color) SetBrightness ¶
func (x *PreprocessingConfig_Color) SetBrightness(v float64)
func (*PreprocessingConfig_Color) SetContrast ¶
func (x *PreprocessingConfig_Color) SetContrast(v float64)
func (*PreprocessingConfig_Color) SetSaturation ¶
func (x *PreprocessingConfig_Color) SetSaturation(v float64)
func (*PreprocessingConfig_Color) String ¶
func (x *PreprocessingConfig_Color) String() string
type PreprocessingConfig_Color_builder ¶
type PreprocessingConfig_Color_builder struct {
// Control color saturation of the video. Enter a value between -1 and 1,
// where -1 is fully desaturated and 1 is maximum saturation. 0 is no
// change. The default is 0.
Saturation float64
// Control black and white contrast of the video. Enter a value between -1
// and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
// change. The default is 0.
Contrast float64
// Control brightness of the video. Enter a value between -1 and 1, where -1
// is minimum brightness and 1 is maximum brightness. 0 is no change. The
// default is 0.
Brightness float64
// contains filtered or unexported fields
}
func (PreprocessingConfig_Color_builder) Build ¶
func (b0 PreprocessingConfig_Color_builder) Build() *PreprocessingConfig_Color
type PreprocessingConfig_Crop ¶
type PreprocessingConfig_Crop struct {
// The number of pixels to crop from the top. The default is 0.
TopPixels int32 `protobuf:"varint,1,opt,name=top_pixels,json=topPixels,proto3" json:"top_pixels,omitempty"`
// The number of pixels to crop from the bottom. The default is 0.
BottomPixels int32 `protobuf:"varint,2,opt,name=bottom_pixels,json=bottomPixels,proto3" json:"bottom_pixels,omitempty"`
// The number of pixels to crop from the left. The default is 0.
LeftPixels int32 `protobuf:"varint,3,opt,name=left_pixels,json=leftPixels,proto3" json:"left_pixels,omitempty"`
// The number of pixels to crop from the right. The default is 0.
RightPixels int32 `protobuf:"varint,4,opt,name=right_pixels,json=rightPixels,proto3" json:"right_pixels,omitempty"`
// contains filtered or unexported fields
}
Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.
func (*PreprocessingConfig_Crop) GetBottomPixels ¶
func (x *PreprocessingConfig_Crop) GetBottomPixels() int32
func (*PreprocessingConfig_Crop) GetLeftPixels ¶
func (x *PreprocessingConfig_Crop) GetLeftPixels() int32
func (*PreprocessingConfig_Crop) GetRightPixels ¶
func (x *PreprocessingConfig_Crop) GetRightPixels() int32
func (*PreprocessingConfig_Crop) GetTopPixels ¶
func (x *PreprocessingConfig_Crop) GetTopPixels() int32
func (*PreprocessingConfig_Crop) ProtoMessage ¶
func (*PreprocessingConfig_Crop) ProtoMessage()
func (*PreprocessingConfig_Crop) ProtoReflect ¶
func (x *PreprocessingConfig_Crop) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Crop) Reset ¶
func (x *PreprocessingConfig_Crop) Reset()
func (*PreprocessingConfig_Crop) SetBottomPixels ¶
func (x *PreprocessingConfig_Crop) SetBottomPixels(v int32)
func (*PreprocessingConfig_Crop) SetLeftPixels ¶
func (x *PreprocessingConfig_Crop) SetLeftPixels(v int32)
func (*PreprocessingConfig_Crop) SetRightPixels ¶
func (x *PreprocessingConfig_Crop) SetRightPixels(v int32)
func (*PreprocessingConfig_Crop) SetTopPixels ¶
func (x *PreprocessingConfig_Crop) SetTopPixels(v int32)
func (*PreprocessingConfig_Crop) String ¶
func (x *PreprocessingConfig_Crop) String() string
type PreprocessingConfig_Crop_builder ¶
type PreprocessingConfig_Crop_builder struct {
// The number of pixels to crop from the top. The default is 0.
TopPixels int32
// The number of pixels to crop from the bottom. The default is 0.
BottomPixels int32
// The number of pixels to crop from the left. The default is 0.
LeftPixels int32
// The number of pixels to crop from the right. The default is 0.
RightPixels int32
// contains filtered or unexported fields
}
func (PreprocessingConfig_Crop_builder) Build ¶
func (b0 PreprocessingConfig_Crop_builder) Build() *PreprocessingConfig_Crop
type PreprocessingConfig_Deblock ¶
type PreprocessingConfig_Deblock struct {
// Set strength of the deblocker. Enter a value between 0 and 1. The higher
// the value, the stronger the block removal. 0 is no deblocking. The
// default is 0.
Strength float64 `protobuf:"fixed64,1,opt,name=strength,proto3" json:"strength,omitempty"`
// Enable deblocker. The default is `false`.
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Deblock preprocessing configuration.
**Note:** This configuration is not supported.
func (*PreprocessingConfig_Deblock) GetEnabled ¶
func (x *PreprocessingConfig_Deblock) GetEnabled() bool
func (*PreprocessingConfig_Deblock) GetStrength ¶
func (x *PreprocessingConfig_Deblock) GetStrength() float64
func (*PreprocessingConfig_Deblock) ProtoMessage ¶
func (*PreprocessingConfig_Deblock) ProtoMessage()
func (*PreprocessingConfig_Deblock) ProtoReflect ¶
func (x *PreprocessingConfig_Deblock) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Deblock) Reset ¶
func (x *PreprocessingConfig_Deblock) Reset()
func (*PreprocessingConfig_Deblock) SetEnabled ¶
func (x *PreprocessingConfig_Deblock) SetEnabled(v bool)
func (*PreprocessingConfig_Deblock) SetStrength ¶
func (x *PreprocessingConfig_Deblock) SetStrength(v float64)
func (*PreprocessingConfig_Deblock) String ¶
func (x *PreprocessingConfig_Deblock) String() string
type PreprocessingConfig_Deblock_builder ¶
type PreprocessingConfig_Deblock_builder struct {
// Set strength of the deblocker. Enter a value between 0 and 1. The higher
// the value, the stronger the block removal. 0 is no deblocking. The
// default is 0.
Strength float64
// Enable deblocker. The default is `false`.
Enabled bool
// contains filtered or unexported fields
}
func (PreprocessingConfig_Deblock_builder) Build ¶
func (b0 PreprocessingConfig_Deblock_builder) Build() *PreprocessingConfig_Deblock
type PreprocessingConfig_Deinterlace ¶
type PreprocessingConfig_Deinterlace struct {
// Specify the video deinterlacing filter. The default is `yadif`.
//
// Types that are valid to be assigned to DeinterlacingFilter:
//
// *PreprocessingConfig_Deinterlace_Yadif
// *PreprocessingConfig_Deinterlace_Bwdif
DeinterlacingFilter isPreprocessingConfig_Deinterlace_DeinterlacingFilter `protobuf_oneof:"deinterlacing_filter"`
// contains filtered or unexported fields
}
Deinterlace configuration for input video.
func (*PreprocessingConfig_Deinterlace) ClearBwdif ¶
func (x *PreprocessingConfig_Deinterlace) ClearBwdif()
func (*PreprocessingConfig_Deinterlace) ClearDeinterlacingFilter ¶
func (x *PreprocessingConfig_Deinterlace) ClearDeinterlacingFilter()
func (*PreprocessingConfig_Deinterlace) ClearYadif ¶
func (x *PreprocessingConfig_Deinterlace) ClearYadif()
func (*PreprocessingConfig_Deinterlace) GetBwdif ¶
func (x *PreprocessingConfig_Deinterlace) GetBwdif() *PreprocessingConfig_Deinterlace_BwdifConfig
func (*PreprocessingConfig_Deinterlace) GetDeinterlacingFilter ¶
func (x *PreprocessingConfig_Deinterlace) GetDeinterlacingFilter() isPreprocessingConfig_Deinterlace_DeinterlacingFilter
func (*PreprocessingConfig_Deinterlace) GetYadif ¶
func (x *PreprocessingConfig_Deinterlace) GetYadif() *PreprocessingConfig_Deinterlace_YadifConfig
func (*PreprocessingConfig_Deinterlace) HasBwdif ¶
func (x *PreprocessingConfig_Deinterlace) HasBwdif() bool
func (*PreprocessingConfig_Deinterlace) HasDeinterlacingFilter ¶
func (x *PreprocessingConfig_Deinterlace) HasDeinterlacingFilter() bool
func (*PreprocessingConfig_Deinterlace) HasYadif ¶
func (x *PreprocessingConfig_Deinterlace) HasYadif() bool
func (*PreprocessingConfig_Deinterlace) ProtoMessage ¶
func (*PreprocessingConfig_Deinterlace) ProtoMessage()
func (*PreprocessingConfig_Deinterlace) ProtoReflect ¶
func (x *PreprocessingConfig_Deinterlace) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Deinterlace) Reset ¶
func (x *PreprocessingConfig_Deinterlace) Reset()
func (*PreprocessingConfig_Deinterlace) SetBwdif ¶
func (x *PreprocessingConfig_Deinterlace) SetBwdif(v *PreprocessingConfig_Deinterlace_BwdifConfig)
func (*PreprocessingConfig_Deinterlace) SetYadif ¶
func (x *PreprocessingConfig_Deinterlace) SetYadif(v *PreprocessingConfig_Deinterlace_YadifConfig)
func (*PreprocessingConfig_Deinterlace) String ¶
func (x *PreprocessingConfig_Deinterlace) String() string
func (*PreprocessingConfig_Deinterlace) WhichDeinterlacingFilter ¶
func (x *PreprocessingConfig_Deinterlace) WhichDeinterlacingFilter() case_PreprocessingConfig_Deinterlace_DeinterlacingFilter
type PreprocessingConfig_Deinterlace_Bwdif ¶
type PreprocessingConfig_Deinterlace_Bwdif struct {
// Specifies the Bob Weaver Deinterlacing Filter Configuration.
Bwdif *PreprocessingConfig_Deinterlace_BwdifConfig `protobuf:"bytes,2,opt,name=bwdif,proto3,oneof"`
}
type PreprocessingConfig_Deinterlace_BwdifConfig ¶
type PreprocessingConfig_Deinterlace_BwdifConfig struct {
// Specifies the deinterlacing mode to adopt.
// The default is `send_frame`.
// Supported values:
//
// - `send_frame`: Output one frame for each frame
// - `send_field`: Output one frame for each field
Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
// The picture field parity assumed for the input interlaced video.
// The default is `auto`.
// Supported values:
//
// - `tff`: Assume the top field is first
// - `bff`: Assume the bottom field is first
// - `auto`: Enable automatic detection of field parity
Parity string `protobuf:"bytes,2,opt,name=parity,proto3" json:"parity,omitempty"`
// Deinterlace all frames rather than just the frames identified as
// interlaced. The default is `false`.
DeinterlaceAllFrames bool `protobuf:"varint,3,opt,name=deinterlace_all_frames,json=deinterlaceAllFrames,proto3" json:"deinterlace_all_frames,omitempty"`
// contains filtered or unexported fields
}
Bob Weaver Deinterlacing Filter Configuration.
func (*PreprocessingConfig_Deinterlace_BwdifConfig) GetDeinterlaceAllFrames ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetDeinterlaceAllFrames() bool
func (*PreprocessingConfig_Deinterlace_BwdifConfig) GetMode ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetMode() string
func (*PreprocessingConfig_Deinterlace_BwdifConfig) GetParity ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) GetParity() string
func (*PreprocessingConfig_Deinterlace_BwdifConfig) ProtoMessage ¶
func (*PreprocessingConfig_Deinterlace_BwdifConfig) ProtoMessage()
func (*PreprocessingConfig_Deinterlace_BwdifConfig) ProtoReflect ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Deinterlace_BwdifConfig) Reset ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) Reset()
func (*PreprocessingConfig_Deinterlace_BwdifConfig) SetDeinterlaceAllFrames ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetDeinterlaceAllFrames(v bool)
func (*PreprocessingConfig_Deinterlace_BwdifConfig) SetMode ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetMode(v string)
func (*PreprocessingConfig_Deinterlace_BwdifConfig) SetParity ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) SetParity(v string)
func (*PreprocessingConfig_Deinterlace_BwdifConfig) String ¶
func (x *PreprocessingConfig_Deinterlace_BwdifConfig) String() string
type PreprocessingConfig_Deinterlace_BwdifConfig_builder ¶
type PreprocessingConfig_Deinterlace_BwdifConfig_builder struct {
// Specifies the deinterlacing mode to adopt.
// The default is `send_frame`.
// Supported values:
//
// - `send_frame`: Output one frame for each frame
// - `send_field`: Output one frame for each field
Mode string
// The picture field parity assumed for the input interlaced video.
// The default is `auto`.
// Supported values:
//
// - `tff`: Assume the top field is first
// - `bff`: Assume the bottom field is first
// - `auto`: Enable automatic detection of field parity
Parity string
// Deinterlace all frames rather than just the frames identified as
// interlaced. The default is `false`.
DeinterlaceAllFrames bool
// contains filtered or unexported fields
}
func (PreprocessingConfig_Deinterlace_BwdifConfig_builder) Build ¶
type PreprocessingConfig_Deinterlace_Yadif ¶
type PreprocessingConfig_Deinterlace_Yadif struct {
// Specifies the Yet Another Deinterlacing Filter Configuration.
Yadif *PreprocessingConfig_Deinterlace_YadifConfig `protobuf:"bytes,1,opt,name=yadif,proto3,oneof"`
}
type PreprocessingConfig_Deinterlace_YadifConfig ¶
type PreprocessingConfig_Deinterlace_YadifConfig struct {
// Specifies the deinterlacing mode to adopt.
// The default is `send_frame`.
// Supported values:
//
// - `send_frame`: Output one frame for each frame
// - `send_field`: Output one frame for each field
Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
// Disable spacial interlacing.
// The default is `false`.
DisableSpatialInterlacing bool `` /* 139-byte string literal not displayed */
// The picture field parity assumed for the input interlaced video.
// The default is `auto`.
// Supported values:
//
// - `tff`: Assume the top field is first
// - `bff`: Assume the bottom field is first
// - `auto`: Enable automatic detection of field parity
Parity string `protobuf:"bytes,3,opt,name=parity,proto3" json:"parity,omitempty"`
// Deinterlace all frames rather than just the frames identified as
// interlaced. The default is `false`.
DeinterlaceAllFrames bool `protobuf:"varint,4,opt,name=deinterlace_all_frames,json=deinterlaceAllFrames,proto3" json:"deinterlace_all_frames,omitempty"`
// contains filtered or unexported fields
}
Yet Another Deinterlacing Filter Configuration.
func (*PreprocessingConfig_Deinterlace_YadifConfig) GetDeinterlaceAllFrames ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetDeinterlaceAllFrames() bool
func (*PreprocessingConfig_Deinterlace_YadifConfig) GetDisableSpatialInterlacing ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetDisableSpatialInterlacing() bool
func (*PreprocessingConfig_Deinterlace_YadifConfig) GetMode ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetMode() string
func (*PreprocessingConfig_Deinterlace_YadifConfig) GetParity ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) GetParity() string
func (*PreprocessingConfig_Deinterlace_YadifConfig) ProtoMessage ¶
func (*PreprocessingConfig_Deinterlace_YadifConfig) ProtoMessage()
func (*PreprocessingConfig_Deinterlace_YadifConfig) ProtoReflect ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Deinterlace_YadifConfig) Reset ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) Reset()
func (*PreprocessingConfig_Deinterlace_YadifConfig) SetDeinterlaceAllFrames ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetDeinterlaceAllFrames(v bool)
func (*PreprocessingConfig_Deinterlace_YadifConfig) SetDisableSpatialInterlacing ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetDisableSpatialInterlacing(v bool)
func (*PreprocessingConfig_Deinterlace_YadifConfig) SetMode ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetMode(v string)
func (*PreprocessingConfig_Deinterlace_YadifConfig) SetParity ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) SetParity(v string)
func (*PreprocessingConfig_Deinterlace_YadifConfig) String ¶
func (x *PreprocessingConfig_Deinterlace_YadifConfig) String() string
type PreprocessingConfig_Deinterlace_YadifConfig_builder ¶
type PreprocessingConfig_Deinterlace_YadifConfig_builder struct {
// Specifies the deinterlacing mode to adopt.
// The default is `send_frame`.
// Supported values:
//
// - `send_frame`: Output one frame for each frame
// - `send_field`: Output one frame for each field
Mode string
// Disable spacial interlacing.
// The default is `false`.
DisableSpatialInterlacing bool
// The picture field parity assumed for the input interlaced video.
// The default is `auto`.
// Supported values:
//
// - `tff`: Assume the top field is first
// - `bff`: Assume the bottom field is first
// - `auto`: Enable automatic detection of field parity
Parity string
// Deinterlace all frames rather than just the frames identified as
// interlaced. The default is `false`.
DeinterlaceAllFrames bool
// contains filtered or unexported fields
}
func (PreprocessingConfig_Deinterlace_YadifConfig_builder) Build ¶
type PreprocessingConfig_Deinterlace_builder ¶
type PreprocessingConfig_Deinterlace_builder struct {
// Fields of oneof DeinterlacingFilter:
// Specifies the Yet Another Deinterlacing Filter Configuration.
Yadif *PreprocessingConfig_Deinterlace_YadifConfig
// Specifies the Bob Weaver Deinterlacing Filter Configuration.
Bwdif *PreprocessingConfig_Deinterlace_BwdifConfig
// contains filtered or unexported fields
}
func (PreprocessingConfig_Deinterlace_builder) Build ¶
func (b0 PreprocessingConfig_Deinterlace_builder) Build() *PreprocessingConfig_Deinterlace
type PreprocessingConfig_Denoise ¶
type PreprocessingConfig_Denoise struct {
// Set strength of the denoise. Enter a value between 0 and 1. The higher
// the value, the smoother the image. 0 is no denoising. The default is 0.
Strength float64 `protobuf:"fixed64,1,opt,name=strength,proto3" json:"strength,omitempty"`
// Set the denoiser mode. The default is `standard`.
//
// Supported denoiser modes:
//
// - `standard`
// - `grain`
Tune string `protobuf:"bytes,2,opt,name=tune,proto3" json:"tune,omitempty"`
// contains filtered or unexported fields
}
Denoise preprocessing configuration.
**Note:** This configuration is not supported.
func (*PreprocessingConfig_Denoise) GetStrength ¶
func (x *PreprocessingConfig_Denoise) GetStrength() float64
func (*PreprocessingConfig_Denoise) GetTune ¶
func (x *PreprocessingConfig_Denoise) GetTune() string
func (*PreprocessingConfig_Denoise) ProtoMessage ¶
func (*PreprocessingConfig_Denoise) ProtoMessage()
func (*PreprocessingConfig_Denoise) ProtoReflect ¶
func (x *PreprocessingConfig_Denoise) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Denoise) Reset ¶
func (x *PreprocessingConfig_Denoise) Reset()
func (*PreprocessingConfig_Denoise) SetStrength ¶
func (x *PreprocessingConfig_Denoise) SetStrength(v float64)
func (*PreprocessingConfig_Denoise) SetTune ¶
func (x *PreprocessingConfig_Denoise) SetTune(v string)
func (*PreprocessingConfig_Denoise) String ¶
func (x *PreprocessingConfig_Denoise) String() string
type PreprocessingConfig_Denoise_builder ¶
type PreprocessingConfig_Denoise_builder struct {
// Set strength of the denoise. Enter a value between 0 and 1. The higher
// the value, the smoother the image. 0 is no denoising. The default is 0.
Strength float64
// Set the denoiser mode. The default is `standard`.
//
// Supported denoiser modes:
//
// - `standard`
// - `grain`
Tune string
// contains filtered or unexported fields
}
func (PreprocessingConfig_Denoise_builder) Build ¶
func (b0 PreprocessingConfig_Denoise_builder) Build() *PreprocessingConfig_Denoise
type PreprocessingConfig_Pad ¶
type PreprocessingConfig_Pad struct {
// The number of pixels to add to the top. The default is 0.
TopPixels int32 `protobuf:"varint,1,opt,name=top_pixels,json=topPixels,proto3" json:"top_pixels,omitempty"`
// The number of pixels to add to the bottom. The default is 0.
BottomPixels int32 `protobuf:"varint,2,opt,name=bottom_pixels,json=bottomPixels,proto3" json:"bottom_pixels,omitempty"`
// The number of pixels to add to the left. The default is 0.
LeftPixels int32 `protobuf:"varint,3,opt,name=left_pixels,json=leftPixels,proto3" json:"left_pixels,omitempty"`
// The number of pixels to add to the right. The default is 0.
RightPixels int32 `protobuf:"varint,4,opt,name=right_pixels,json=rightPixels,proto3" json:"right_pixels,omitempty"`
// contains filtered or unexported fields
}
Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.
func (*PreprocessingConfig_Pad) GetBottomPixels ¶
func (x *PreprocessingConfig_Pad) GetBottomPixels() int32
func (*PreprocessingConfig_Pad) GetLeftPixels ¶
func (x *PreprocessingConfig_Pad) GetLeftPixels() int32
func (*PreprocessingConfig_Pad) GetRightPixels ¶
func (x *PreprocessingConfig_Pad) GetRightPixels() int32
func (*PreprocessingConfig_Pad) GetTopPixels ¶
func (x *PreprocessingConfig_Pad) GetTopPixels() int32
func (*PreprocessingConfig_Pad) ProtoMessage ¶
func (*PreprocessingConfig_Pad) ProtoMessage()
func (*PreprocessingConfig_Pad) ProtoReflect ¶
func (x *PreprocessingConfig_Pad) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Pad) Reset ¶
func (x *PreprocessingConfig_Pad) Reset()
func (*PreprocessingConfig_Pad) SetBottomPixels ¶
func (x *PreprocessingConfig_Pad) SetBottomPixels(v int32)
func (*PreprocessingConfig_Pad) SetLeftPixels ¶
func (x *PreprocessingConfig_Pad) SetLeftPixels(v int32)
func (*PreprocessingConfig_Pad) SetRightPixels ¶
func (x *PreprocessingConfig_Pad) SetRightPixels(v int32)
func (*PreprocessingConfig_Pad) SetTopPixels ¶
func (x *PreprocessingConfig_Pad) SetTopPixels(v int32)
func (*PreprocessingConfig_Pad) String ¶
func (x *PreprocessingConfig_Pad) String() string
type PreprocessingConfig_Pad_builder ¶
type PreprocessingConfig_Pad_builder struct {
// The number of pixels to add to the top. The default is 0.
TopPixels int32
// The number of pixels to add to the bottom. The default is 0.
BottomPixels int32
// The number of pixels to add to the left. The default is 0.
LeftPixels int32
// The number of pixels to add to the right. The default is 0.
RightPixels int32
// contains filtered or unexported fields
}
func (PreprocessingConfig_Pad_builder) Build ¶
func (b0 PreprocessingConfig_Pad_builder) Build() *PreprocessingConfig_Pad
type PreprocessingConfig_builder ¶
type PreprocessingConfig_builder struct {
// Color preprocessing configuration.
Color *PreprocessingConfig_Color
// Denoise preprocessing configuration.
Denoise *PreprocessingConfig_Denoise
// Deblock preprocessing configuration.
Deblock *PreprocessingConfig_Deblock
// Audio preprocessing configuration.
Audio *PreprocessingConfig_Audio
// Specify the video cropping configuration.
Crop *PreprocessingConfig_Crop
// Specify the video pad filter configuration.
Pad *PreprocessingConfig_Pad
// Specify the video deinterlace configuration.
Deinterlace *PreprocessingConfig_Deinterlace
// contains filtered or unexported fields
}
func (PreprocessingConfig_builder) Build ¶
func (b0 PreprocessingConfig_builder) Build() *PreprocessingConfig
type PubsubDestination ¶
type PubsubDestination struct {
// The name of the Pub/Sub topic to publish job completion notification
// to. For example: `projects/{project}/topics/{topic}`.
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
// contains filtered or unexported fields
}
A Pub/Sub destination.
func (*PubsubDestination) GetTopic ¶
func (x *PubsubDestination) GetTopic() string
func (*PubsubDestination) ProtoMessage ¶
func (*PubsubDestination) ProtoMessage()
func (*PubsubDestination) ProtoReflect ¶
func (x *PubsubDestination) ProtoReflect() protoreflect.Message
func (*PubsubDestination) Reset ¶
func (x *PubsubDestination) Reset()
func (*PubsubDestination) SetTopic ¶
func (x *PubsubDestination) SetTopic(v string)
func (*PubsubDestination) String ¶
func (x *PubsubDestination) String() string
type PubsubDestination_builder ¶
type PubsubDestination_builder struct {
// The name of the Pub/Sub topic to publish job completion notification
// to. For example: `projects/{project}/topics/{topic}`.
Topic string
// contains filtered or unexported fields
}
func (PubsubDestination_builder) Build ¶
func (b0 PubsubDestination_builder) Build() *PubsubDestination
type SegmentSettings ¶
type SegmentSettings struct {
// Duration of the segments in seconds. The default is `6.0s`. Note that
// `segmentDuration` must be greater than or equal to
// [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
// [`gopDuration`](#videostream).
SegmentDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"`
// Required. Create an individual segment file. The default is `false`.
IndividualSegments bool `protobuf:"varint,3,opt,name=individual_segments,json=individualSegments,proto3" json:"individual_segments,omitempty"`
// contains filtered or unexported fields
}
Segment settings for `ts`, `fmp4` and `vtt`.
func (*SegmentSettings) ClearSegmentDuration ¶
func (x *SegmentSettings) ClearSegmentDuration()
func (*SegmentSettings) GetIndividualSegments ¶
func (x *SegmentSettings) GetIndividualSegments() bool
func (*SegmentSettings) GetSegmentDuration ¶
func (x *SegmentSettings) GetSegmentDuration() *durationpb.Duration
func (*SegmentSettings) HasSegmentDuration ¶
func (x *SegmentSettings) HasSegmentDuration() bool
func (*SegmentSettings) ProtoMessage ¶
func (*SegmentSettings) ProtoMessage()
func (*SegmentSettings) ProtoReflect ¶
func (x *SegmentSettings) ProtoReflect() protoreflect.Message
func (*SegmentSettings) Reset ¶
func (x *SegmentSettings) Reset()
func (*SegmentSettings) SetIndividualSegments ¶
func (x *SegmentSettings) SetIndividualSegments(v bool)
func (*SegmentSettings) SetSegmentDuration ¶
func (x *SegmentSettings) SetSegmentDuration(v *durationpb.Duration)
func (*SegmentSettings) String ¶
func (x *SegmentSettings) String() string
type SegmentSettings_builder ¶
type SegmentSettings_builder struct {
// Duration of the segments in seconds. The default is `6.0s`. Note that
// `segmentDuration` must be greater than or equal to
// [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
// [`gopDuration`](#videostream).
SegmentDuration *durationpb.Duration
// Required. Create an individual segment file. The default is `false`.
IndividualSegments bool
// contains filtered or unexported fields
}
func (SegmentSettings_builder) Build ¶
func (b0 SegmentSettings_builder) Build() *SegmentSettings
type SpriteSheet ¶
type SpriteSheet struct {
// Format type. The default is `jpeg`.
//
// Supported formats:
//
// - `jpeg`
Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
// Required. File name prefix for the generated sprite sheets.
//
// Each sprite sheet has an incremental 10-digit zero-padded suffix starting
// from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
FilePrefix string `protobuf:"bytes,2,opt,name=file_prefix,json=filePrefix,proto3" json:"file_prefix,omitempty"`
// Required. The width of sprite in pixels. Must be an even integer. To
// preserve the source aspect ratio, set the
// [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
// field or the
// [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
// field, but not both (the API will automatically calculate the missing
// field).
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
SpriteWidthPixels int32 `protobuf:"varint,3,opt,name=sprite_width_pixels,json=spriteWidthPixels,proto3" json:"sprite_width_pixels,omitempty"`
// Required. The height of sprite in pixels. Must be an even integer. To
// preserve the source aspect ratio, set the
// [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
// field or the
// [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
// field, but not both (the API will automatically calculate the missing
// field).
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
SpriteHeightPixels int32 `protobuf:"varint,4,opt,name=sprite_height_pixels,json=spriteHeightPixels,proto3" json:"sprite_height_pixels,omitempty"`
// The maximum number of sprites per row in a sprite sheet. The default is 0,
// which indicates no maximum limit.
ColumnCount int32 `protobuf:"varint,5,opt,name=column_count,json=columnCount,proto3" json:"column_count,omitempty"`
// The maximum number of rows per sprite sheet. When the sprite sheet is full,
// a new sprite sheet is created. The default is 0, which indicates no maximum
// limit.
RowCount int32 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
// Start time in seconds, relative to the output file timeline. Determines the
// first sprite to pick. The default is `0s`.
StartTimeOffset *durationpb.Duration `protobuf:"bytes,7,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
// End time in seconds, relative to the output file timeline. When
// `end_time_offset` is not specified, the sprites are generated until the end
// of the output file.
EndTimeOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
// Specify either total number of sprites or interval to create sprites.
//
// Types that are valid to be assigned to ExtractionStrategy:
//
// *SpriteSheet_TotalCount
// *SpriteSheet_Interval
ExtractionStrategy isSpriteSheet_ExtractionStrategy `protobuf_oneof:"extraction_strategy"`
// The quality of the generated sprite sheet. Enter a value between 1
// and 100, where 1 is the lowest quality and 100 is the highest quality.
// The default is 100. A high quality value corresponds to a low image data
// compression ratio.
Quality int32 `protobuf:"varint,11,opt,name=quality,proto3" json:"quality,omitempty"`
// contains filtered or unexported fields
}
Sprite sheet configuration.
func (*SpriteSheet) ClearEndTimeOffset ¶
func (x *SpriteSheet) ClearEndTimeOffset()
func (*SpriteSheet) ClearExtractionStrategy ¶
func (x *SpriteSheet) ClearExtractionStrategy()
func (*SpriteSheet) ClearInterval ¶
func (x *SpriteSheet) ClearInterval()
func (*SpriteSheet) ClearStartTimeOffset ¶
func (x *SpriteSheet) ClearStartTimeOffset()
func (*SpriteSheet) ClearTotalCount ¶
func (x *SpriteSheet) ClearTotalCount()
func (*SpriteSheet) GetColumnCount ¶
func (x *SpriteSheet) GetColumnCount() int32
func (*SpriteSheet) GetEndTimeOffset ¶
func (x *SpriteSheet) GetEndTimeOffset() *durationpb.Duration
func (*SpriteSheet) GetExtractionStrategy ¶
func (x *SpriteSheet) GetExtractionStrategy() isSpriteSheet_ExtractionStrategy
func (*SpriteSheet) GetFilePrefix ¶
func (x *SpriteSheet) GetFilePrefix() string
func (*SpriteSheet) GetFormat ¶
func (x *SpriteSheet) GetFormat() string
func (*SpriteSheet) GetInterval ¶
func (x *SpriteSheet) GetInterval() *durationpb.Duration
func (*SpriteSheet) GetQuality ¶
func (x *SpriteSheet) GetQuality() int32
func (*SpriteSheet) GetRowCount ¶
func (x *SpriteSheet) GetRowCount() int32
func (*SpriteSheet) GetSpriteHeightPixels ¶
func (x *SpriteSheet) GetSpriteHeightPixels() int32
func (*SpriteSheet) GetSpriteWidthPixels ¶
func (x *SpriteSheet) GetSpriteWidthPixels() int32
func (*SpriteSheet) GetStartTimeOffset ¶
func (x *SpriteSheet) GetStartTimeOffset() *durationpb.Duration
func (*SpriteSheet) GetTotalCount ¶
func (x *SpriteSheet) GetTotalCount() int32
func (*SpriteSheet) HasEndTimeOffset ¶
func (x *SpriteSheet) HasEndTimeOffset() bool
func (*SpriteSheet) HasExtractionStrategy ¶
func (x *SpriteSheet) HasExtractionStrategy() bool
func (*SpriteSheet) HasInterval ¶
func (x *SpriteSheet) HasInterval() bool
func (*SpriteSheet) HasStartTimeOffset ¶
func (x *SpriteSheet) HasStartTimeOffset() bool
func (*SpriteSheet) HasTotalCount ¶
func (x *SpriteSheet) HasTotalCount() bool
func (*SpriteSheet) ProtoMessage ¶
func (*SpriteSheet) ProtoMessage()
func (*SpriteSheet) ProtoReflect ¶
func (x *SpriteSheet) ProtoReflect() protoreflect.Message
func (*SpriteSheet) Reset ¶
func (x *SpriteSheet) Reset()
func (*SpriteSheet) SetColumnCount ¶
func (x *SpriteSheet) SetColumnCount(v int32)
func (*SpriteSheet) SetEndTimeOffset ¶
func (x *SpriteSheet) SetEndTimeOffset(v *durationpb.Duration)
func (*SpriteSheet) SetFilePrefix ¶
func (x *SpriteSheet) SetFilePrefix(v string)
func (*SpriteSheet) SetFormat ¶
func (x *SpriteSheet) SetFormat(v string)
func (*SpriteSheet) SetInterval ¶
func (x *SpriteSheet) SetInterval(v *durationpb.Duration)
func (*SpriteSheet) SetQuality ¶
func (x *SpriteSheet) SetQuality(v int32)
func (*SpriteSheet) SetRowCount ¶
func (x *SpriteSheet) SetRowCount(v int32)
func (*SpriteSheet) SetSpriteHeightPixels ¶
func (x *SpriteSheet) SetSpriteHeightPixels(v int32)
func (*SpriteSheet) SetSpriteWidthPixels ¶
func (x *SpriteSheet) SetSpriteWidthPixels(v int32)
func (*SpriteSheet) SetStartTimeOffset ¶
func (x *SpriteSheet) SetStartTimeOffset(v *durationpb.Duration)
func (*SpriteSheet) SetTotalCount ¶
func (x *SpriteSheet) SetTotalCount(v int32)
func (*SpriteSheet) String ¶
func (x *SpriteSheet) String() string
func (*SpriteSheet) WhichExtractionStrategy ¶
func (x *SpriteSheet) WhichExtractionStrategy() case_SpriteSheet_ExtractionStrategy
type SpriteSheet_Interval ¶
type SpriteSheet_Interval struct {
// Starting from `0s`, create sprites at regular intervals. Specify the
// interval value in seconds.
Interval *durationpb.Duration `protobuf:"bytes,10,opt,name=interval,proto3,oneof"`
}
type SpriteSheet_TotalCount ¶
type SpriteSheet_TotalCount struct {
// Total number of sprites. Create the specified number of sprites
// distributed evenly across the timeline of the output media. The default
// is 100.
TotalCount int32 `protobuf:"varint,9,opt,name=total_count,json=totalCount,proto3,oneof"`
}
type SpriteSheet_builder ¶
type SpriteSheet_builder struct {
// Format type. The default is `jpeg`.
//
// Supported formats:
//
// - `jpeg`
Format string
// Required. File name prefix for the generated sprite sheets.
//
// Each sprite sheet has an incremental 10-digit zero-padded suffix starting
// from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
FilePrefix string
// Required. The width of sprite in pixels. Must be an even integer. To
// preserve the source aspect ratio, set the
// [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
// field or the
// [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
// field, but not both (the API will automatically calculate the missing
// field).
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
SpriteWidthPixels int32
// Required. The height of sprite in pixels. Must be an even integer. To
// preserve the source aspect ratio, set the
// [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
// field or the
// [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
// field, but not both (the API will automatically calculate the missing
// field).
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
SpriteHeightPixels int32
// The maximum number of sprites per row in a sprite sheet. The default is 0,
// which indicates no maximum limit.
ColumnCount int32
// The maximum number of rows per sprite sheet. When the sprite sheet is full,
// a new sprite sheet is created. The default is 0, which indicates no maximum
// limit.
RowCount int32
// Start time in seconds, relative to the output file timeline. Determines the
// first sprite to pick. The default is `0s`.
StartTimeOffset *durationpb.Duration
// End time in seconds, relative to the output file timeline. When
// `end_time_offset` is not specified, the sprites are generated until the end
// of the output file.
EndTimeOffset *durationpb.Duration
// Fields of oneof ExtractionStrategy:
// Total number of sprites. Create the specified number of sprites
// distributed evenly across the timeline of the output media. The default
// is 100.
TotalCount *int32
// Starting from `0s`, create sprites at regular intervals. Specify the
// interval value in seconds.
Interval *durationpb.Duration
// -- end of ExtractionStrategy
// The quality of the generated sprite sheet. Enter a value between 1
// and 100, where 1 is the lowest quality and 100 is the highest quality.
// The default is 100. A high quality value corresponds to a low image data
// compression ratio.
Quality int32
// contains filtered or unexported fields
}
func (SpriteSheet_builder) Build ¶
func (b0 SpriteSheet_builder) Build() *SpriteSheet
type TextStream ¶
type TextStream struct {
// The codec for this text stream. The default is `webvtt`.
//
// Supported text codecs:
//
// - `srt`
// - `ttml`
// - `cea608`
// - `cea708`
// - `webvtt`
Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
// The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
// supported in MP4 files.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
Mapping []*TextStream_TextMapping `protobuf:"bytes,3,rep,name=mapping,proto3" json:"mapping,omitempty"`
// The name for this particular text stream that
// will be added to the HLS/DASH manifest. Not supported in MP4 files.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Encoding of a text stream. For example, closed captions or subtitles.
func (*TextStream) GetCodec ¶
func (x *TextStream) GetCodec() string
func (*TextStream) GetDisplayName ¶
func (x *TextStream) GetDisplayName() string
func (*TextStream) GetLanguageCode ¶
func (x *TextStream) GetLanguageCode() string
func (*TextStream) GetMapping ¶
func (x *TextStream) GetMapping() []*TextStream_TextMapping
func (*TextStream) ProtoMessage ¶
func (*TextStream) ProtoMessage()
func (*TextStream) ProtoReflect ¶
func (x *TextStream) ProtoReflect() protoreflect.Message
func (*TextStream) Reset ¶
func (x *TextStream) Reset()
func (*TextStream) SetCodec ¶
func (x *TextStream) SetCodec(v string)
func (*TextStream) SetDisplayName ¶
func (x *TextStream) SetDisplayName(v string)
func (*TextStream) SetLanguageCode ¶
func (x *TextStream) SetLanguageCode(v string)
func (*TextStream) SetMapping ¶
func (x *TextStream) SetMapping(v []*TextStream_TextMapping)
func (*TextStream) String ¶
func (x *TextStream) String() string
type TextStream_TextMapping ¶
type TextStream_TextMapping struct {
// Required. The `EditAtom.key` that references atom with text inputs in the
// `Job.edit_list`.
AtomKey string `protobuf:"bytes,1,opt,name=atom_key,json=atomKey,proto3" json:"atom_key,omitempty"`
// Required. The `Input.key` that identifies the input file.
InputKey string `protobuf:"bytes,2,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
// Required. The zero-based index of the track in the input file.
InputTrack int32 `protobuf:"varint,3,opt,name=input_track,json=inputTrack,proto3" json:"input_track,omitempty"`
// contains filtered or unexported fields
}
The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
func (*TextStream_TextMapping) GetAtomKey ¶
func (x *TextStream_TextMapping) GetAtomKey() string
func (*TextStream_TextMapping) GetInputKey ¶
func (x *TextStream_TextMapping) GetInputKey() string
func (*TextStream_TextMapping) GetInputTrack ¶
func (x *TextStream_TextMapping) GetInputTrack() int32
func (*TextStream_TextMapping) ProtoMessage ¶
func (*TextStream_TextMapping) ProtoMessage()
func (*TextStream_TextMapping) ProtoReflect ¶
func (x *TextStream_TextMapping) ProtoReflect() protoreflect.Message
func (*TextStream_TextMapping) Reset ¶
func (x *TextStream_TextMapping) Reset()
func (*TextStream_TextMapping) SetAtomKey ¶
func (x *TextStream_TextMapping) SetAtomKey(v string)
func (*TextStream_TextMapping) SetInputKey ¶
func (x *TextStream_TextMapping) SetInputKey(v string)
func (*TextStream_TextMapping) SetInputTrack ¶
func (x *TextStream_TextMapping) SetInputTrack(v int32)
func (*TextStream_TextMapping) String ¶
func (x *TextStream_TextMapping) String() string
type TextStream_TextMapping_builder ¶
type TextStream_TextMapping_builder struct {
// Required. The `EditAtom.key` that references atom with text inputs in the
// `Job.edit_list`.
AtomKey string
// Required. The `Input.key` that identifies the input file.
InputKey string
// Required. The zero-based index of the track in the input file.
InputTrack int32
// contains filtered or unexported fields
}
func (TextStream_TextMapping_builder) Build ¶
func (b0 TextStream_TextMapping_builder) Build() *TextStream_TextMapping
type TextStream_builder ¶
type TextStream_builder struct {
// The codec for this text stream. The default is `webvtt`.
//
// Supported text codecs:
//
// - `srt`
// - `ttml`
// - `cea608`
// - `cea708`
// - `webvtt`
Codec string
// The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
// supported in MP4 files.
LanguageCode string
// The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
Mapping []*TextStream_TextMapping
// The name for this particular text stream that
// will be added to the HLS/DASH manifest. Not supported in MP4 files.
DisplayName string
// contains filtered or unexported fields
}
func (TextStream_builder) Build ¶
func (b0 TextStream_builder) Build() *TextStream
type VideoStream ¶
type VideoStream struct {
// Codec settings can be h264, h265, or vp9.
//
// Types that are valid to be assigned to CodecSettings:
//
// *VideoStream_H264
// *VideoStream_H265
// *VideoStream_Vp9
CodecSettings isVideoStream_CodecSettings `protobuf_oneof:"codec_settings"`
// contains filtered or unexported fields
}
Video stream resource.
func (*VideoStream) ClearCodecSettings ¶
func (x *VideoStream) ClearCodecSettings()
func (*VideoStream) ClearH264 ¶
func (x *VideoStream) ClearH264()
func (*VideoStream) ClearH265 ¶
func (x *VideoStream) ClearH265()
func (*VideoStream) ClearVp9 ¶
func (x *VideoStream) ClearVp9()
func (*VideoStream) GetCodecSettings ¶
func (x *VideoStream) GetCodecSettings() isVideoStream_CodecSettings
func (*VideoStream) GetH264 ¶
func (x *VideoStream) GetH264() *VideoStream_H264CodecSettings
func (*VideoStream) GetH265 ¶
func (x *VideoStream) GetH265() *VideoStream_H265CodecSettings
func (*VideoStream) GetVp9 ¶
func (x *VideoStream) GetVp9() *VideoStream_Vp9CodecSettings
func (*VideoStream) HasCodecSettings ¶
func (x *VideoStream) HasCodecSettings() bool
func (*VideoStream) HasH264 ¶
func (x *VideoStream) HasH264() bool
func (*VideoStream) HasH265 ¶
func (x *VideoStream) HasH265() bool
func (*VideoStream) HasVp9 ¶
func (x *VideoStream) HasVp9() bool
func (*VideoStream) ProtoMessage ¶
func (*VideoStream) ProtoMessage()
func (*VideoStream) ProtoReflect ¶
func (x *VideoStream) ProtoReflect() protoreflect.Message
func (*VideoStream) Reset ¶
func (x *VideoStream) Reset()
func (*VideoStream) SetH264 ¶
func (x *VideoStream) SetH264(v *VideoStream_H264CodecSettings)
func (*VideoStream) SetH265 ¶
func (x *VideoStream) SetH265(v *VideoStream_H265CodecSettings)
func (*VideoStream) SetVp9 ¶
func (x *VideoStream) SetVp9(v *VideoStream_Vp9CodecSettings)
func (*VideoStream) String ¶
func (x *VideoStream) String() string
func (*VideoStream) WhichCodecSettings ¶
func (x *VideoStream) WhichCodecSettings() case_VideoStream_CodecSettings
type VideoStream_H264 ¶
type VideoStream_H264 struct {
// H264 codec settings.
H264 *VideoStream_H264CodecSettings `protobuf:"bytes,1,opt,name=h264,proto3,oneof"`
}
type VideoStream_H264CodecSettings ¶
type VideoStream_H264CodecSettings struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32 `protobuf:"varint,1,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32 `protobuf:"varint,2,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64 `protobuf:"fixed64,3,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 800,000,000.
BitrateBps int32 `protobuf:"varint,4,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string `protobuf:"bytes,5,opt,name=pixel_format,json=pixelFormat,proto3" json:"pixel_format,omitempty"`
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
// - `crf` - constant rate factor
RateControlMode string `protobuf:"bytes,6,opt,name=rate_control_mode,json=rateControlMode,proto3" json:"rate_control_mode,omitempty"`
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
CrfLevel int32 `protobuf:"varint,7,opt,name=crf_level,json=crfLevel,proto3" json:"crf_level,omitempty"`
// Specifies whether an open Group of Pictures (GOP) structure should be
// allowed or not. The default is `false`.
AllowOpenGop bool `protobuf:"varint,8,opt,name=allow_open_gop,json=allowOpenGop,proto3" json:"allow_open_gop,omitempty"`
// GOP mode can be either by frame count or duration.
//
// Types that are valid to be assigned to GopMode:
//
// *VideoStream_H264CodecSettings_GopFrameCount
// *VideoStream_H264CodecSettings_GopDuration
GopMode isVideoStream_H264CodecSettings_GopMode `protobuf_oneof:"gop_mode"`
// Use two-pass encoding strategy to achieve better video quality.
// `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
EnableTwoPass bool `protobuf:"varint,11,opt,name=enable_two_pass,json=enableTwoPass,proto3" json:"enable_two_pass,omitempty"`
// Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
// greater than zero. The default is equal to `VideoStream.bitrate_bps`.
VbvSizeBits int32 `protobuf:"varint,12,opt,name=vbv_size_bits,json=vbvSizeBits,proto3" json:"vbv_size_bits,omitempty"`
// Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
// Must be greater than zero. The default is equal to 90% of
// `VideoStream.vbv_size_bits`.
VbvFullnessBits int32 `protobuf:"varint,13,opt,name=vbv_fullness_bits,json=vbvFullnessBits,proto3" json:"vbv_fullness_bits,omitempty"`
// The entropy coder to use. The default is `cabac`.
//
// Supported entropy coders:
//
// - `cavlc`
// - `cabac`
EntropyCoder string `protobuf:"bytes,14,opt,name=entropy_coder,json=entropyCoder,proto3" json:"entropy_coder,omitempty"`
// Allow B-pyramid for reference frame selection. This may not be supported
// on all decoders. The default is `false`.
BPyramid bool `protobuf:"varint,15,opt,name=b_pyramid,json=bPyramid,proto3" json:"b_pyramid,omitempty"`
// The number of consecutive B-frames. Must be greater than or equal to
// zero. Must be less than `VideoStream.gop_frame_count` if set. The default
// is 0.
BFrameCount int32 `protobuf:"varint,16,opt,name=b_frame_count,json=bFrameCount,proto3" json:"b_frame_count,omitempty"`
// Specify the intensity of the adaptive quantizer (AQ). Must be between 0
// and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
// higher value equals a lower bitrate but smoother image. The default is 0.
AqStrength float64 `protobuf:"fixed64,17,opt,name=aq_strength,json=aqStrength,proto3" json:"aq_strength,omitempty"`
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * `baseline`
// * `main`
// * `high` (default)
//
// The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Profile string `protobuf:"bytes,18,opt,name=profile,proto3" json:"profile,omitempty"`
// Enforces the specified codec tune. The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Tune string `protobuf:"bytes,19,opt,name=tune,proto3" json:"tune,omitempty"`
// Enforces the specified codec preset. The default is `veryfast`. The
// available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Preset string `protobuf:"bytes,20,opt,name=preset,proto3" json:"preset,omitempty"`
// contains filtered or unexported fields
}
H264 codec settings.
func (*VideoStream_H264CodecSettings) ClearGopDuration ¶
func (x *VideoStream_H264CodecSettings) ClearGopDuration()
func (*VideoStream_H264CodecSettings) ClearGopFrameCount ¶
func (x *VideoStream_H264CodecSettings) ClearGopFrameCount()
func (*VideoStream_H264CodecSettings) ClearGopMode ¶
func (x *VideoStream_H264CodecSettings) ClearGopMode()
func (*VideoStream_H264CodecSettings) GetAllowOpenGop ¶
func (x *VideoStream_H264CodecSettings) GetAllowOpenGop() bool
func (*VideoStream_H264CodecSettings) GetAqStrength ¶
func (x *VideoStream_H264CodecSettings) GetAqStrength() float64
func (*VideoStream_H264CodecSettings) GetBFrameCount ¶
func (x *VideoStream_H264CodecSettings) GetBFrameCount() int32
func (*VideoStream_H264CodecSettings) GetBPyramid ¶
func (x *VideoStream_H264CodecSettings) GetBPyramid() bool
func (*VideoStream_H264CodecSettings) GetBitrateBps ¶
func (x *VideoStream_H264CodecSettings) GetBitrateBps() int32
func (*VideoStream_H264CodecSettings) GetCrfLevel ¶
func (x *VideoStream_H264CodecSettings) GetCrfLevel() int32
func (*VideoStream_H264CodecSettings) GetEnableTwoPass ¶
func (x *VideoStream_H264CodecSettings) GetEnableTwoPass() bool
func (*VideoStream_H264CodecSettings) GetEntropyCoder ¶
func (x *VideoStream_H264CodecSettings) GetEntropyCoder() string
func (*VideoStream_H264CodecSettings) GetFrameRate ¶
func (x *VideoStream_H264CodecSettings) GetFrameRate() float64
func (*VideoStream_H264CodecSettings) GetGopDuration ¶
func (x *VideoStream_H264CodecSettings) GetGopDuration() *durationpb.Duration
func (*VideoStream_H264CodecSettings) GetGopFrameCount ¶
func (x *VideoStream_H264CodecSettings) GetGopFrameCount() int32
func (*VideoStream_H264CodecSettings) GetGopMode ¶
func (x *VideoStream_H264CodecSettings) GetGopMode() isVideoStream_H264CodecSettings_GopMode
func (*VideoStream_H264CodecSettings) GetHeightPixels ¶
func (x *VideoStream_H264CodecSettings) GetHeightPixels() int32
func (*VideoStream_H264CodecSettings) GetPixelFormat ¶
func (x *VideoStream_H264CodecSettings) GetPixelFormat() string
func (*VideoStream_H264CodecSettings) GetPreset ¶
func (x *VideoStream_H264CodecSettings) GetPreset() string
func (*VideoStream_H264CodecSettings) GetProfile ¶
func (x *VideoStream_H264CodecSettings) GetProfile() string
func (*VideoStream_H264CodecSettings) GetRateControlMode ¶
func (x *VideoStream_H264CodecSettings) GetRateControlMode() string
func (*VideoStream_H264CodecSettings) GetTune ¶
func (x *VideoStream_H264CodecSettings) GetTune() string
func (*VideoStream_H264CodecSettings) GetVbvFullnessBits ¶
func (x *VideoStream_H264CodecSettings) GetVbvFullnessBits() int32
func (*VideoStream_H264CodecSettings) GetVbvSizeBits ¶
func (x *VideoStream_H264CodecSettings) GetVbvSizeBits() int32
func (*VideoStream_H264CodecSettings) GetWidthPixels ¶
func (x *VideoStream_H264CodecSettings) GetWidthPixels() int32
func (*VideoStream_H264CodecSettings) HasGopDuration ¶
func (x *VideoStream_H264CodecSettings) HasGopDuration() bool
func (*VideoStream_H264CodecSettings) HasGopFrameCount ¶
func (x *VideoStream_H264CodecSettings) HasGopFrameCount() bool
func (*VideoStream_H264CodecSettings) HasGopMode ¶
func (x *VideoStream_H264CodecSettings) HasGopMode() bool
func (*VideoStream_H264CodecSettings) ProtoMessage ¶
func (*VideoStream_H264CodecSettings) ProtoMessage()
func (*VideoStream_H264CodecSettings) ProtoReflect ¶
func (x *VideoStream_H264CodecSettings) ProtoReflect() protoreflect.Message
func (*VideoStream_H264CodecSettings) Reset ¶
func (x *VideoStream_H264CodecSettings) Reset()
func (*VideoStream_H264CodecSettings) SetAllowOpenGop ¶
func (x *VideoStream_H264CodecSettings) SetAllowOpenGop(v bool)
func (*VideoStream_H264CodecSettings) SetAqStrength ¶
func (x *VideoStream_H264CodecSettings) SetAqStrength(v float64)
func (*VideoStream_H264CodecSettings) SetBFrameCount ¶
func (x *VideoStream_H264CodecSettings) SetBFrameCount(v int32)
func (*VideoStream_H264CodecSettings) SetBPyramid ¶
func (x *VideoStream_H264CodecSettings) SetBPyramid(v bool)
func (*VideoStream_H264CodecSettings) SetBitrateBps ¶
func (x *VideoStream_H264CodecSettings) SetBitrateBps(v int32)
func (*VideoStream_H264CodecSettings) SetCrfLevel ¶
func (x *VideoStream_H264CodecSettings) SetCrfLevel(v int32)
func (*VideoStream_H264CodecSettings) SetEnableTwoPass ¶
func (x *VideoStream_H264CodecSettings) SetEnableTwoPass(v bool)
func (*VideoStream_H264CodecSettings) SetEntropyCoder ¶
func (x *VideoStream_H264CodecSettings) SetEntropyCoder(v string)
func (*VideoStream_H264CodecSettings) SetFrameRate ¶
func (x *VideoStream_H264CodecSettings) SetFrameRate(v float64)
func (*VideoStream_H264CodecSettings) SetGopDuration ¶
func (x *VideoStream_H264CodecSettings) SetGopDuration(v *durationpb.Duration)
func (*VideoStream_H264CodecSettings) SetGopFrameCount ¶
func (x *VideoStream_H264CodecSettings) SetGopFrameCount(v int32)
func (*VideoStream_H264CodecSettings) SetHeightPixels ¶
func (x *VideoStream_H264CodecSettings) SetHeightPixels(v int32)
func (*VideoStream_H264CodecSettings) SetPixelFormat ¶
func (x *VideoStream_H264CodecSettings) SetPixelFormat(v string)
func (*VideoStream_H264CodecSettings) SetPreset ¶
func (x *VideoStream_H264CodecSettings) SetPreset(v string)
func (*VideoStream_H264CodecSettings) SetProfile ¶
func (x *VideoStream_H264CodecSettings) SetProfile(v string)
func (*VideoStream_H264CodecSettings) SetRateControlMode ¶
func (x *VideoStream_H264CodecSettings) SetRateControlMode(v string)
func (*VideoStream_H264CodecSettings) SetTune ¶
func (x *VideoStream_H264CodecSettings) SetTune(v string)
func (*VideoStream_H264CodecSettings) SetVbvFullnessBits ¶
func (x *VideoStream_H264CodecSettings) SetVbvFullnessBits(v int32)
func (*VideoStream_H264CodecSettings) SetVbvSizeBits ¶
func (x *VideoStream_H264CodecSettings) SetVbvSizeBits(v int32)
func (*VideoStream_H264CodecSettings) SetWidthPixels ¶
func (x *VideoStream_H264CodecSettings) SetWidthPixels(v int32)
func (*VideoStream_H264CodecSettings) String ¶
func (x *VideoStream_H264CodecSettings) String() string
func (*VideoStream_H264CodecSettings) WhichGopMode ¶
func (x *VideoStream_H264CodecSettings) WhichGopMode() case_VideoStream_H264CodecSettings_GopMode
type VideoStream_H264CodecSettings_GopDuration ¶
type VideoStream_H264CodecSettings_GopDuration struct {
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration `protobuf:"bytes,10,opt,name=gop_duration,json=gopDuration,proto3,oneof"`
}
type VideoStream_H264CodecSettings_GopFrameCount ¶
type VideoStream_H264CodecSettings_GopFrameCount struct {
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount int32 `protobuf:"varint,9,opt,name=gop_frame_count,json=gopFrameCount,proto3,oneof"`
}
type VideoStream_H264CodecSettings_builder ¶
type VideoStream_H264CodecSettings_builder struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 800,000,000.
BitrateBps int32
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
// - `crf` - constant rate factor
RateControlMode string
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
CrfLevel int32
// Specifies whether an open Group of Pictures (GOP) structure should be
// allowed or not. The default is `false`.
AllowOpenGop bool
// Fields of oneof GopMode:
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount *int32
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration
// -- end of GopMode
// Use two-pass encoding strategy to achieve better video quality.
// `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
EnableTwoPass bool
// Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
// greater than zero. The default is equal to `VideoStream.bitrate_bps`.
VbvSizeBits int32
// Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
// Must be greater than zero. The default is equal to 90% of
// `VideoStream.vbv_size_bits`.
VbvFullnessBits int32
// The entropy coder to use. The default is `cabac`.
//
// Supported entropy coders:
//
// - `cavlc`
// - `cabac`
EntropyCoder string
// Allow B-pyramid for reference frame selection. This may not be supported
// on all decoders. The default is `false`.
BPyramid bool
// The number of consecutive B-frames. Must be greater than or equal to
// zero. Must be less than `VideoStream.gop_frame_count` if set. The default
// is 0.
BFrameCount int32
// Specify the intensity of the adaptive quantizer (AQ). Must be between 0
// and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
// higher value equals a lower bitrate but smoother image. The default is 0.
AqStrength float64
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * `baseline`
// * `main`
// * `high` (default)
//
// The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Profile string
// Enforces the specified codec tune. The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Tune string
// Enforces the specified codec preset. The default is `veryfast`. The
// available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H264CodecSettings`
// message.
Preset string
// contains filtered or unexported fields
}
func (VideoStream_H264CodecSettings_builder) Build ¶
func (b0 VideoStream_H264CodecSettings_builder) Build() *VideoStream_H264CodecSettings
type VideoStream_H265 ¶
type VideoStream_H265 struct {
// H265 codec settings.
H265 *VideoStream_H265CodecSettings `protobuf:"bytes,2,opt,name=h265,proto3,oneof"`
}
type VideoStream_H265CodecSettings ¶
type VideoStream_H265CodecSettings struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32 `protobuf:"varint,1,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32 `protobuf:"varint,2,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64 `protobuf:"fixed64,3,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 800,000,000.
BitrateBps int32 `protobuf:"varint,4,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string `protobuf:"bytes,5,opt,name=pixel_format,json=pixelFormat,proto3" json:"pixel_format,omitempty"`
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
// - `crf` - constant rate factor
RateControlMode string `protobuf:"bytes,6,opt,name=rate_control_mode,json=rateControlMode,proto3" json:"rate_control_mode,omitempty"`
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
CrfLevel int32 `protobuf:"varint,7,opt,name=crf_level,json=crfLevel,proto3" json:"crf_level,omitempty"`
// Specifies whether an open Group of Pictures (GOP) structure should be
// allowed or not. The default is `false`.
AllowOpenGop bool `protobuf:"varint,8,opt,name=allow_open_gop,json=allowOpenGop,proto3" json:"allow_open_gop,omitempty"`
// GOP mode can be either by frame count or duration.
//
// Types that are valid to be assigned to GopMode:
//
// *VideoStream_H265CodecSettings_GopFrameCount
// *VideoStream_H265CodecSettings_GopDuration
GopMode isVideoStream_H265CodecSettings_GopMode `protobuf_oneof:"gop_mode"`
// Use two-pass encoding strategy to achieve better video quality.
// `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
EnableTwoPass bool `protobuf:"varint,11,opt,name=enable_two_pass,json=enableTwoPass,proto3" json:"enable_two_pass,omitempty"`
// Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
// greater than zero. The default is equal to `VideoStream.bitrate_bps`.
VbvSizeBits int32 `protobuf:"varint,12,opt,name=vbv_size_bits,json=vbvSizeBits,proto3" json:"vbv_size_bits,omitempty"`
// Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
// Must be greater than zero. The default is equal to 90% of
// `VideoStream.vbv_size_bits`.
VbvFullnessBits int32 `protobuf:"varint,13,opt,name=vbv_fullness_bits,json=vbvFullnessBits,proto3" json:"vbv_fullness_bits,omitempty"`
// Allow B-pyramid for reference frame selection. This may not be supported
// on all decoders. The default is `false`.
BPyramid bool `protobuf:"varint,14,opt,name=b_pyramid,json=bPyramid,proto3" json:"b_pyramid,omitempty"`
// The number of consecutive B-frames. Must be greater than or equal to
// zero. Must be less than `VideoStream.gop_frame_count` if set. The default
// is 0.
BFrameCount int32 `protobuf:"varint,15,opt,name=b_frame_count,json=bFrameCount,proto3" json:"b_frame_count,omitempty"`
// Specify the intensity of the adaptive quantizer (AQ). Must be between 0
// and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
// higher value equals a lower bitrate but smoother image. The default is 0.
AqStrength float64 `protobuf:"fixed64,16,opt,name=aq_strength,json=aqStrength,proto3" json:"aq_strength,omitempty"`
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * 8-bit profiles
// - `main` (default)
// - `main-intra`
// - `mainstillpicture`
//
// * 10-bit profiles
// - `main10` (default)
// - `main10-intra`
// - `main422-10`
// - `main422-10-intra`
// - `main444-10`
// - `main444-10-intra`
//
// * 12-bit profiles
// - `main12` (default)
// - `main12-intra`
// - `main422-12`
// - `main422-12-intra`
// - `main444-12`
// - `main444-12-intra`
//
// The available options are
// [FFmpeg-compatible](https://x265.readthedocs.io/).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Profile string `protobuf:"bytes,17,opt,name=profile,proto3" json:"profile,omitempty"`
// Enforces the specified codec tune. The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Tune string `protobuf:"bytes,18,opt,name=tune,proto3" json:"tune,omitempty"`
// Enforces the specified codec preset. The default is `veryfast`. The
// available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Preset string `protobuf:"bytes,19,opt,name=preset,proto3" json:"preset,omitempty"`
// contains filtered or unexported fields
}
H265 codec settings.
func (*VideoStream_H265CodecSettings) ClearGopDuration ¶
func (x *VideoStream_H265CodecSettings) ClearGopDuration()
func (*VideoStream_H265CodecSettings) ClearGopFrameCount ¶
func (x *VideoStream_H265CodecSettings) ClearGopFrameCount()
func (*VideoStream_H265CodecSettings) ClearGopMode ¶
func (x *VideoStream_H265CodecSettings) ClearGopMode()
func (*VideoStream_H265CodecSettings) GetAllowOpenGop ¶
func (x *VideoStream_H265CodecSettings) GetAllowOpenGop() bool
func (*VideoStream_H265CodecSettings) GetAqStrength ¶
func (x *VideoStream_H265CodecSettings) GetAqStrength() float64
func (*VideoStream_H265CodecSettings) GetBFrameCount ¶
func (x *VideoStream_H265CodecSettings) GetBFrameCount() int32
func (*VideoStream_H265CodecSettings) GetBPyramid ¶
func (x *VideoStream_H265CodecSettings) GetBPyramid() bool
func (*VideoStream_H265CodecSettings) GetBitrateBps ¶
func (x *VideoStream_H265CodecSettings) GetBitrateBps() int32
func (*VideoStream_H265CodecSettings) GetCrfLevel ¶
func (x *VideoStream_H265CodecSettings) GetCrfLevel() int32
func (*VideoStream_H265CodecSettings) GetEnableTwoPass ¶
func (x *VideoStream_H265CodecSettings) GetEnableTwoPass() bool
func (*VideoStream_H265CodecSettings) GetFrameRate ¶
func (x *VideoStream_H265CodecSettings) GetFrameRate() float64
func (*VideoStream_H265CodecSettings) GetGopDuration ¶
func (x *VideoStream_H265CodecSettings) GetGopDuration() *durationpb.Duration
func (*VideoStream_H265CodecSettings) GetGopFrameCount ¶
func (x *VideoStream_H265CodecSettings) GetGopFrameCount() int32
func (*VideoStream_H265CodecSettings) GetGopMode ¶
func (x *VideoStream_H265CodecSettings) GetGopMode() isVideoStream_H265CodecSettings_GopMode
func (*VideoStream_H265CodecSettings) GetHeightPixels ¶
func (x *VideoStream_H265CodecSettings) GetHeightPixels() int32
func (*VideoStream_H265CodecSettings) GetPixelFormat ¶
func (x *VideoStream_H265CodecSettings) GetPixelFormat() string
func (*VideoStream_H265CodecSettings) GetPreset ¶
func (x *VideoStream_H265CodecSettings) GetPreset() string
func (*VideoStream_H265CodecSettings) GetProfile ¶
func (x *VideoStream_H265CodecSettings) GetProfile() string
func (*VideoStream_H265CodecSettings) GetRateControlMode ¶
func (x *VideoStream_H265CodecSettings) GetRateControlMode() string
func (*VideoStream_H265CodecSettings) GetTune ¶
func (x *VideoStream_H265CodecSettings) GetTune() string
func (*VideoStream_H265CodecSettings) GetVbvFullnessBits ¶
func (x *VideoStream_H265CodecSettings) GetVbvFullnessBits() int32
func (*VideoStream_H265CodecSettings) GetVbvSizeBits ¶
func (x *VideoStream_H265CodecSettings) GetVbvSizeBits() int32
func (*VideoStream_H265CodecSettings) GetWidthPixels ¶
func (x *VideoStream_H265CodecSettings) GetWidthPixels() int32
func (*VideoStream_H265CodecSettings) HasGopDuration ¶
func (x *VideoStream_H265CodecSettings) HasGopDuration() bool
func (*VideoStream_H265CodecSettings) HasGopFrameCount ¶
func (x *VideoStream_H265CodecSettings) HasGopFrameCount() bool
func (*VideoStream_H265CodecSettings) HasGopMode ¶
func (x *VideoStream_H265CodecSettings) HasGopMode() bool
func (*VideoStream_H265CodecSettings) ProtoMessage ¶
func (*VideoStream_H265CodecSettings) ProtoMessage()
func (*VideoStream_H265CodecSettings) ProtoReflect ¶
func (x *VideoStream_H265CodecSettings) ProtoReflect() protoreflect.Message
func (*VideoStream_H265CodecSettings) Reset ¶
func (x *VideoStream_H265CodecSettings) Reset()
func (*VideoStream_H265CodecSettings) SetAllowOpenGop ¶
func (x *VideoStream_H265CodecSettings) SetAllowOpenGop(v bool)
func (*VideoStream_H265CodecSettings) SetAqStrength ¶
func (x *VideoStream_H265CodecSettings) SetAqStrength(v float64)
func (*VideoStream_H265CodecSettings) SetBFrameCount ¶
func (x *VideoStream_H265CodecSettings) SetBFrameCount(v int32)
func (*VideoStream_H265CodecSettings) SetBPyramid ¶
func (x *VideoStream_H265CodecSettings) SetBPyramid(v bool)
func (*VideoStream_H265CodecSettings) SetBitrateBps ¶
func (x *VideoStream_H265CodecSettings) SetBitrateBps(v int32)
func (*VideoStream_H265CodecSettings) SetCrfLevel ¶
func (x *VideoStream_H265CodecSettings) SetCrfLevel(v int32)
func (*VideoStream_H265CodecSettings) SetEnableTwoPass ¶
func (x *VideoStream_H265CodecSettings) SetEnableTwoPass(v bool)
func (*VideoStream_H265CodecSettings) SetFrameRate ¶
func (x *VideoStream_H265CodecSettings) SetFrameRate(v float64)
func (*VideoStream_H265CodecSettings) SetGopDuration ¶
func (x *VideoStream_H265CodecSettings) SetGopDuration(v *durationpb.Duration)
func (*VideoStream_H265CodecSettings) SetGopFrameCount ¶
func (x *VideoStream_H265CodecSettings) SetGopFrameCount(v int32)
func (*VideoStream_H265CodecSettings) SetHeightPixels ¶
func (x *VideoStream_H265CodecSettings) SetHeightPixels(v int32)
func (*VideoStream_H265CodecSettings) SetPixelFormat ¶
func (x *VideoStream_H265CodecSettings) SetPixelFormat(v string)
func (*VideoStream_H265CodecSettings) SetPreset ¶
func (x *VideoStream_H265CodecSettings) SetPreset(v string)
func (*VideoStream_H265CodecSettings) SetProfile ¶
func (x *VideoStream_H265CodecSettings) SetProfile(v string)
func (*VideoStream_H265CodecSettings) SetRateControlMode ¶
func (x *VideoStream_H265CodecSettings) SetRateControlMode(v string)
func (*VideoStream_H265CodecSettings) SetTune ¶
func (x *VideoStream_H265CodecSettings) SetTune(v string)
func (*VideoStream_H265CodecSettings) SetVbvFullnessBits ¶
func (x *VideoStream_H265CodecSettings) SetVbvFullnessBits(v int32)
func (*VideoStream_H265CodecSettings) SetVbvSizeBits ¶
func (x *VideoStream_H265CodecSettings) SetVbvSizeBits(v int32)
func (*VideoStream_H265CodecSettings) SetWidthPixels ¶
func (x *VideoStream_H265CodecSettings) SetWidthPixels(v int32)
func (*VideoStream_H265CodecSettings) String ¶
func (x *VideoStream_H265CodecSettings) String() string
func (*VideoStream_H265CodecSettings) WhichGopMode ¶
func (x *VideoStream_H265CodecSettings) WhichGopMode() case_VideoStream_H265CodecSettings_GopMode
type VideoStream_H265CodecSettings_GopDuration ¶
type VideoStream_H265CodecSettings_GopDuration struct {
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration `protobuf:"bytes,10,opt,name=gop_duration,json=gopDuration,proto3,oneof"`
}
type VideoStream_H265CodecSettings_GopFrameCount ¶
type VideoStream_H265CodecSettings_GopFrameCount struct {
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount int32 `protobuf:"varint,9,opt,name=gop_frame_count,json=gopFrameCount,proto3,oneof"`
}
type VideoStream_H265CodecSettings_builder ¶
type VideoStream_H265CodecSettings_builder struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 800,000,000.
BitrateBps int32
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
// - `crf` - constant rate factor
RateControlMode string
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
CrfLevel int32
// Specifies whether an open Group of Pictures (GOP) structure should be
// allowed or not. The default is `false`.
AllowOpenGop bool
// Fields of oneof GopMode:
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount *int32
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration
// -- end of GopMode
// Use two-pass encoding strategy to achieve better video quality.
// `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
EnableTwoPass bool
// Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
// greater than zero. The default is equal to `VideoStream.bitrate_bps`.
VbvSizeBits int32
// Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
// Must be greater than zero. The default is equal to 90% of
// `VideoStream.vbv_size_bits`.
VbvFullnessBits int32
// Allow B-pyramid for reference frame selection. This may not be supported
// on all decoders. The default is `false`.
BPyramid bool
// The number of consecutive B-frames. Must be greater than or equal to
// zero. Must be less than `VideoStream.gop_frame_count` if set. The default
// is 0.
BFrameCount int32
// Specify the intensity of the adaptive quantizer (AQ). Must be between 0
// and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
// higher value equals a lower bitrate but smoother image. The default is 0.
AqStrength float64
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * 8-bit profiles
// - `main` (default)
// - `main-intra`
// - `mainstillpicture`
//
// * 10-bit profiles
// - `main10` (default)
// - `main10-intra`
// - `main422-10`
// - `main422-10-intra`
// - `main444-10`
// - `main444-10-intra`
//
// * 12-bit profiles
// - `main12` (default)
// - `main12-intra`
// - `main422-12`
// - `main422-12-intra`
// - `main444-12`
// - `main444-12-intra`
//
// The available options are
// [FFmpeg-compatible](https://x265.readthedocs.io/).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Profile string
// Enforces the specified codec tune. The available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Tune string
// Enforces the specified codec preset. The default is `veryfast`. The
// available options are
// [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `H265CodecSettings`
// message.
Preset string
// contains filtered or unexported fields
}
func (VideoStream_H265CodecSettings_builder) Build ¶
func (b0 VideoStream_H265CodecSettings_builder) Build() *VideoStream_H265CodecSettings
type VideoStream_Vp9 ¶
type VideoStream_Vp9 struct {
// VP9 codec settings.
Vp9 *VideoStream_Vp9CodecSettings `protobuf:"bytes,3,opt,name=vp9,proto3,oneof"`
}
type VideoStream_Vp9CodecSettings ¶
type VideoStream_Vp9CodecSettings struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32 `protobuf:"varint,1,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32 `protobuf:"varint,2,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64 `protobuf:"fixed64,3,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 480,000,000.
BitrateBps int32 `protobuf:"varint,4,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string `protobuf:"bytes,5,opt,name=pixel_format,json=pixelFormat,proto3" json:"pixel_format,omitempty"`
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
RateControlMode string `protobuf:"bytes,6,opt,name=rate_control_mode,json=rateControlMode,proto3" json:"rate_control_mode,omitempty"`
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
//
// **Note:** This field is not supported.
CrfLevel int32 `protobuf:"varint,7,opt,name=crf_level,json=crfLevel,proto3" json:"crf_level,omitempty"`
// GOP mode can be either by frame count or duration.
//
// Types that are valid to be assigned to GopMode:
//
// *VideoStream_Vp9CodecSettings_GopFrameCount
// *VideoStream_Vp9CodecSettings_GopDuration
GopMode isVideoStream_Vp9CodecSettings_GopMode `protobuf_oneof:"gop_mode"`
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * `profile0` (default)
// * `profile1`
// * `profile2`
// * `profile3`
//
// The available options are
// [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `Vp9CodecSettings`
// message.
Profile string `protobuf:"bytes,10,opt,name=profile,proto3" json:"profile,omitempty"`
// contains filtered or unexported fields
}
VP9 codec settings.
func (*VideoStream_Vp9CodecSettings) ClearGopDuration ¶
func (x *VideoStream_Vp9CodecSettings) ClearGopDuration()
func (*VideoStream_Vp9CodecSettings) ClearGopFrameCount ¶
func (x *VideoStream_Vp9CodecSettings) ClearGopFrameCount()
func (*VideoStream_Vp9CodecSettings) ClearGopMode ¶
func (x *VideoStream_Vp9CodecSettings) ClearGopMode()
func (*VideoStream_Vp9CodecSettings) GetBitrateBps ¶
func (x *VideoStream_Vp9CodecSettings) GetBitrateBps() int32
func (*VideoStream_Vp9CodecSettings) GetCrfLevel ¶
func (x *VideoStream_Vp9CodecSettings) GetCrfLevel() int32
func (*VideoStream_Vp9CodecSettings) GetFrameRate ¶
func (x *VideoStream_Vp9CodecSettings) GetFrameRate() float64
func (*VideoStream_Vp9CodecSettings) GetGopDuration ¶
func (x *VideoStream_Vp9CodecSettings) GetGopDuration() *durationpb.Duration
func (*VideoStream_Vp9CodecSettings) GetGopFrameCount ¶
func (x *VideoStream_Vp9CodecSettings) GetGopFrameCount() int32
func (*VideoStream_Vp9CodecSettings) GetGopMode ¶
func (x *VideoStream_Vp9CodecSettings) GetGopMode() isVideoStream_Vp9CodecSettings_GopMode
func (*VideoStream_Vp9CodecSettings) GetHeightPixels ¶
func (x *VideoStream_Vp9CodecSettings) GetHeightPixels() int32
func (*VideoStream_Vp9CodecSettings) GetPixelFormat ¶
func (x *VideoStream_Vp9CodecSettings) GetPixelFormat() string
func (*VideoStream_Vp9CodecSettings) GetProfile ¶
func (x *VideoStream_Vp9CodecSettings) GetProfile() string
func (*VideoStream_Vp9CodecSettings) GetRateControlMode ¶
func (x *VideoStream_Vp9CodecSettings) GetRateControlMode() string
func (*VideoStream_Vp9CodecSettings) GetWidthPixels ¶
func (x *VideoStream_Vp9CodecSettings) GetWidthPixels() int32
func (*VideoStream_Vp9CodecSettings) HasGopDuration ¶
func (x *VideoStream_Vp9CodecSettings) HasGopDuration() bool
func (*VideoStream_Vp9CodecSettings) HasGopFrameCount ¶
func (x *VideoStream_Vp9CodecSettings) HasGopFrameCount() bool
func (*VideoStream_Vp9CodecSettings) HasGopMode ¶
func (x *VideoStream_Vp9CodecSettings) HasGopMode() bool
func (*VideoStream_Vp9CodecSettings) ProtoMessage ¶
func (*VideoStream_Vp9CodecSettings) ProtoMessage()
func (*VideoStream_Vp9CodecSettings) ProtoReflect ¶
func (x *VideoStream_Vp9CodecSettings) ProtoReflect() protoreflect.Message
func (*VideoStream_Vp9CodecSettings) Reset ¶
func (x *VideoStream_Vp9CodecSettings) Reset()
func (*VideoStream_Vp9CodecSettings) SetBitrateBps ¶
func (x *VideoStream_Vp9CodecSettings) SetBitrateBps(v int32)
func (*VideoStream_Vp9CodecSettings) SetCrfLevel ¶
func (x *VideoStream_Vp9CodecSettings) SetCrfLevel(v int32)
func (*VideoStream_Vp9CodecSettings) SetFrameRate ¶
func (x *VideoStream_Vp9CodecSettings) SetFrameRate(v float64)
func (*VideoStream_Vp9CodecSettings) SetGopDuration ¶
func (x *VideoStream_Vp9CodecSettings) SetGopDuration(v *durationpb.Duration)
func (*VideoStream_Vp9CodecSettings) SetGopFrameCount ¶
func (x *VideoStream_Vp9CodecSettings) SetGopFrameCount(v int32)
func (*VideoStream_Vp9CodecSettings) SetHeightPixels ¶
func (x *VideoStream_Vp9CodecSettings) SetHeightPixels(v int32)
func (*VideoStream_Vp9CodecSettings) SetPixelFormat ¶
func (x *VideoStream_Vp9CodecSettings) SetPixelFormat(v string)
func (*VideoStream_Vp9CodecSettings) SetProfile ¶
func (x *VideoStream_Vp9CodecSettings) SetProfile(v string)
func (*VideoStream_Vp9CodecSettings) SetRateControlMode ¶
func (x *VideoStream_Vp9CodecSettings) SetRateControlMode(v string)
func (*VideoStream_Vp9CodecSettings) SetWidthPixels ¶
func (x *VideoStream_Vp9CodecSettings) SetWidthPixels(v int32)
func (*VideoStream_Vp9CodecSettings) String ¶
func (x *VideoStream_Vp9CodecSettings) String() string
func (*VideoStream_Vp9CodecSettings) WhichGopMode ¶
func (x *VideoStream_Vp9CodecSettings) WhichGopMode() case_VideoStream_Vp9CodecSettings_GopMode
type VideoStream_Vp9CodecSettings_GopDuration ¶
type VideoStream_Vp9CodecSettings_GopDuration struct {
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=gop_duration,json=gopDuration,proto3,oneof"`
}
type VideoStream_Vp9CodecSettings_GopFrameCount ¶
type VideoStream_Vp9CodecSettings_GopFrameCount struct {
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount int32 `protobuf:"varint,8,opt,name=gop_frame_count,json=gopFrameCount,proto3,oneof"`
}
type VideoStream_Vp9CodecSettings_builder ¶
type VideoStream_Vp9CodecSettings_builder struct {
// The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the width, in pixels, per the horizontal ASR. The API calculates
// the height per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
WidthPixels int32
// The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
//
// For portrait videos that contain horizontal ASR and rotation metadata,
// provide the height, in pixels, per the horizontal ASR. The API calculates
// the width per the horizontal ASR. The API detects any rotation metadata
// and swaps the requested height and width for the output.
HeightPixels int32
// Required. The target video frame rate in frames per second (FPS). Must be
// less than or equal to 120. Will default to the input frame rate if larger
// than the input frame rate. The API will generate an output FPS that is
// divisible by the input FPS, and smaller or equal to the target FPS. See
// [Calculating frame
// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
// more information.
FrameRate float64
// Required. The video bitrate in bits per second. The minimum value is
// 1,000. The maximum value is 480,000,000.
BitrateBps int32
// Pixel format to use. The default is `yuv420p`.
//
// Supported pixel formats:
//
// - `yuv420p` pixel format
// - `yuv422p` pixel format
// - `yuv444p` pixel format
// - `yuv420p10` 10-bit HDR pixel format
// - `yuv422p10` 10-bit HDR pixel format
// - `yuv444p10` 10-bit HDR pixel format
// - `yuv420p12` 12-bit HDR pixel format
// - `yuv422p12` 12-bit HDR pixel format
// - `yuv444p12` 12-bit HDR pixel format
PixelFormat string
// Specify the `rate_control_mode`. The default is `vbr`.
//
// Supported rate control modes:
//
// - `vbr` - variable bitrate
RateControlMode string
// Target CRF level. Must be between 10 and 36, where 10 is the highest
// quality and 36 is the most efficient compression. The default is 21.
//
// **Note:** This field is not supported.
CrfLevel int32
// Fields of oneof GopMode:
// Select the GOP size based on the specified frame count. Must be greater
// than zero.
GopFrameCount *int32
// Select the GOP size based on the specified duration. The default is
// `3s`. Note that `gopDuration` must be less than or equal to
// [`segmentDuration`](#SegmentSettings), and
// [`segmentDuration`](#SegmentSettings) must be divisible by
// `gopDuration`.
GopDuration *durationpb.Duration
// -- end of GopMode
// Enforces the specified codec profile. The following profiles are
// supported:
//
// * `profile0` (default)
// * `profile1`
// * `profile2`
// * `profile3`
//
// The available options are
// [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
// Note that certain values for this field may cause the
// transcoder to override other fields you set in the `Vp9CodecSettings`
// message.
Profile string
// contains filtered or unexported fields
}
func (VideoStream_Vp9CodecSettings_builder) Build ¶
func (b0 VideoStream_Vp9CodecSettings_builder) Build() *VideoStream_Vp9CodecSettings
type VideoStream_builder ¶
type VideoStream_builder struct {
// Fields of oneof CodecSettings:
// H264 codec settings.
H264 *VideoStream_H264CodecSettings
// H265 codec settings.
H265 *VideoStream_H265CodecSettings
// VP9 codec settings.
Vp9 *VideoStream_Vp9CodecSettings
// contains filtered or unexported fields
}
func (VideoStream_builder) Build ¶
func (b0 VideoStream_builder) Build() *VideoStream
Source Files
¶
- data.pb.go
- events.pb.go