Struct aws_sdk_mediaconvert::types::JobTemplateSettings

source ·
#[non_exhaustive]
pub struct JobTemplateSettings {
Show 14 fields pub ad_avail_offset: Option<i32>, pub avail_blanking: Option<AvailBlanking>, pub color_conversion3_dlut_settings: Option<Vec<ColorConversion3DlutSetting>>, pub esam: Option<EsamSettings>, pub extended_data_services: Option<ExtendedDataServices>, pub follow_source: Option<i32>, pub inputs: Option<Vec<InputTemplate>>, pub kantar_watermark: Option<KantarWatermarkSettings>, pub motion_image_inserter: Option<MotionImageInserter>, pub nielsen_configuration: Option<NielsenConfiguration>, pub nielsen_non_linear_watermark: Option<NielsenNonLinearWatermarkSettings>, pub output_groups: Option<Vec<OutputGroup>>, pub timecode_config: Option<TimecodeConfig>, pub timed_metadata_insertion: Option<TimedMetadataInsertion>,
}
Expand description

JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§ad_avail_offset: Option<i32>

When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.

§avail_blanking: Option<AvailBlanking>

Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.

§color_conversion3_dlut_settings: Option<Vec<ColorConversion3DlutSetting>>

Use 3D LUTs to specify custom color mapping behavior when you convert from one color space into another. You can include up to 8 different 3D LUTs. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/3d-luts.html

§esam: Option<EsamSettings>

Settings for Event Signaling And Messaging (ESAM). If you don’t do ad insertion, you can ignore these settings.

§extended_data_services: Option<ExtendedDataServices>

If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.

§follow_source: Option<i32>

Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input’s Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don’t manually specify different output settings for. Enabling this setting will disable “Follow source” for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.

§inputs: Option<Vec<InputTemplate>>

Use Inputs to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.

§kantar_watermark: Option<KantarWatermarkSettings>

Use these settings only when you use Kantar watermarking. Specify the values that MediaConvert uses to generate and place Kantar watermarks in your output audio. These settings apply to every output in your job. In addition to specifying these values, you also need to store your Kantar credentials in AWS Secrets Manager. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/kantar-watermarking.html.

§motion_image_inserter: Option<MotionImageInserter>

Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.

§nielsen_configuration: Option<NielsenConfiguration>

Settings for your Nielsen configuration. If you don’t do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration, MediaConvert enables PCM to ID3 tagging for all outputs in the job.

§nielsen_non_linear_watermark: Option<NielsenNonLinearWatermarkSettings>

Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]

§output_groups: Option<Vec<OutputGroup>>

Contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in is a group of settings that apply to the whole group. This required object depends on the value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings

§timecode_config: Option<TimecodeConfig>

These settings control how the service handles timecodes throughout the job. These settings don’t affect input clipping.

§timed_metadata_insertion: Option<TimedMetadataInsertion>

Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.

Implementations§

source§

impl JobTemplateSettings

source

pub fn ad_avail_offset(&self) -> Option<i32>

When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.

source

pub fn avail_blanking(&self) -> Option<&AvailBlanking>

Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.

source

pub fn color_conversion3_dlut_settings(&self) -> &[ColorConversion3DlutSetting]

Use 3D LUTs to specify custom color mapping behavior when you convert from one color space into another. You can include up to 8 different 3D LUTs. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/3d-luts.html

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .color_conversion3_dlut_settings.is_none().

source

pub fn esam(&self) -> Option<&EsamSettings>

Settings for Event Signaling And Messaging (ESAM). If you don’t do ad insertion, you can ignore these settings.

source

pub fn extended_data_services(&self) -> Option<&ExtendedDataServices>

If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.

source

pub fn follow_source(&self) -> Option<i32>

Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input’s Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don’t manually specify different output settings for. Enabling this setting will disable “Follow source” for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.

source

pub fn inputs(&self) -> &[InputTemplate]

Use Inputs to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .inputs.is_none().

source

pub fn kantar_watermark(&self) -> Option<&KantarWatermarkSettings>

Use these settings only when you use Kantar watermarking. Specify the values that MediaConvert uses to generate and place Kantar watermarks in your output audio. These settings apply to every output in your job. In addition to specifying these values, you also need to store your Kantar credentials in AWS Secrets Manager. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/kantar-watermarking.html.

source

pub fn motion_image_inserter(&self) -> Option<&MotionImageInserter>

Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.

source

pub fn nielsen_configuration(&self) -> Option<&NielsenConfiguration>

Settings for your Nielsen configuration. If you don’t do Nielsen measurement and analytics, ignore these settings. When you enable Nielsen configuration, MediaConvert enables PCM to ID3 tagging for all outputs in the job.

source

pub fn nielsen_non_linear_watermark( &self ) -> Option<&NielsenNonLinearWatermarkSettings>

Ignore these settings unless you are using Nielsen non-linear watermarking. Specify the values that MediaConvert uses to generate and place Nielsen watermarks in your output audio. In addition to specifying these values, you also need to set up your cloud TIC server. These settings apply to every output in your job. The MediaConvert implementation is currently with the following Nielsen versions: Nielsen Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7 Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]

source

pub fn output_groups(&self) -> &[OutputGroup]

Contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in is a group of settings that apply to the whole group. This required object depends on the value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_groups.is_none().

source

pub fn timecode_config(&self) -> Option<&TimecodeConfig>

These settings control how the service handles timecodes throughout the job. These settings don’t affect input clipping.

source

pub fn timed_metadata_insertion(&self) -> Option<&TimedMetadataInsertion>

Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include this metadata, you must set ID3 metadata to Passthrough.

source§

impl JobTemplateSettings

source

pub fn builder() -> JobTemplateSettingsBuilder

Creates a new builder-style object to manufacture JobTemplateSettings.

Trait Implementations§

source§

impl Clone for JobTemplateSettings

source§

fn clone(&self) -> JobTemplateSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for JobTemplateSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for JobTemplateSettings

source§

fn eq(&self, other: &JobTemplateSettings) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for JobTemplateSettings

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more