Documentation ¶
Index ¶
- func PossibleValuesForAacAudioProfile() []string
- func PossibleValuesForAnalysisResolution() []string
- func PossibleValuesForAttributeFilter() []string
- func PossibleValuesForAudioAnalysisMode() []string
- func PossibleValuesForBlurType() []string
- func PossibleValuesForChannelMapping() []string
- func PossibleValuesForComplexity() []string
- func PossibleValuesForDeinterlaceMode() []string
- func PossibleValuesForDeinterlaceParity() []string
- func PossibleValuesForEncoderNamedPreset() []string
- func PossibleValuesForEntropyMode() []string
- func PossibleValuesForFaceRedactorMode() []string
- func PossibleValuesForH264Complexity() []string
- func PossibleValuesForH264RateControlMode() []string
- func PossibleValuesForH264VideoProfile() []string
- func PossibleValuesForH265Complexity() []string
- func PossibleValuesForH265VideoProfile() []string
- func PossibleValuesForInsightsType() []string
- func PossibleValuesForInterleaveOutput() []string
- func PossibleValuesForJobErrorCategory() []string
- func PossibleValuesForJobErrorCode() []string
- func PossibleValuesForJobRetry() []string
- func PossibleValuesForJobState() []string
- func PossibleValuesForOnErrorType() []string
- func PossibleValuesForPriority() []string
- func PossibleValuesForRotation() []string
- func PossibleValuesForStretchMode() []string
- func PossibleValuesForTrackAttribute() []string
- func PossibleValuesForVideoSyncMode() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTransformID(input interface{}, key string) (warnings []string, errors []error)
- type AacAudio
- type AacAudioProfile
- type AbsoluteClipTime
- type AnalysisResolution
- type AttributeFilter
- type Audio
- type AudioAnalysisMode
- type AudioAnalyzerPreset
- type AudioOverlay
- type AudioTrackDescriptor
- type BlurType
- type BuiltInStandardEncoderPreset
- type ChannelMapping
- type ClipTime
- type Codec
- type Complexity
- type CopyAudio
- type CopyVideo
- type DDAudio
- type Deinterlace
- type DeinterlaceMode
- type DeinterlaceParity
- type EncoderNamedPreset
- type EncodingsClient
- func (c EncodingsClient) JobsCancelJob(ctx context.Context, id JobId) (result JobsCancelJobOperationResponse, err error)
- func (c EncodingsClient) JobsCreate(ctx context.Context, id JobId, input Job) (result JobsCreateOperationResponse, err error)
- func (c EncodingsClient) JobsDelete(ctx context.Context, id JobId) (result JobsDeleteOperationResponse, err error)
- func (c EncodingsClient) JobsGet(ctx context.Context, id JobId) (result JobsGetOperationResponse, err error)
- func (c EncodingsClient) JobsList(ctx context.Context, id TransformId, options JobsListOperationOptions) (result JobsListOperationResponse, err error)
- func (c EncodingsClient) JobsListComplete(ctx context.Context, id TransformId, options JobsListOperationOptions) (JobsListCompleteResult, error)
- func (c EncodingsClient) JobsListCompleteMatchingPredicate(ctx context.Context, id TransformId, options JobsListOperationOptions, ...) (result JobsListCompleteResult, err error)
- func (c EncodingsClient) JobsUpdate(ctx context.Context, id JobId, input Job) (result JobsUpdateOperationResponse, err error)
- func (c EncodingsClient) TransformsCreateOrUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsCreateOrUpdateOperationResponse, err error)
- func (c EncodingsClient) TransformsDelete(ctx context.Context, id TransformId) (result TransformsDeleteOperationResponse, err error)
- func (c EncodingsClient) TransformsGet(ctx context.Context, id TransformId) (result TransformsGetOperationResponse, err error)
- func (c EncodingsClient) TransformsList(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (result TransformsListOperationResponse, err error)
- func (c EncodingsClient) TransformsListComplete(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (TransformsListCompleteResult, error)
- func (c EncodingsClient) TransformsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions, ...) (result TransformsListCompleteResult, err error)
- func (c EncodingsClient) TransformsUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsUpdateOperationResponse, err error)
- type EntropyMode
- type FaceDetectorPreset
- type FaceRedactorMode
- type Fade
- type Filters
- type Format
- type FromAllInputFile
- type FromEachInputFile
- type H264Complexity
- type H264Layer
- type H264RateControlMode
- type H264Video
- type H264VideoProfile
- type H265Complexity
- type H265Layer
- type H265Video
- type H265VideoProfile
- type Image
- type ImageFormat
- type InputDefinition
- type InputFile
- type InsightsType
- type InterleaveOutput
- type Job
- type JobError
- type JobErrorCategory
- type JobErrorCode
- type JobErrorDetail
- type JobId
- type JobInput
- type JobInputAsset
- type JobInputClip
- type JobInputHTTP
- type JobInputSequence
- type JobInputs
- type JobOperationPredicate
- type JobOutput
- type JobOutputAsset
- func (o *JobOutputAsset) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobOutputAsset) GetStartTimeAsTime() (*time.Time, error)
- func (s JobOutputAsset) MarshalJSON() ([]byte, error)
- func (o *JobOutputAsset) SetEndTimeAsTime(input time.Time)
- func (o *JobOutputAsset) SetStartTimeAsTime(input time.Time)
- func (s *JobOutputAsset) UnmarshalJSON(bytes []byte) error
- type JobProperties
- func (o *JobProperties) GetCreatedAsTime() (*time.Time, error)
- func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetLastModifiedAsTime() (*time.Time, error)
- func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobProperties) SetCreatedAsTime(input time.Time)
- func (o *JobProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobProperties) SetLastModifiedAsTime(input time.Time)
- func (o *JobProperties) SetStartTimeAsTime(input time.Time)
- func (s *JobProperties) UnmarshalJSON(bytes []byte) error
- type JobRetry
- type JobState
- type JobsCancelJobOperationResponse
- type JobsCreateOperationResponse
- type JobsDeleteOperationResponse
- type JobsGetOperationResponse
- type JobsListCompleteResult
- type JobsListOperationOptions
- type JobsListOperationResponse
- type JobsUpdateOperationResponse
- type JpgFormat
- type JpgImage
- type JpgLayer
- type Layer
- type MediaServiceId
- type Mp4Format
- type MultiBitrateFormat
- type OnErrorType
- type OutputFile
- type Overlay
- type PngFormat
- type PngImage
- type Preset
- type PresetConfigurations
- type Priority
- type RawClipTimeImpl
- type RawCodecImpl
- type RawFormatImpl
- type RawInputDefinitionImpl
- type RawJobInputImpl
- type RawJobOutputImpl
- type RawOverlayImpl
- type RawPresetImpl
- type RawTrackDescriptorImpl
- type Rectangle
- type Rotation
- type SelectAudioTrackByAttribute
- type SelectAudioTrackById
- type SelectVideoTrackByAttribute
- type SelectVideoTrackById
- type StandardEncoderPreset
- type StretchMode
- type TrackAttribute
- type TrackDescriptor
- type Transform
- type TransformId
- type TransformOperationPredicate
- type TransformOutput
- type TransformProperties
- type TransformsCreateOrUpdateOperationResponse
- type TransformsDeleteOperationResponse
- type TransformsGetOperationResponse
- type TransformsListCompleteResult
- type TransformsListOperationOptions
- type TransformsListOperationResponse
- type TransformsUpdateOperationResponse
- type TransportStreamFormat
- type UtcClipTime
- type Video
- type VideoAnalyzerPreset
- type VideoOverlay
- type VideoSyncMode
- type VideoTrackDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAacAudioProfile ¶
func PossibleValuesForAacAudioProfile() []string
func PossibleValuesForAnalysisResolution ¶
func PossibleValuesForAnalysisResolution() []string
func PossibleValuesForAttributeFilter ¶
func PossibleValuesForAttributeFilter() []string
func PossibleValuesForAudioAnalysisMode ¶
func PossibleValuesForAudioAnalysisMode() []string
func PossibleValuesForBlurType ¶
func PossibleValuesForBlurType() []string
func PossibleValuesForChannelMapping ¶
func PossibleValuesForChannelMapping() []string
func PossibleValuesForComplexity ¶
func PossibleValuesForComplexity() []string
func PossibleValuesForDeinterlaceMode ¶
func PossibleValuesForDeinterlaceMode() []string
func PossibleValuesForDeinterlaceParity ¶
func PossibleValuesForDeinterlaceParity() []string
func PossibleValuesForEncoderNamedPreset ¶
func PossibleValuesForEncoderNamedPreset() []string
func PossibleValuesForEntropyMode ¶
func PossibleValuesForEntropyMode() []string
func PossibleValuesForFaceRedactorMode ¶
func PossibleValuesForFaceRedactorMode() []string
func PossibleValuesForH264Complexity ¶
func PossibleValuesForH264Complexity() []string
func PossibleValuesForH264RateControlMode ¶
func PossibleValuesForH264RateControlMode() []string
func PossibleValuesForH264VideoProfile ¶
func PossibleValuesForH264VideoProfile() []string
func PossibleValuesForH265Complexity ¶
func PossibleValuesForH265Complexity() []string
func PossibleValuesForH265VideoProfile ¶
func PossibleValuesForH265VideoProfile() []string
func PossibleValuesForInsightsType ¶
func PossibleValuesForInsightsType() []string
func PossibleValuesForInterleaveOutput ¶
func PossibleValuesForInterleaveOutput() []string
func PossibleValuesForJobErrorCategory ¶
func PossibleValuesForJobErrorCategory() []string
func PossibleValuesForJobErrorCode ¶
func PossibleValuesForJobErrorCode() []string
func PossibleValuesForJobRetry ¶
func PossibleValuesForJobRetry() []string
func PossibleValuesForJobState ¶
func PossibleValuesForJobState() []string
func PossibleValuesForOnErrorType ¶
func PossibleValuesForOnErrorType() []string
func PossibleValuesForPriority ¶
func PossibleValuesForPriority() []string
func PossibleValuesForRotation ¶
func PossibleValuesForRotation() []string
func PossibleValuesForStretchMode ¶
func PossibleValuesForStretchMode() []string
func PossibleValuesForTrackAttribute ¶
func PossibleValuesForTrackAttribute() []string
func PossibleValuesForVideoSyncMode ¶
func PossibleValuesForVideoSyncMode() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
func ValidateTransformID ¶
ValidateTransformID checks that 'input' can be parsed as a Transform ID
Types ¶
type AacAudio ¶
type AacAudio struct { Bitrate *int64 `json:"bitrate,omitempty"` Channels *int64 `json:"channels,omitempty"` Profile *AacAudioProfile `json:"profile,omitempty"` SamplingRate *int64 `json:"samplingRate,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (AacAudio) MarshalJSON ¶
type AacAudioProfile ¶
type AacAudioProfile string
const ( AacAudioProfileAacLc AacAudioProfile = "AacLc" AacAudioProfileHeAacVOne AacAudioProfile = "HeAacV1" AacAudioProfileHeAacVTwo AacAudioProfile = "HeAacV2" )
func (*AacAudioProfile) UnmarshalJSON ¶
func (s *AacAudioProfile) UnmarshalJSON(bytes []byte) error
type AbsoluteClipTime ¶
type AbsoluteClipTime struct {
Time string `json:"time"`
}
func (AbsoluteClipTime) MarshalJSON ¶
func (s AbsoluteClipTime) MarshalJSON() ([]byte, error)
type AnalysisResolution ¶
type AnalysisResolution string
const ( AnalysisResolutionSourceResolution AnalysisResolution = "SourceResolution" AnalysisResolutionStandardDefinition AnalysisResolution = "StandardDefinition" )
func (*AnalysisResolution) UnmarshalJSON ¶
func (s *AnalysisResolution) UnmarshalJSON(bytes []byte) error
type AttributeFilter ¶
type AttributeFilter string
const ( AttributeFilterAll AttributeFilter = "All" AttributeFilterBottom AttributeFilter = "Bottom" AttributeFilterTop AttributeFilter = "Top" AttributeFilterValueEquals AttributeFilter = "ValueEquals" )
func (*AttributeFilter) UnmarshalJSON ¶
func (s *AttributeFilter) UnmarshalJSON(bytes []byte) error
type Audio ¶
type Audio struct { Bitrate *int64 `json:"bitrate,omitempty"` Channels *int64 `json:"channels,omitempty"` SamplingRate *int64 `json:"samplingRate,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (Audio) MarshalJSON ¶
type AudioAnalysisMode ¶
type AudioAnalysisMode string
const ( AudioAnalysisModeBasic AudioAnalysisMode = "Basic" AudioAnalysisModeStandard AudioAnalysisMode = "Standard" )
func (*AudioAnalysisMode) UnmarshalJSON ¶
func (s *AudioAnalysisMode) UnmarshalJSON(bytes []byte) error
type AudioAnalyzerPreset ¶
type AudioAnalyzerPreset struct { AudioLanguage *string `json:"audioLanguage,omitempty"` ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"` Mode *AudioAnalysisMode `json:"mode,omitempty"` }
func (AudioAnalyzerPreset) MarshalJSON ¶
func (s AudioAnalyzerPreset) MarshalJSON() ([]byte, error)
type AudioOverlay ¶
type AudioOverlay struct { // Fields inherited from Overlay AudioGainLevel *float64 `json:"audioGainLevel,omitempty"` End *string `json:"end,omitempty"` FadeInDuration *string `json:"fadeInDuration,omitempty"` FadeOutDuration *string `json:"fadeOutDuration,omitempty"` InputLabel string `json:"inputLabel"` Start *string `json:"start,omitempty"` }
func (AudioOverlay) MarshalJSON ¶
func (s AudioOverlay) MarshalJSON() ([]byte, error)
type AudioTrackDescriptor ¶
type AudioTrackDescriptor struct {
ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"`
}
func (AudioTrackDescriptor) MarshalJSON ¶
func (s AudioTrackDescriptor) MarshalJSON() ([]byte, error)
type BuiltInStandardEncoderPreset ¶
type BuiltInStandardEncoderPreset struct { Configurations *PresetConfigurations `json:"configurations,omitempty"` PresetName EncoderNamedPreset `json:"presetName"` }
func (BuiltInStandardEncoderPreset) MarshalJSON ¶
func (s BuiltInStandardEncoderPreset) MarshalJSON() ([]byte, error)
type ChannelMapping ¶
type ChannelMapping string
const ( ChannelMappingBackLeft ChannelMapping = "BackLeft" ChannelMappingBackRight ChannelMapping = "BackRight" ChannelMappingCenter ChannelMapping = "Center" ChannelMappingFrontLeft ChannelMapping = "FrontLeft" ChannelMappingFrontRight ChannelMapping = "FrontRight" ChannelMappingLowFrequencyEffects ChannelMapping = "LowFrequencyEffects" ChannelMappingStereoLeft ChannelMapping = "StereoLeft" ChannelMappingStereoRight ChannelMapping = "StereoRight" )
func (*ChannelMapping) UnmarshalJSON ¶
func (s *ChannelMapping) UnmarshalJSON(bytes []byte) error
type Complexity ¶
type Complexity string
const ( ComplexityBalanced Complexity = "Balanced" ComplexityQuality Complexity = "Quality" ComplexitySpeed Complexity = "Speed" )
func (*Complexity) UnmarshalJSON ¶
func (s *Complexity) UnmarshalJSON(bytes []byte) error
type CopyAudio ¶
type CopyAudio struct { // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (CopyAudio) MarshalJSON ¶
type CopyVideo ¶
type CopyVideo struct { // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (CopyVideo) MarshalJSON ¶
type DDAudio ¶
type DDAudio struct { Bitrate *int64 `json:"bitrate,omitempty"` Channels *int64 `json:"channels,omitempty"` SamplingRate *int64 `json:"samplingRate,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (DDAudio) MarshalJSON ¶
type Deinterlace ¶
type Deinterlace struct { Mode *DeinterlaceMode `json:"mode,omitempty"` Parity *DeinterlaceParity `json:"parity,omitempty"` }
type DeinterlaceMode ¶
type DeinterlaceMode string
const ( DeinterlaceModeAutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive" DeinterlaceModeOff DeinterlaceMode = "Off" )
func (*DeinterlaceMode) UnmarshalJSON ¶
func (s *DeinterlaceMode) UnmarshalJSON(bytes []byte) error
type DeinterlaceParity ¶
type DeinterlaceParity string
const ( DeinterlaceParityAuto DeinterlaceParity = "Auto" DeinterlaceParityBottomFieldFirst DeinterlaceParity = "BottomFieldFirst" DeinterlaceParityTopFieldFirst DeinterlaceParity = "TopFieldFirst" )
func (*DeinterlaceParity) UnmarshalJSON ¶
func (s *DeinterlaceParity) UnmarshalJSON(bytes []byte) error
type EncoderNamedPreset ¶
type EncoderNamedPreset string
const ( EncoderNamedPresetAACGoodQualityAudio EncoderNamedPreset = "AACGoodQualityAudio" EncoderNamedPresetAdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming" EncoderNamedPresetContentAwareEncoding EncoderNamedPreset = "ContentAwareEncoding" EncoderNamedPresetContentAwareEncodingExperimental EncoderNamedPreset = "ContentAwareEncodingExperimental" EncoderNamedPresetCopyAllBitrateNonInterleaved EncoderNamedPreset = "CopyAllBitrateNonInterleaved" EncoderNamedPresetDDGoodQualityAudio EncoderNamedPreset = "DDGoodQualityAudio" EncoderNamedPresetHTwoSixFiveAdaptiveStreaming EncoderNamedPreset = "H265AdaptiveStreaming" EncoderNamedPresetHTwoSixFiveContentAwareEncoding EncoderNamedPreset = "H265ContentAwareEncoding" EncoderNamedPresetHTwoSixFiveSingleBitrateFourK EncoderNamedPreset = "H265SingleBitrate4K" EncoderNamedPresetHTwoSixFiveSingleBitrateOneZeroEightZerop EncoderNamedPreset = "H265SingleBitrate1080p" EncoderNamedPresetHTwoSixFiveSingleBitrateSevenTwoZerop EncoderNamedPreset = "H265SingleBitrate720p" EncoderNamedPresetHTwoSixFourMultipleBitrateOneZeroEightZerop EncoderNamedPreset = "H264MultipleBitrate1080p" EncoderNamedPresetHTwoSixFourMultipleBitrateSD EncoderNamedPreset = "H264MultipleBitrateSD" EncoderNamedPresetHTwoSixFourMultipleBitrateSevenTwoZerop EncoderNamedPreset = "H264MultipleBitrate720p" EncoderNamedPresetHTwoSixFourSingleBitrateOneZeroEightZerop EncoderNamedPreset = "H264SingleBitrate1080p" EncoderNamedPresetHTwoSixFourSingleBitrateSD EncoderNamedPreset = "H264SingleBitrateSD" EncoderNamedPresetHTwoSixFourSingleBitrateSevenTwoZerop EncoderNamedPreset = "H264SingleBitrate720p" )
func (*EncoderNamedPreset) UnmarshalJSON ¶
func (s *EncoderNamedPreset) UnmarshalJSON(bytes []byte) error
type EncodingsClient ¶
type EncodingsClient struct {
Client *resourcemanager.Client
}
func NewEncodingsClientWithBaseURI ¶
func NewEncodingsClientWithBaseURI(sdkApi sdkEnv.Api) (*EncodingsClient, error)
func (EncodingsClient) JobsCancelJob ¶
func (c EncodingsClient) JobsCancelJob(ctx context.Context, id JobId) (result JobsCancelJobOperationResponse, err error)
JobsCancelJob ...
func (EncodingsClient) JobsCreate ¶
func (c EncodingsClient) JobsCreate(ctx context.Context, id JobId, input Job) (result JobsCreateOperationResponse, err error)
JobsCreate ...
func (EncodingsClient) JobsDelete ¶
func (c EncodingsClient) JobsDelete(ctx context.Context, id JobId) (result JobsDeleteOperationResponse, err error)
JobsDelete ...
func (EncodingsClient) JobsGet ¶
func (c EncodingsClient) JobsGet(ctx context.Context, id JobId) (result JobsGetOperationResponse, err error)
JobsGet ...
func (EncodingsClient) JobsList ¶
func (c EncodingsClient) JobsList(ctx context.Context, id TransformId, options JobsListOperationOptions) (result JobsListOperationResponse, err error)
JobsList ...
func (EncodingsClient) JobsListComplete ¶
func (c EncodingsClient) JobsListComplete(ctx context.Context, id TransformId, options JobsListOperationOptions) (JobsListCompleteResult, error)
JobsListComplete retrieves all the results into a single object
func (EncodingsClient) JobsListCompleteMatchingPredicate ¶
func (c EncodingsClient) JobsListCompleteMatchingPredicate(ctx context.Context, id TransformId, options JobsListOperationOptions, predicate JobOperationPredicate) (result JobsListCompleteResult, err error)
JobsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EncodingsClient) JobsUpdate ¶
func (c EncodingsClient) JobsUpdate(ctx context.Context, id JobId, input Job) (result JobsUpdateOperationResponse, err error)
JobsUpdate ...
func (EncodingsClient) TransformsCreateOrUpdate ¶
func (c EncodingsClient) TransformsCreateOrUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsCreateOrUpdateOperationResponse, err error)
TransformsCreateOrUpdate ...
func (EncodingsClient) TransformsDelete ¶
func (c EncodingsClient) TransformsDelete(ctx context.Context, id TransformId) (result TransformsDeleteOperationResponse, err error)
TransformsDelete ...
func (EncodingsClient) TransformsGet ¶
func (c EncodingsClient) TransformsGet(ctx context.Context, id TransformId) (result TransformsGetOperationResponse, err error)
TransformsGet ...
func (EncodingsClient) TransformsList ¶
func (c EncodingsClient) TransformsList(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (result TransformsListOperationResponse, err error)
TransformsList ...
func (EncodingsClient) TransformsListComplete ¶
func (c EncodingsClient) TransformsListComplete(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (TransformsListCompleteResult, error)
TransformsListComplete retrieves all the results into a single object
func (EncodingsClient) TransformsListCompleteMatchingPredicate ¶
func (c EncodingsClient) TransformsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions, predicate TransformOperationPredicate) (result TransformsListCompleteResult, err error)
TransformsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EncodingsClient) TransformsUpdate ¶
func (c EncodingsClient) TransformsUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsUpdateOperationResponse, err error)
TransformsUpdate ...
type EntropyMode ¶
type EntropyMode string
const ( EntropyModeCabac EntropyMode = "Cabac" EntropyModeCavlc EntropyMode = "Cavlc" )
func (*EntropyMode) UnmarshalJSON ¶
func (s *EntropyMode) UnmarshalJSON(bytes []byte) error
type FaceDetectorPreset ¶
type FaceDetectorPreset struct { BlurType *BlurType `json:"blurType,omitempty"` ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"` Mode *FaceRedactorMode `json:"mode,omitempty"` Resolution *AnalysisResolution `json:"resolution,omitempty"` }
func (FaceDetectorPreset) MarshalJSON ¶
func (s FaceDetectorPreset) MarshalJSON() ([]byte, error)
type FaceRedactorMode ¶
type FaceRedactorMode string
const ( FaceRedactorModeAnalyze FaceRedactorMode = "Analyze" FaceRedactorModeCombined FaceRedactorMode = "Combined" FaceRedactorModeRedact FaceRedactorMode = "Redact" )
func (*FaceRedactorMode) UnmarshalJSON ¶
func (s *FaceRedactorMode) UnmarshalJSON(bytes []byte) error
type Filters ¶
type Filters struct { Crop *Rectangle `json:"crop,omitempty"` Deinterlace *Deinterlace `json:"deinterlace,omitempty"` FadeIn *Fade `json:"fadeIn,omitempty"` FadeOut *Fade `json:"fadeOut,omitempty"` Overlays *[]Overlay `json:"overlays,omitempty"` Rotation *Rotation `json:"rotation,omitempty"` }
func (*Filters) UnmarshalJSON ¶
type FromAllInputFile ¶
type FromAllInputFile struct { // Fields inherited from InputDefinition IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"` }
func (FromAllInputFile) MarshalJSON ¶
func (s FromAllInputFile) MarshalJSON() ([]byte, error)
func (*FromAllInputFile) UnmarshalJSON ¶
func (s *FromAllInputFile) UnmarshalJSON(bytes []byte) error
type FromEachInputFile ¶
type FromEachInputFile struct { // Fields inherited from InputDefinition IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"` }
func (FromEachInputFile) MarshalJSON ¶
func (s FromEachInputFile) MarshalJSON() ([]byte, error)
func (*FromEachInputFile) UnmarshalJSON ¶
func (s *FromEachInputFile) UnmarshalJSON(bytes []byte) error
type H264Complexity ¶
type H264Complexity string
const ( H264ComplexityBalanced H264Complexity = "Balanced" H264ComplexityQuality H264Complexity = "Quality" H264ComplexitySpeed H264Complexity = "Speed" )
func (*H264Complexity) UnmarshalJSON ¶
func (s *H264Complexity) UnmarshalJSON(bytes []byte) error
type H264Layer ¶
type H264Layer struct { AdaptiveBFrame *bool `json:"adaptiveBFrame,omitempty"` BFrames *int64 `json:"bFrames,omitempty"` Bitrate int64 `json:"bitrate"` BufferWindow *string `json:"bufferWindow,omitempty"` Crf *float64 `json:"crf,omitempty"` EntropyMode *EntropyMode `json:"entropyMode,omitempty"` FrameRate *string `json:"frameRate,omitempty"` Height *string `json:"height,omitempty"` Label *string `json:"label,omitempty"` Level *string `json:"level,omitempty"` MaxBitrate *int64 `json:"maxBitrate,omitempty"` Profile *H264VideoProfile `json:"profile,omitempty"` ReferenceFrames *int64 `json:"referenceFrames,omitempty"` Slices *int64 `json:"slices,omitempty"` Width *string `json:"width,omitempty"` }
type H264RateControlMode ¶
type H264RateControlMode string
const ( H264RateControlModeABR H264RateControlMode = "ABR" H264RateControlModeCBR H264RateControlMode = "CBR" H264RateControlModeCRF H264RateControlMode = "CRF" )
func (*H264RateControlMode) UnmarshalJSON ¶
func (s *H264RateControlMode) UnmarshalJSON(bytes []byte) error
type H264Video ¶
type H264Video struct { Complexity *H264Complexity `json:"complexity,omitempty"` KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` Layers *[]H264Layer `json:"layers,omitempty"` RateControlMode *H264RateControlMode `json:"rateControlMode,omitempty"` SceneChangeDetection *bool `json:"sceneChangeDetection,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (H264Video) MarshalJSON ¶
type H264VideoProfile ¶
type H264VideoProfile string
const ( H264VideoProfileAuto H264VideoProfile = "Auto" H264VideoProfileBaseline H264VideoProfile = "Baseline" H264VideoProfileHigh H264VideoProfile = "High" H264VideoProfileHighFourFourFour H264VideoProfile = "High444" H264VideoProfileHighFourTwoTwo H264VideoProfile = "High422" H264VideoProfileMain H264VideoProfile = "Main" )
func (*H264VideoProfile) UnmarshalJSON ¶
func (s *H264VideoProfile) UnmarshalJSON(bytes []byte) error
type H265Complexity ¶
type H265Complexity string
const ( H265ComplexityBalanced H265Complexity = "Balanced" H265ComplexityQuality H265Complexity = "Quality" H265ComplexitySpeed H265Complexity = "Speed" )
func (*H265Complexity) UnmarshalJSON ¶
func (s *H265Complexity) UnmarshalJSON(bytes []byte) error
type H265Layer ¶
type H265Layer struct { AdaptiveBFrame *bool `json:"adaptiveBFrame,omitempty"` BFrames *int64 `json:"bFrames,omitempty"` Bitrate int64 `json:"bitrate"` BufferWindow *string `json:"bufferWindow,omitempty"` Crf *float64 `json:"crf,omitempty"` FrameRate *string `json:"frameRate,omitempty"` Height *string `json:"height,omitempty"` Label *string `json:"label,omitempty"` Level *string `json:"level,omitempty"` MaxBitrate *int64 `json:"maxBitrate,omitempty"` Profile *H265VideoProfile `json:"profile,omitempty"` ReferenceFrames *int64 `json:"referenceFrames,omitempty"` Slices *int64 `json:"slices,omitempty"` Width *string `json:"width,omitempty"` }
type H265Video ¶
type H265Video struct { Complexity *H265Complexity `json:"complexity,omitempty"` KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` Layers *[]H265Layer `json:"layers,omitempty"` SceneChangeDetection *bool `json:"sceneChangeDetection,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (H265Video) MarshalJSON ¶
type H265VideoProfile ¶
type H265VideoProfile string
const ( H265VideoProfileAuto H265VideoProfile = "Auto" H265VideoProfileMain H265VideoProfile = "Main" H265VideoProfileMainOneZero H265VideoProfile = "Main10" )
func (*H265VideoProfile) UnmarshalJSON ¶
func (s *H265VideoProfile) UnmarshalJSON(bytes []byte) error
type Image ¶
type Image struct { KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` Range *string `json:"range,omitempty"` Start string `json:"start"` Step *string `json:"step,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (Image) MarshalJSON ¶
type ImageFormat ¶
type ImageFormat struct { // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (ImageFormat) MarshalJSON ¶
func (s ImageFormat) MarshalJSON() ([]byte, error)
type InputDefinition ¶
type InputDefinition interface { }
type InputFile ¶
type InputFile struct { Filename *string `json:"filename,omitempty"` // Fields inherited from InputDefinition IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"` }
func (InputFile) MarshalJSON ¶
func (*InputFile) UnmarshalJSON ¶
type InsightsType ¶
type InsightsType string
const ( InsightsTypeAllInsights InsightsType = "AllInsights" InsightsTypeAudioInsightsOnly InsightsType = "AudioInsightsOnly" InsightsTypeVideoInsightsOnly InsightsType = "VideoInsightsOnly" )
func (*InsightsType) UnmarshalJSON ¶
func (s *InsightsType) UnmarshalJSON(bytes []byte) error
type InterleaveOutput ¶
type InterleaveOutput string
const ( InterleaveOutputInterleavedOutput InterleaveOutput = "InterleavedOutput" InterleaveOutputNonInterleavedOutput InterleaveOutput = "NonInterleavedOutput" )
func (*InterleaveOutput) UnmarshalJSON ¶
func (s *InterleaveOutput) UnmarshalJSON(bytes []byte) error
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type JobError ¶
type JobError struct { Category *JobErrorCategory `json:"category,omitempty"` Code *JobErrorCode `json:"code,omitempty"` Details *[]JobErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Retry *JobRetry `json:"retry,omitempty"` }
type JobErrorCategory ¶
type JobErrorCategory string
const ( JobErrorCategoryAccount JobErrorCategory = "Account" JobErrorCategoryConfiguration JobErrorCategory = "Configuration" JobErrorCategoryContent JobErrorCategory = "Content" JobErrorCategoryDownload JobErrorCategory = "Download" JobErrorCategoryService JobErrorCategory = "Service" JobErrorCategoryUpload JobErrorCategory = "Upload" )
func (*JobErrorCategory) UnmarshalJSON ¶
func (s *JobErrorCategory) UnmarshalJSON(bytes []byte) error
type JobErrorCode ¶
type JobErrorCode string
const ( JobErrorCodeConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported" JobErrorCodeContentMalformed JobErrorCode = "ContentMalformed" JobErrorCodeContentUnsupported JobErrorCode = "ContentUnsupported" JobErrorCodeDownloadNotAccessible JobErrorCode = "DownloadNotAccessible" JobErrorCodeDownloadTransientError JobErrorCode = "DownloadTransientError" JobErrorCodeIdentityUnsupported JobErrorCode = "IdentityUnsupported" JobErrorCodeServiceError JobErrorCode = "ServiceError" JobErrorCodeServiceTransientError JobErrorCode = "ServiceTransientError" JobErrorCodeUploadNotAccessible JobErrorCode = "UploadNotAccessible" JobErrorCodeUploadTransientError JobErrorCode = "UploadTransientError" )
func (*JobErrorCode) UnmarshalJSON ¶
func (s *JobErrorCode) UnmarshalJSON(bytes []byte) error
type JobErrorDetail ¶
type JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string MediaServiceName string TransformName string JobName string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, mediaServiceName string, transformName string, jobName string) JobId
NewJobID returns a new JobId struct
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input
func (*JobId) FromParseResult ¶
func (id *JobId) FromParseResult(input resourceids.ParseResult) error
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobInputAsset ¶
type JobInputAsset struct { AssetName string `json:"assetName"` End ClipTime `json:"end"` Files *[]string `json:"files,omitempty"` InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"` Label *string `json:"label,omitempty"` Start ClipTime `json:"start"` }
func (JobInputAsset) MarshalJSON ¶
func (s JobInputAsset) MarshalJSON() ([]byte, error)
func (*JobInputAsset) UnmarshalJSON ¶
func (s *JobInputAsset) UnmarshalJSON(bytes []byte) error
type JobInputClip ¶
type JobInputClip struct { End ClipTime `json:"end"` Files *[]string `json:"files,omitempty"` InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"` Label *string `json:"label,omitempty"` Start ClipTime `json:"start"` }
func (JobInputClip) MarshalJSON ¶
func (s JobInputClip) MarshalJSON() ([]byte, error)
func (*JobInputClip) UnmarshalJSON ¶
func (s *JobInputClip) UnmarshalJSON(bytes []byte) error
type JobInputHTTP ¶
type JobInputHTTP struct { BaseUri *string `json:"baseUri,omitempty"` End ClipTime `json:"end"` Files *[]string `json:"files,omitempty"` InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"` Label *string `json:"label,omitempty"` Start ClipTime `json:"start"` }
func (JobInputHTTP) MarshalJSON ¶
func (s JobInputHTTP) MarshalJSON() ([]byte, error)
func (*JobInputHTTP) UnmarshalJSON ¶
func (s *JobInputHTTP) UnmarshalJSON(bytes []byte) error
type JobInputSequence ¶
type JobInputSequence struct {
Inputs *[]JobInputClip `json:"inputs,omitempty"`
}
func (JobInputSequence) MarshalJSON ¶
func (s JobInputSequence) MarshalJSON() ([]byte, error)
type JobInputs ¶
type JobInputs struct {
Inputs *[]JobInput `json:"inputs,omitempty"`
}
func (JobInputs) MarshalJSON ¶
func (*JobInputs) UnmarshalJSON ¶
type JobOperationPredicate ¶
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
type JobOutputAsset ¶
type JobOutputAsset struct { AssetName string `json:"assetName"` // Fields inherited from JobOutput EndTime *string `json:"endTime,omitempty"` Error *JobError `json:"error,omitempty"` Label *string `json:"label,omitempty"` PresetOverride Preset `json:"presetOverride"` Progress *int64 `json:"progress,omitempty"` StartTime *string `json:"startTime,omitempty"` State *JobState `json:"state,omitempty"` }
func (*JobOutputAsset) GetEndTimeAsTime ¶
func (o *JobOutputAsset) GetEndTimeAsTime() (*time.Time, error)
func (*JobOutputAsset) GetStartTimeAsTime ¶
func (o *JobOutputAsset) GetStartTimeAsTime() (*time.Time, error)
func (JobOutputAsset) MarshalJSON ¶
func (s JobOutputAsset) MarshalJSON() ([]byte, error)
func (*JobOutputAsset) SetEndTimeAsTime ¶
func (o *JobOutputAsset) SetEndTimeAsTime(input time.Time)
func (*JobOutputAsset) SetStartTimeAsTime ¶
func (o *JobOutputAsset) SetStartTimeAsTime(input time.Time)
func (*JobOutputAsset) UnmarshalJSON ¶
func (s *JobOutputAsset) UnmarshalJSON(bytes []byte) error
type JobProperties ¶
type JobProperties struct { CorrelationData *map[string]string `json:"correlationData,omitempty"` Created *string `json:"created,omitempty"` Description *string `json:"description,omitempty"` EndTime *string `json:"endTime,omitempty"` Input JobInput `json:"input"` LastModified *string `json:"lastModified,omitempty"` Outputs []JobOutput `json:"outputs"` Priority *Priority `json:"priority,omitempty"` StartTime *string `json:"startTime,omitempty"` State *JobState `json:"state,omitempty"` }
func (*JobProperties) GetCreatedAsTime ¶
func (o *JobProperties) GetCreatedAsTime() (*time.Time, error)
func (*JobProperties) GetEndTimeAsTime ¶
func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobProperties) GetLastModifiedAsTime ¶
func (o *JobProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*JobProperties) GetStartTimeAsTime ¶
func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobProperties) SetCreatedAsTime ¶
func (o *JobProperties) SetCreatedAsTime(input time.Time)
func (*JobProperties) SetEndTimeAsTime ¶
func (o *JobProperties) SetEndTimeAsTime(input time.Time)
func (*JobProperties) SetLastModifiedAsTime ¶
func (o *JobProperties) SetLastModifiedAsTime(input time.Time)
func (*JobProperties) SetStartTimeAsTime ¶
func (o *JobProperties) SetStartTimeAsTime(input time.Time)
func (*JobProperties) UnmarshalJSON ¶
func (s *JobProperties) UnmarshalJSON(bytes []byte) error
type JobsListCompleteResult ¶
type JobsListOperationOptions ¶
func DefaultJobsListOperationOptions ¶
func DefaultJobsListOperationOptions() JobsListOperationOptions
func (JobsListOperationOptions) ToHeaders ¶
func (o JobsListOperationOptions) ToHeaders() *client.Headers
func (JobsListOperationOptions) ToOData ¶
func (o JobsListOperationOptions) ToOData() *odata.Query
func (JobsListOperationOptions) ToQuery ¶
func (o JobsListOperationOptions) ToQuery() *client.QueryParams
type JpgFormat ¶
type JpgFormat struct { // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (JpgFormat) MarshalJSON ¶
type JpgImage ¶
type JpgImage struct { KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` Layers *[]JpgLayer `json:"layers,omitempty"` Range *string `json:"range,omitempty"` SpriteColumn *int64 `json:"spriteColumn,omitempty"` Start string `json:"start"` Step *string `json:"step,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (JpgImage) MarshalJSON ¶
type MediaServiceId ¶
type MediaServiceId struct { SubscriptionId string ResourceGroupName string MediaServiceName string }
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId string, resourceGroupName string, mediaServiceName string) MediaServiceId
NewMediaServiceID returns a new MediaServiceId struct
func ParseMediaServiceID ¶
func ParseMediaServiceID(input string) (*MediaServiceId, error)
ParseMediaServiceID parses 'input' into a MediaServiceId
func ParseMediaServiceIDInsensitively ¶
func ParseMediaServiceIDInsensitively(input string) (*MediaServiceId, error)
ParseMediaServiceIDInsensitively parses 'input' case-insensitively into a MediaServiceId note: this method should only be used for API response data and not user input
func (*MediaServiceId) FromParseResult ¶
func (id *MediaServiceId) FromParseResult(input resourceids.ParseResult) error
func (MediaServiceId) ID ¶
func (id MediaServiceId) ID() string
ID returns the formatted Media Service ID
func (MediaServiceId) Segments ¶
func (id MediaServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Media Service ID
func (MediaServiceId) String ¶
func (id MediaServiceId) String() string
String returns a human-readable description of this Media Service ID
type Mp4Format ¶
type Mp4Format struct { OutputFiles *[]OutputFile `json:"outputFiles,omitempty"` // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (Mp4Format) MarshalJSON ¶
type MultiBitrateFormat ¶
type MultiBitrateFormat struct { OutputFiles *[]OutputFile `json:"outputFiles,omitempty"` // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (MultiBitrateFormat) MarshalJSON ¶
func (s MultiBitrateFormat) MarshalJSON() ([]byte, error)
type OnErrorType ¶
type OnErrorType string
const ( OnErrorTypeContinueJob OnErrorType = "ContinueJob" OnErrorTypeStopProcessingJob OnErrorType = "StopProcessingJob" )
func (*OnErrorType) UnmarshalJSON ¶
func (s *OnErrorType) UnmarshalJSON(bytes []byte) error
type OutputFile ¶
type OutputFile struct {
Labels []string `json:"labels"`
}
type PngFormat ¶
type PngFormat struct { // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (PngFormat) MarshalJSON ¶
type PngImage ¶
type PngImage struct { KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` Layers *[]Layer `json:"layers,omitempty"` Range *string `json:"range,omitempty"` Start string `json:"start"` Step *string `json:"step,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (PngImage) MarshalJSON ¶
type PresetConfigurations ¶
type PresetConfigurations struct { Complexity *Complexity `json:"complexity,omitempty"` InterleaveOutput *InterleaveOutput `json:"interleaveOutput,omitempty"` KeyFrameIntervalInSeconds *float64 `json:"keyFrameIntervalInSeconds,omitempty"` MaxBitrateBps *int64 `json:"maxBitrateBps,omitempty"` MaxHeight *int64 `json:"maxHeight,omitempty"` MaxLayers *int64 `json:"maxLayers,omitempty"` MinBitrateBps *int64 `json:"minBitrateBps,omitempty"` MinHeight *int64 `json:"minHeight,omitempty"` }
type RawClipTimeImpl ¶
RawClipTimeImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawCodecImpl ¶
RawCodecImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawFormatImpl ¶
RawFormatImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawInputDefinitionImpl ¶
RawInputDefinitionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawJobInputImpl ¶
RawJobInputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawJobOutputImpl ¶
RawJobOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawOverlayImpl ¶
RawOverlayImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawPresetImpl ¶
RawPresetImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawTrackDescriptorImpl ¶
RawTrackDescriptorImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SelectAudioTrackByAttribute ¶
type SelectAudioTrackByAttribute struct { Attribute TrackAttribute `json:"attribute"` ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"` Filter AttributeFilter `json:"filter"` FilterValue *string `json:"filterValue,omitempty"` }
func (SelectAudioTrackByAttribute) MarshalJSON ¶
func (s SelectAudioTrackByAttribute) MarshalJSON() ([]byte, error)
type SelectAudioTrackById ¶
type SelectAudioTrackById struct { ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"` TrackId int64 `json:"trackId"` }
func (SelectAudioTrackById) MarshalJSON ¶
func (s SelectAudioTrackById) MarshalJSON() ([]byte, error)
type SelectVideoTrackByAttribute ¶
type SelectVideoTrackByAttribute struct { Attribute TrackAttribute `json:"attribute"` Filter AttributeFilter `json:"filter"` FilterValue *string `json:"filterValue,omitempty"` }
func (SelectVideoTrackByAttribute) MarshalJSON ¶
func (s SelectVideoTrackByAttribute) MarshalJSON() ([]byte, error)
type SelectVideoTrackById ¶
type SelectVideoTrackById struct {
TrackId int64 `json:"trackId"`
}
func (SelectVideoTrackById) MarshalJSON ¶
func (s SelectVideoTrackById) MarshalJSON() ([]byte, error)
type StandardEncoderPreset ¶
type StandardEncoderPreset struct { Codecs []Codec `json:"codecs"` ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"` Filters *Filters `json:"filters,omitempty"` Formats []Format `json:"formats"` }
func (StandardEncoderPreset) MarshalJSON ¶
func (s StandardEncoderPreset) MarshalJSON() ([]byte, error)
func (*StandardEncoderPreset) UnmarshalJSON ¶
func (s *StandardEncoderPreset) UnmarshalJSON(bytes []byte) error
type StretchMode ¶
type StretchMode string
const ( StretchModeAutoFit StretchMode = "AutoFit" StretchModeAutoSize StretchMode = "AutoSize" StretchModeNone StretchMode = "None" )
func (*StretchMode) UnmarshalJSON ¶
func (s *StretchMode) UnmarshalJSON(bytes []byte) error
type TrackAttribute ¶
type TrackAttribute string
const ( TrackAttributeBitrate TrackAttribute = "Bitrate" TrackAttributeLanguage TrackAttribute = "Language" )
func (*TrackAttribute) UnmarshalJSON ¶
func (s *TrackAttribute) UnmarshalJSON(bytes []byte) error
type TrackDescriptor ¶
type TrackDescriptor interface { }
type Transform ¶
type Transform struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TransformProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type TransformId ¶
type TransformId struct { SubscriptionId string ResourceGroupName string MediaServiceName string TransformName string }
TransformId is a struct representing the Resource ID for a Transform
func NewTransformID ¶
func NewTransformID(subscriptionId string, resourceGroupName string, mediaServiceName string, transformName string) TransformId
NewTransformID returns a new TransformId struct
func ParseTransformID ¶
func ParseTransformID(input string) (*TransformId, error)
ParseTransformID parses 'input' into a TransformId
func ParseTransformIDInsensitively ¶
func ParseTransformIDInsensitively(input string) (*TransformId, error)
ParseTransformIDInsensitively parses 'input' case-insensitively into a TransformId note: this method should only be used for API response data and not user input
func (*TransformId) FromParseResult ¶
func (id *TransformId) FromParseResult(input resourceids.ParseResult) error
func (TransformId) Segments ¶
func (id TransformId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Transform ID
func (TransformId) String ¶
func (id TransformId) String() string
String returns a human-readable description of this Transform ID
type TransformOperationPredicate ¶
func (TransformOperationPredicate) Matches ¶
func (p TransformOperationPredicate) Matches(input Transform) bool
type TransformOutput ¶
type TransformOutput struct { OnError *OnErrorType `json:"onError,omitempty"` Preset Preset `json:"preset"` RelativePriority *Priority `json:"relativePriority,omitempty"` }
func (*TransformOutput) UnmarshalJSON ¶
func (s *TransformOutput) UnmarshalJSON(bytes []byte) error
type TransformProperties ¶
type TransformProperties struct { Created *string `json:"created,omitempty"` Description *string `json:"description,omitempty"` LastModified *string `json:"lastModified,omitempty"` Outputs []TransformOutput `json:"outputs"` }
func (*TransformProperties) GetCreatedAsTime ¶
func (o *TransformProperties) GetCreatedAsTime() (*time.Time, error)
func (*TransformProperties) GetLastModifiedAsTime ¶
func (o *TransformProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*TransformProperties) SetCreatedAsTime ¶
func (o *TransformProperties) SetCreatedAsTime(input time.Time)
func (*TransformProperties) SetLastModifiedAsTime ¶
func (o *TransformProperties) SetLastModifiedAsTime(input time.Time)
type TransformsListOperationOptions ¶
func DefaultTransformsListOperationOptions ¶
func DefaultTransformsListOperationOptions() TransformsListOperationOptions
func (TransformsListOperationOptions) ToHeaders ¶
func (o TransformsListOperationOptions) ToHeaders() *client.Headers
func (TransformsListOperationOptions) ToOData ¶
func (o TransformsListOperationOptions) ToOData() *odata.Query
func (TransformsListOperationOptions) ToQuery ¶
func (o TransformsListOperationOptions) ToQuery() *client.QueryParams
type TransportStreamFormat ¶
type TransportStreamFormat struct { OutputFiles *[]OutputFile `json:"outputFiles,omitempty"` // Fields inherited from Format FilenamePattern string `json:"filenamePattern"` }
func (TransportStreamFormat) MarshalJSON ¶
func (s TransportStreamFormat) MarshalJSON() ([]byte, error)
type UtcClipTime ¶
type UtcClipTime struct {
Time string `json:"time"`
}
func (UtcClipTime) MarshalJSON ¶
func (s UtcClipTime) MarshalJSON() ([]byte, error)
type Video ¶
type Video struct { KeyFrameInterval *string `json:"keyFrameInterval,omitempty"` StretchMode *StretchMode `json:"stretchMode,omitempty"` SyncMode *VideoSyncMode `json:"syncMode,omitempty"` // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (Video) MarshalJSON ¶
type VideoAnalyzerPreset ¶
type VideoAnalyzerPreset struct { AudioLanguage *string `json:"audioLanguage,omitempty"` ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"` InsightsToExtract *InsightsType `json:"insightsToExtract,omitempty"` Mode *AudioAnalysisMode `json:"mode,omitempty"` }
func (VideoAnalyzerPreset) MarshalJSON ¶
func (s VideoAnalyzerPreset) MarshalJSON() ([]byte, error)
type VideoOverlay ¶
type VideoOverlay struct { CropRectangle *Rectangle `json:"cropRectangle,omitempty"` Opacity *float64 `json:"opacity,omitempty"` Position *Rectangle `json:"position,omitempty"` // Fields inherited from Overlay AudioGainLevel *float64 `json:"audioGainLevel,omitempty"` End *string `json:"end,omitempty"` FadeInDuration *string `json:"fadeInDuration,omitempty"` FadeOutDuration *string `json:"fadeOutDuration,omitempty"` InputLabel string `json:"inputLabel"` Start *string `json:"start,omitempty"` }
func (VideoOverlay) MarshalJSON ¶
func (s VideoOverlay) MarshalJSON() ([]byte, error)
type VideoSyncMode ¶
type VideoSyncMode string
const ( VideoSyncModeAuto VideoSyncMode = "Auto" VideoSyncModeCfr VideoSyncMode = "Cfr" VideoSyncModePassthrough VideoSyncMode = "Passthrough" VideoSyncModeVfr VideoSyncMode = "Vfr" )
func (*VideoSyncMode) UnmarshalJSON ¶
func (s *VideoSyncMode) UnmarshalJSON(bytes []byte) error
type VideoTrackDescriptor ¶
type VideoTrackDescriptor struct { }
func (VideoTrackDescriptor) MarshalJSON ¶
func (s VideoTrackDescriptor) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_job.go
- id_mediaservice.go
- id_transform.go
- method_jobscanceljob.go
- method_jobscreate.go
- method_jobsdelete.go
- method_jobsget.go
- method_jobslist.go
- method_jobsupdate.go
- method_transformscreateorupdate.go
- method_transformsdelete.go
- method_transformsget.go
- method_transformslist.go
- method_transformsupdate.go
- model_aacaudio.go
- model_absolutecliptime.go
- model_audio.go
- model_audioanalyzerpreset.go
- model_audiooverlay.go
- model_audiotrackdescriptor.go
- model_builtinstandardencoderpreset.go
- model_cliptime.go
- model_codec.go
- model_copyaudio.go
- model_copyvideo.go
- model_ddaudio.go
- model_deinterlace.go
- model_facedetectorpreset.go
- model_fade.go
- model_filters.go
- model_format.go
- model_fromallinputfile.go
- model_fromeachinputfile.go
- model_h264layer.go
- model_h264video.go
- model_h265layer.go
- model_h265video.go
- model_image.go
- model_imageformat.go
- model_inputdefinition.go
- model_inputfile.go
- model_job.go
- model_joberror.go
- model_joberrordetail.go
- model_jobinput.go
- model_jobinputasset.go
- model_jobinputclip.go
- model_jobinputhttp.go
- model_jobinputs.go
- model_jobinputsequence.go
- model_joboutput.go
- model_joboutputasset.go
- model_jobproperties.go
- model_jpgformat.go
- model_jpgimage.go
- model_jpglayer.go
- model_layer.go
- model_mp4format.go
- model_multibitrateformat.go
- model_outputfile.go
- model_overlay.go
- model_pngformat.go
- model_pngimage.go
- model_preset.go
- model_presetconfigurations.go
- model_rectangle.go
- model_selectaudiotrackbyattribute.go
- model_selectaudiotrackbyid.go
- model_selectvideotrackbyattribute.go
- model_selectvideotrackbyid.go
- model_standardencoderpreset.go
- model_trackdescriptor.go
- model_transform.go
- model_transformoutput.go
- model_transformproperties.go
- model_transportstreamformat.go
- model_utccliptime.go
- model_video.go
- model_videoanalyzerpreset.go
- model_videooverlay.go
- model_videotrackdescriptor.go
- predicates.go
- version.go