public class JobInput extends Object implements Serializable, Cloneable
Information about the file that you're transcoding.
Constructor and Description |
---|
JobInput() |
Modifier and Type | Method and Description |
---|---|
JobInput |
clone() |
boolean |
equals(Object obj) |
String |
getAspectRatio()
The aspect ratio of the input file.
|
String |
getContainer()
The container type for the input file.
|
DetectedProperties |
getDetectedProperties()
The detected properties of the input file.
|
Encryption |
getEncryption()
The encryption settings, if any, that are used for decrypting your input
files.
|
String |
getFrameRate()
The frame rate of the input file.
|
String |
getInterlaced()
Whether the input file is interlaced.
|
String |
getKey()
The name of the file to transcode.
|
String |
getResolution()
This value must be
auto , which causes Elastic Transcoder to
automatically detect the resolution of the input file. |
int |
hashCode() |
void |
setAspectRatio(String aspectRatio)
The aspect ratio of the input file.
|
void |
setContainer(String container)
The container type for the input file.
|
void |
setDetectedProperties(DetectedProperties detectedProperties)
The detected properties of the input file.
|
void |
setEncryption(Encryption encryption)
The encryption settings, if any, that are used for decrypting your input
files.
|
void |
setFrameRate(String frameRate)
The frame rate of the input file.
|
void |
setInterlaced(String interlaced)
Whether the input file is interlaced.
|
void |
setKey(String key)
The name of the file to transcode.
|
void |
setResolution(String resolution)
This value must be
auto , which causes Elastic Transcoder to
automatically detect the resolution of the input file. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobInput |
withAspectRatio(String aspectRatio)
The aspect ratio of the input file.
|
JobInput |
withContainer(String container)
The container type for the input file.
|
JobInput |
withDetectedProperties(DetectedProperties detectedProperties)
The detected properties of the input file.
|
JobInput |
withEncryption(Encryption encryption)
The encryption settings, if any, that are used for decrypting your input
files.
|
JobInput |
withFrameRate(String frameRate)
The frame rate of the input file.
|
JobInput |
withInterlaced(String interlaced)
Whether the input file is interlaced.
|
JobInput |
withKey(String key)
The name of the file to transcode.
|
JobInput |
withResolution(String resolution)
This value must be
auto , which causes Elastic Transcoder to
automatically detect the resolution of the input file. |
public void setKey(String 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.
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 String getKey()
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.
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 JobInput withKey(String 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.
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 setFrameRate(String 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.
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 String getFrameRate()
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.
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 JobInput withFrameRate(String 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.
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 setResolution(String resolution)
This value must be auto
, which causes Elastic Transcoder to
automatically detect the resolution of the input file.
resolution
- This value must be auto
, which causes Elastic
Transcoder to automatically detect the resolution of the input
file.public String getResolution()
This value must be auto
, which causes Elastic Transcoder to
automatically detect the resolution of the input file.
auto
, which causes Elastic
Transcoder to automatically detect the resolution of the input
file.public JobInput withResolution(String resolution)
This value must be auto
, which causes Elastic Transcoder to
automatically detect the resolution of the input file.
resolution
- This value must be auto
, which causes Elastic
Transcoder to automatically detect the resolution of the input
file.public void setAspectRatio(String 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.
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 String getAspectRatio()
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.
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 JobInput withAspectRatio(String 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.
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 setInterlaced(String 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.
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 String getInterlaced()
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.
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 JobInput withInterlaced(String 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.
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 setContainer(String 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
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 String getContainer()
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
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 JobInput withContainer(String 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
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 setEncryption(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 will use to decrypt your file.
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 will use to decrypt your file.public Encryption getEncryption()
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 will use to decrypt your file.
public JobInput withEncryption(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 will use to decrypt your file.
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 will use to decrypt your file.public void setDetectedProperties(DetectedProperties detectedProperties)
The detected properties of the input file.
detectedProperties
- The detected properties of the input file.public DetectedProperties getDetectedProperties()
The detected properties of the input file.
public JobInput withDetectedProperties(DetectedProperties detectedProperties)
The detected properties of the input file.
detectedProperties
- The detected properties of the input file.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.