Versions in this module Expand all Collapse all v0 v0.0.1 Jan 4, 2021 Changes in this version + type AudioChannel struct + ChannelIdx int + Layout string + TrackIdx int + type AudioDownmix struct + DestChannels []AudioChannel + SrcChannels []AudioChannel + type AudioPreset struct + Bitrate string + Codec string + DiscreteTracks bool + Normalization bool + type CancelJobRequest struct + JobID JobID + type CancelJobResponse struct + type Client interface + AllProviders func(ctx context.Context) (ProviderNames, error) + CancelJob func(ctx context.Context, jobID JobID) (CancelJobResponse, error) + CreateJob func(ctx context.Context, job CreateJobRequest) (CreateJobResponse, error) + CreatePreset func(ctx context.Context, preset CreatePresetRequest) (CreatePresetResponse, error) + DeletePreset func(ctx context.Context, name PresetName) (DeletePresetResponse, error) + DescribeJob func(ctx context.Context, jobID JobID) (JobStatusResponse, error) + GetProvider func(ctx context.Context, name ProviderName) (ProviderDescription, error) + type ComputeClass = string + const ComputeClassDolbyVisionPreprocess + const ComputeClassDolbyVisionTranscode + const ComputeClassTranscodeDefault + type CreateJobRequest struct + AudioDownmix AudioDownmix + DestinationBasePath string + ExecutionEnv ExecutionEnvironment + ExecutionFeatures ExecutionFeatures + ExplicitKeyframeOffsets []float64 + Labels []string + Name string + Outputs []JobOutput + Provider string + SidecarAssets map[SidecarAssetKind]string + Source string + SourceInfo File + Splice timecode.Splice + StreamingParams StreamingParams + type CreateJobResponse struct + JobID JobID + type CreatePresetRequest struct + OutputOptions OutputOptions + Preset Preset + Providers []string + type CreatePresetResponse struct + PresetMap string + Results map[string]NewPresetSummary + type DefaultClient struct + BaseURL *url.URL + Client *http.Client + func (c *DefaultClient) AllProviders(ctx context.Context) (ProviderNames, error) + func (c *DefaultClient) CancelJob(ctx context.Context, jobID JobID) (CancelJobResponse, error) + func (c *DefaultClient) CreateJob(ctx context.Context, job CreateJobRequest) (CreateJobResponse, error) + func (c *DefaultClient) CreatePreset(ctx context.Context, preset CreatePresetRequest) (CreatePresetResponse, error) + func (c *DefaultClient) DeletePreset(ctx context.Context, name PresetName) (DeletePresetResponse, error) + func (c *DefaultClient) DescribeJob(ctx context.Context, jobID JobID) (JobStatusResponse, error) + func (c *DefaultClient) GetProvider(ctx context.Context, name ProviderName) (ProviderDescription, error) + type DeletePresetResponse struct + PresetMap string + Results map[string]DeletePresetSummary + type DeletePresetSummary struct + Error string + PresetID string + type DolbyVisionSettings struct + Enabled bool + type ExecutionEnvironment struct + Cloud string + ComputeTags map[ComputeClass]string + CredentialsAlias string + InputAlias string + OutputAlias string + Region string + type ExecutionFeatures map[string]interface + type File struct + Container string + Duration time.Duration + FrameRate float64 + Height int + Path string + ScanType ScanType + Size int64 + VideoCodec string + Width int + type HDR10Settings struct + Enabled bool + MasterDisplay string + MaxCLL uint + MaxFALL uint + type Image struct + URL string + type JobID string + type JobOutput struct + FileName string + Preset PresetName + type JobStatus struct + Output OutputFiles + Progress float64 + ProviderJobID string + ProviderName string + ProviderStatus map[string]interface{} + SourceInfo File + Status Status + StatusMessage string + type JobStatusResponse struct + type NewPresetSummary struct + Error string + PresetID string + type OutputFiles struct + Destination string + Files []File + type OutputOptions struct + Extension string + type Overlays struct + Images []Image + TimecodeBurnin *TimecodeBurnin + type Preset struct + Audio AudioPreset + Container string + Description string + Name PresetName + RateControl string + SourceContainer string + TwoPass bool + Video VideoPreset + type PresetName string + type ProviderCapabilities struct + Destinations []string + InputFormats []string + OutputFormats []string + type ProviderDescription struct + Capabilities ProviderCapabilities + Enabled bool + Health ProviderHealth + Name string + type ProviderHealth struct + Message string + OK bool + type ProviderName string + type ProviderNames []ProviderName + type ScanType string + const ScanTypeInterlaced + const ScanTypeProgressive + const ScanTypeUnknown + type SidecarAssetKind = string + const SidecarAssetKindDolbyVisionMetadata + type Status string + type StreamingParams struct + PlaylistFileName string + Protocol string + SegmentDuration uint + type TimecodeBurnin struct + Enabled bool + FontSize int + Position int + Prefix string + type VideoPreset struct + Bitrate string + Codec string + Crop video.Crop + DolbyVisionSettings DolbyVisionSettings + Framerate video.Framerate + GopMode string + GopSize string + GopUnit string + HDR10Settings HDR10Settings + Height string + InterlaceMode string + Overlays *Overlays + Profile string + ProfileLevel string + Width string