/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the mediaconvert-2017-08-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.MediaConvert.Model { /// /// Settings for embedded captions Source /// public partial class EmbeddedSourceSettings { private EmbeddedConvert608To708 _convert608To708; private int? _source608ChannelNumber; private int? _source608TrackNumber; private EmbeddedTerminateCaptions _terminateCaptions; /// /// Gets and sets the property Convert608To708. Specify whether this set of input captions /// appears in your outputs in both 608 and 708 format. If you choose Upconvert, MediaConvert /// includes the captions data in two ways: it passes the 608 data through using the 608 /// compatibility bytes fields of the 708 wrapper, and it also translates the 608 data /// into 708. /// public EmbeddedConvert608To708 Convert608To708 { get { return this._convert608To708; } set { this._convert608To708 = value; } } // Check to see if Convert608To708 property is set internal bool IsSetConvert608To708() { return this._convert608To708 != null; } /// /// Gets and sets the property Source608ChannelNumber. Specifies the 608/708 channel number /// within the video track from which to extract captions. Unused for passthrough. /// [AWSProperty(Min=1, Max=4)] public int Source608ChannelNumber { get { return this._source608ChannelNumber.GetValueOrDefault(); } set { this._source608ChannelNumber = value; } } // Check to see if Source608ChannelNumber property is set internal bool IsSetSource608ChannelNumber() { return this._source608ChannelNumber.HasValue; } /// /// Gets and sets the property Source608TrackNumber. Specifies the video track index used /// for extracting captions. The system only supports one input video track, so this should /// always be set to '1'. /// [AWSProperty(Min=1, Max=1)] public int Source608TrackNumber { get { return this._source608TrackNumber.GetValueOrDefault(); } set { this._source608TrackNumber = value; } } // Check to see if Source608TrackNumber property is set internal bool IsSetSource608TrackNumber() { return this._source608TrackNumber.HasValue; } /// /// Gets and sets the property TerminateCaptions. By default, the service terminates any /// unterminated captions at the end of each input. If you want the caption to continue /// onto your next input, disable this setting. /// public EmbeddedTerminateCaptions TerminateCaptions { get { return this._terminateCaptions; } set { this._terminateCaptions = value; } } // Check to see if TerminateCaptions property is set internal bool IsSetTerminateCaptions() { return this._terminateCaptions != null; } } }