All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.elastictranscoder.model.JobInput Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Elastic Transcoder module holds the client classes that are used for communicating with Amazon Elastic Transcoder Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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.
 */
package com.amazonaws.services.elastictranscoder.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Information about the file that you're transcoding. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JobInput implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use * for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which * Amazon S3 bucket to get the file from. *

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If * the file isn't in the specified bucket, Elastic Transcoder returns an error. *

*/ private String key; /** *

* The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the * input file, specify auto. If you want to specify the frame rate for the input file, enter one of the * following values: *

*

* 10, 15, 23.97, 24, 25, 29.97, * 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame * rate. *

*/ private String frameRate; /** *

* This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of * the input file. *

*/ private String resolution; /** *

* The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of * the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one * of the following values: *

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the * aspect ratio. *

*/ private String aspectRatio; /** *

* Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input * file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter * one of the following values: *

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. *

*/ private String interlaced; /** *

* The container type for the input file. If you want Elastic Transcoder to automatically detect the container type * of the input file, specify auto. If you want to specify the container type for the input file, enter * one of the following values: *

*

* 3gp, aac, asf, avi, divx, flv, * m4a, mkv, mov, mp3, mp4, mpeg, * mpeg-ps, mpeg-ts, mxf, ogg, vob, * wav, webm *

*/ private String container; /** *

* The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, * you must specify the mode that Elastic Transcoder uses to decrypt your file. *

*/ private Encryption encryption; /** *

* Settings for clipping an input. Each input can have different clip settings. *

*/ private TimeSpan timeSpan; /** *

* You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions: *

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder * supports only one embedded caption per language, to a maximum of 300 embedded captions per file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar * captions require a player that is capable of understanding the relationship between the video file and the * sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar * captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, scc, * smpt, srt, ttml (first div element only), and webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid * input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text * formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through existing * captions unchanged, set the MergePolicy to MergeRetain, and pass in a null * CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. *

*/ private InputCaptions inputCaptions; /** *

* The detected properties of the input file. *

*/ private DetectedProperties detectedProperties; /** *

* The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use * for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which * Amazon S3 bucket to get the file from. *

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If * the file isn't in the specified bucket, Elastic Transcoder returns an error. *

* * @param key * The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline * to use for processing the job. The InputBucket object in that pipeline tells Elastic * Transcoder which Amazon S3 bucket to get the file from.

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the * key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. */ public void setKey(String key) { this.key = key; } /** *

* The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use * for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which * Amazon S3 bucket to get the file from. *

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If * the file isn't in the specified bucket, Elastic Transcoder returns an error. *

* * @return The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline * to use for processing the job. The InputBucket object in that pipeline tells Elastic * Transcoder which Amazon S3 bucket to get the file from.

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the * key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. */ public String getKey() { return this.key; } /** *

* The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use * for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which * Amazon S3 bucket to get the file from. *

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If * the file isn't in the specified bucket, Elastic Transcoder returns an error. *

* * @param key * The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline * to use for processing the job. The InputBucket object in that pipeline tells Elastic * Transcoder which Amazon S3 bucket to get the file from.

*

* If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the * key. If the file isn't in the specified bucket, Elastic Transcoder returns an error. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withKey(String key) { setKey(key); return this; } /** *

* The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the * input file, specify auto. If you want to specify the frame rate for the input file, enter one of the * following values: *

*

* 10, 15, 23.97, 24, 25, 29.97, * 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame * rate. *

* * @param frameRate * The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of * the input file, specify auto. If you want to specify the frame rate for the input file, enter * one of the following values:

*

* 10, 15, 23.97, 24, 25, 29.97, 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the frame rate. */ public void setFrameRate(String frameRate) { this.frameRate = frameRate; } /** *

* The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the * input file, specify auto. If you want to specify the frame rate for the input file, enter one of the * following values: *

*

* 10, 15, 23.97, 24, 25, 29.97, * 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame * rate. *

* * @return The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate * of the input file, specify auto. If you want to specify the frame rate for the input file, * enter one of the following values:

*

* 10, 15, 23.97, 24, 25, * 29.97, 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the frame rate. */ public String getFrameRate() { return this.frameRate; } /** *

* The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the * input file, specify auto. If you want to specify the frame rate for the input file, enter one of the * following values: *

*

* 10, 15, 23.97, 24, 25, 29.97, * 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame * rate. *

* * @param frameRate * The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of * the input file, specify auto. If you want to specify the frame rate for the input file, enter * one of the following values:

*

* 10, 15, 23.97, 24, 25, 29.97, 30, 60 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the frame rate. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withFrameRate(String frameRate) { setFrameRate(frameRate); return this; } /** *

* This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of * the input file. *

* * @param resolution * This value must be auto, which causes Elastic Transcoder to automatically detect the * resolution of the input file. */ public void setResolution(String resolution) { this.resolution = resolution; } /** *

* This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of * the input file. *

* * @return This value must be auto, which causes Elastic Transcoder to automatically detect the * resolution of the input file. */ public String getResolution() { return this.resolution; } /** *

* This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of * the input file. *

* * @param resolution * This value must be auto, which causes Elastic Transcoder to automatically detect the * resolution of the input file. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withResolution(String resolution) { setResolution(resolution); return this; } /** *

* The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of * the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one * of the following values: *

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the * aspect ratio. *

* * @param aspectRatio * The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect * ratio of the input file, specify auto. If you want to specify the aspect ratio for the output * file, enter one of the following values:

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the aspect ratio. */ public void setAspectRatio(String aspectRatio) { this.aspectRatio = aspectRatio; } /** *

* The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of * the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one * of the following values: *

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the * aspect ratio. *

* * @return The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect * ratio of the input file, specify auto. If you want to specify the aspect ratio for the * output file, enter one of the following values:

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the aspect ratio. */ public String getAspectRatio() { return this.aspectRatio; } /** *

* The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of * the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one * of the following values: *

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of the * aspect ratio. *

* * @param aspectRatio * The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect * ratio of the input file, specify auto. If you want to specify the aspect ratio for the output * file, enter one of the following values:

*

* 1:1, 4:3, 3:2, 16:9 *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * the aspect ratio. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withAspectRatio(String aspectRatio) { setAspectRatio(aspectRatio); return this; } /** *

* Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input * file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter * one of the following values: *

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. *

* * @param interlaced * Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the * input file is interlaced, specify auto. If you want to specify whether the input file is * interlaced, enter one of the following values:

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. */ public void setInterlaced(String interlaced) { this.interlaced = interlaced; } /** *

* Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input * file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter * one of the following values: *

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. *

* * @return Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the * input file is interlaced, specify auto. If you want to specify whether the input file is * interlaced, enter one of the following values:

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. */ public String getInterlaced() { return this.interlaced; } /** *

* Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input * file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter * one of the following values: *

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. *

* * @param interlaced * Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the * input file is interlaced, specify auto. If you want to specify whether the input file is * interlaced, enter one of the following values:

*

* true, false *

*

* If you specify a value other than auto, Elastic Transcoder disables automatic detection of * interlacing. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withInterlaced(String interlaced) { setInterlaced(interlaced); return this; } /** *

* The container type for the input file. If you want Elastic Transcoder to automatically detect the container type * of the input file, specify auto. If you want to specify the container type for the input file, enter * one of the following values: *

*

* 3gp, aac, asf, avi, divx, flv, * m4a, mkv, mov, mp3, mp4, mpeg, * mpeg-ps, mpeg-ts, mxf, ogg, vob, * wav, webm *

* * @param container * The container type for the input file. If you want Elastic Transcoder to automatically detect the * container type of the input file, specify auto. If you want to specify the container type for * the input file, enter one of the following values:

*

* 3gp, aac, asf, avi, divx, * flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, * vob, wav, webm */ public void setContainer(String container) { this.container = container; } /** *

* The container type for the input file. If you want Elastic Transcoder to automatically detect the container type * of the input file, specify auto. If you want to specify the container type for the input file, enter * one of the following values: *

*

* 3gp, aac, asf, avi, divx, flv, * m4a, mkv, mov, mp3, mp4, mpeg, * mpeg-ps, mpeg-ts, mxf, ogg, vob, * wav, webm *

* * @return The container type for the input file. If you want Elastic Transcoder to automatically detect the * container type of the input file, specify auto. If you want to specify the container type * for the input file, enter one of the following values:

*

* 3gp, aac, asf, avi, divx, * flv, m4a, mkv, mov, mp3, * mp4, mpeg, mpeg-ps, mpeg-ts, mxf, * ogg, vob, wav, webm */ public String getContainer() { return this.container; } /** *

* The container type for the input file. If you want Elastic Transcoder to automatically detect the container type * of the input file, specify auto. If you want to specify the container type for the input file, enter * one of the following values: *

*

* 3gp, aac, asf, avi, divx, flv, * m4a, mkv, mov, mp3, mp4, mpeg, * mpeg-ps, mpeg-ts, mxf, ogg, vob, * wav, webm *

* * @param container * The container type for the input file. If you want Elastic Transcoder to automatically detect the * container type of the input file, specify auto. If you want to specify the container type for * the input file, enter one of the following values:

*

* 3gp, aac, asf, avi, divx, * flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, * vob, wav, webm * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withContainer(String container) { setContainer(container); return this; } /** *

* The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, * you must specify the mode that Elastic Transcoder uses to decrypt your file. *

* * @param encryption * The encryption settings, if any, that are used for decrypting your input files. If your input file is * encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file. */ public void setEncryption(Encryption encryption) { this.encryption = encryption; } /** *

* The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, * you must specify the mode that Elastic Transcoder uses to decrypt your file. *

* * @return The encryption settings, if any, that are used for decrypting your input files. If your input file is * encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file. */ public Encryption getEncryption() { return this.encryption; } /** *

* The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, * you must specify the mode that Elastic Transcoder uses to decrypt your file. *

* * @param encryption * The encryption settings, if any, that are used for decrypting your input files. If your input file is * encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withEncryption(Encryption encryption) { setEncryption(encryption); return this; } /** *

* Settings for clipping an input. Each input can have different clip settings. *

* * @param timeSpan * Settings for clipping an input. Each input can have different clip settings. */ public void setTimeSpan(TimeSpan timeSpan) { this.timeSpan = timeSpan; } /** *

* Settings for clipping an input. Each input can have different clip settings. *

* * @return Settings for clipping an input. Each input can have different clip settings. */ public TimeSpan getTimeSpan() { return this.timeSpan; } /** *

* Settings for clipping an input. Each input can have different clip settings. *

* * @param timeSpan * Settings for clipping an input. Each input can have different clip settings. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withTimeSpan(TimeSpan timeSpan) { setTimeSpan(timeSpan); return this; } /** *

* You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions: *

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder * supports only one embedded caption per language, to a maximum of 300 embedded captions per file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar * captions require a player that is capable of understanding the relationship between the video file and the * sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar * captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, scc, * smpt, srt, ttml (first div element only), and webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid * input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text * formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through existing * captions unchanged, set the MergePolicy to MergeRetain, and pass in a null * CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. *

* * @param inputCaptions * You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions:

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic * Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per * file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. * Sidecar captions require a player that is capable of understanding the relationship between the video file * and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of * 20 sidecar captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, * scc, smpt, srt, ttml (first div element only), and * webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a * valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not * preserve text formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through * existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a * null CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia * pages. */ public void setInputCaptions(InputCaptions inputCaptions) { this.inputCaptions = inputCaptions; } /** *

* You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions: *

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder * supports only one embedded caption per language, to a maximum of 300 embedded captions per file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar * captions require a player that is capable of understanding the relationship between the video file and the * sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar * captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, scc, * smpt, srt, ttml (first div element only), and webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid * input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text * formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through existing * captions unchanged, set the MergePolicy to MergeRetain, and pass in a null * CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. *

* * @return You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions:

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic * Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per * file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. * Sidecar captions require a player that is capable of understanding the relationship between the video * file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a * maximum of 20 sidecar captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, * scc, smpt, srt, ttml (first div element only), and * webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, * and webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a * valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not * preserve text formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through * existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a * null CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia * pages. */ public InputCaptions getInputCaptions() { return this.inputCaptions; } /** *

* You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions: *

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder * supports only one embedded caption per language, to a maximum of 300 embedded captions per file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar * captions require a player that is capable of understanding the relationship between the video file and the * sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar * captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, scc, * smpt, srt, ttml (first div element only), and webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid * input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text * formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through existing * captions unchanged, set the MergePolicy to MergeRetain, and pass in a null * CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. *

* * @param inputCaptions * You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All * captions must be in UTF-8. Elastic Transcoder supports two types of captions:

*
    *
  • *

    * Embedded: Embedded captions are included in the same file as the audio and video. Elastic * Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per * file. *

    *

    * Valid input values include: CEA-608 (EIA-608, first non-empty channel only), * CEA-708 (EIA-708, first non-empty channel only), and mov-text *

    *

    * Valid outputs include: mov-text *

    *

    * Elastic Transcoder supports a maximum of one embedded format per output. *

    *
  • *
  • *

    * Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. * Sidecar captions require a player that is capable of understanding the relationship between the video file * and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of * 20 sidecar captions per file. *

    *

    * Valid input values include: dfxp (first div element only), ebu-tt, * scc, smpt, srt, ttml (first div element only), and * webvtt *

    *

    * Valid outputs include: dfxp (first div element only), scc, srt, and * webvtt. *

    *
  • *
*

* If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. *

*

* Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a * valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not * preserve text formatting (for example, italics) during the transcoding process. *

*

* To remove captions or leave the captions empty, set Captions to null. To pass through * existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a * null CaptionSources array. *

*

* For more information on embedded files, see the Subtitles Wikipedia page. *

*

* For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia * pages. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withInputCaptions(InputCaptions inputCaptions) { setInputCaptions(inputCaptions); return this; } /** *

* The detected properties of the input file. *

* * @param detectedProperties * The detected properties of the input file. */ public void setDetectedProperties(DetectedProperties detectedProperties) { this.detectedProperties = detectedProperties; } /** *

* The detected properties of the input file. *

* * @return The detected properties of the input file. */ public DetectedProperties getDetectedProperties() { return this.detectedProperties; } /** *

* The detected properties of the input file. *

* * @param detectedProperties * The detected properties of the input file. * @return Returns a reference to this object so that method calls can be chained together. */ public JobInput withDetectedProperties(DetectedProperties detectedProperties) { setDetectedProperties(detectedProperties); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getKey() != null) sb.append("Key: ").append(getKey()).append(","); if (getFrameRate() != null) sb.append("FrameRate: ").append(getFrameRate()).append(","); if (getResolution() != null) sb.append("Resolution: ").append(getResolution()).append(","); if (getAspectRatio() != null) sb.append("AspectRatio: ").append(getAspectRatio()).append(","); if (getInterlaced() != null) sb.append("Interlaced: ").append(getInterlaced()).append(","); if (getContainer() != null) sb.append("Container: ").append(getContainer()).append(","); if (getEncryption() != null) sb.append("Encryption: ").append(getEncryption()).append(","); if (getTimeSpan() != null) sb.append("TimeSpan: ").append(getTimeSpan()).append(","); if (getInputCaptions() != null) sb.append("InputCaptions: ").append(getInputCaptions()).append(","); if (getDetectedProperties() != null) sb.append("DetectedProperties: ").append(getDetectedProperties()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof JobInput == false) return false; JobInput other = (JobInput) obj; if (other.getKey() == null ^ this.getKey() == null) return false; if (other.getKey() != null && other.getKey().equals(this.getKey()) == false) return false; if (other.getFrameRate() == null ^ this.getFrameRate() == null) return false; if (other.getFrameRate() != null && other.getFrameRate().equals(this.getFrameRate()) == false) return false; if (other.getResolution() == null ^ this.getResolution() == null) return false; if (other.getResolution() != null && other.getResolution().equals(this.getResolution()) == false) return false; if (other.getAspectRatio() == null ^ this.getAspectRatio() == null) return false; if (other.getAspectRatio() != null && other.getAspectRatio().equals(this.getAspectRatio()) == false) return false; if (other.getInterlaced() == null ^ this.getInterlaced() == null) return false; if (other.getInterlaced() != null && other.getInterlaced().equals(this.getInterlaced()) == false) return false; if (other.getContainer() == null ^ this.getContainer() == null) return false; if (other.getContainer() != null && other.getContainer().equals(this.getContainer()) == false) return false; if (other.getEncryption() == null ^ this.getEncryption() == null) return false; if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false) return false; if (other.getTimeSpan() == null ^ this.getTimeSpan() == null) return false; if (other.getTimeSpan() != null && other.getTimeSpan().equals(this.getTimeSpan()) == false) return false; if (other.getInputCaptions() == null ^ this.getInputCaptions() == null) return false; if (other.getInputCaptions() != null && other.getInputCaptions().equals(this.getInputCaptions()) == false) return false; if (other.getDetectedProperties() == null ^ this.getDetectedProperties() == null) return false; if (other.getDetectedProperties() != null && other.getDetectedProperties().equals(this.getDetectedProperties()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getKey() == null) ? 0 : getKey().hashCode()); hashCode = prime * hashCode + ((getFrameRate() == null) ? 0 : getFrameRate().hashCode()); hashCode = prime * hashCode + ((getResolution() == null) ? 0 : getResolution().hashCode()); hashCode = prime * hashCode + ((getAspectRatio() == null) ? 0 : getAspectRatio().hashCode()); hashCode = prime * hashCode + ((getInterlaced() == null) ? 0 : getInterlaced().hashCode()); hashCode = prime * hashCode + ((getContainer() == null) ? 0 : getContainer().hashCode()); hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode()); hashCode = prime * hashCode + ((getTimeSpan() == null) ? 0 : getTimeSpan().hashCode()); hashCode = prime * hashCode + ((getInputCaptions() == null) ? 0 : getInputCaptions().hashCode()); hashCode = prime * hashCode + ((getDetectedProperties() == null) ? 0 : getDetectedProperties().hashCode()); return hashCode; } @Override public JobInput clone() { try { return (JobInput) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.elastictranscoder.model.transform.JobInputMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy