Probe
URI
/2017-08-29/probe
HTTP methods
POST
Operation ID: Probe
Use Probe to obtain detailed information about your input media files. Probe returns a JSON that includes container, codec, frame rate, resolution, track count, audio layout, captions, and more. You can use this information to learn more about your media files, or to help make decisions while automating your transcoding workflow.
Status code | Response model | Description |
---|---|---|
200 | ProbeResponse | 200 response |
400 | ExceptionBody | The service can't process your request because of a problem in the request. Please check your request form and syntax. |
403 | ExceptionBody | You don't have permissions for this action with the credentials you sent. |
404 | ExceptionBody | The resource you requested does not exist. |
409 | ExceptionBody | The service could not complete your request because there is a conflict with the current state of the resource. |
429 | ExceptionBody | Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests. |
500 | ExceptionBody | The service encountered an unexpected condition and cannot fulfill your request. |
OPTIONS
Supports CORS preflight requests.
Status code | Response model | Description |
---|---|---|
200 | None | The request completed successfully. |
Schemas
Request bodies
{ "inputFiles": [ { "fileUrl": "string" } ] }
Response bodies
{ "probeResults": [ { "metadata": { "fileSize": integer, "eTag": "string", "lastModified": "string", "mimeType": "string" }, "container": { "format": enum, "duration": number, "tracks": [ { "index": integer, "codec": enum, "duration": number, "trackType": enum, "videoProperties": { "frameRate": { "numerator": integer, "denominator": integer }, "width": integer, "height": integer, "bitDepth": integer, "bitRate": integer, "colorPrimaries": enum, "matrixCoefficients": enum, "transferCharacteristics": enum, "codecMetadata": { "profile": "string", "level": "string", "chromaSubsampling": "string", "scanType": "string", "codedFrameRate": { "numerator": integer, "denominator": integer }, "width": integer, "height": integer, "bitDepth": integer, "colorPrimaries": enum, "matrixCoefficients": enum, "transferCharacteristics": enum } }, "audioProperties": { "frameRate": { "numerator": integer, "denominator": integer }, "sampleRate": integer, "channels": integer, "languageCode": "string", "bitDepth": integer, "bitRate": integer }, "dataProperties": { "languageCode": "string" } } ] }, "trackMappings": [ { "videoTrackIndexes": [ integer ], "audioTrackIndexes": [ integer ], "dataTrackIndexes": [ integer ] } ] } ] }
{ "message": "string" }
Properties
AudioProperties
Details about the media file's audio track.
Property | Type | Required | Description |
---|---|---|---|
bitDepth | integer | False | The bit depth of the audio track. |
bitRate | integer Format: int64 | False | The bit rate of the audio track, in bits per second. |
channels | integer | False | The number of audio channels in the audio track. |
frameRate | False | The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values. | |
languageCode | string | False | The language code of the audio track, in three character ISO 639-3 format. |
sampleRate | integer | False | The sample rate of the audio track. |
CodecMetadata
Codec-specific parameters parsed from the video essence headers.This information provides detailed technical specifications about how the video was encoded, including profile settings, resolution details, and color space information that can help you understand the source video characteristics and make informed encoding decisions.
Property | Type | Required | Description |
---|---|---|---|
bitDepth | integer | False | The number of bits used per color component in the video essence such as 8, 10, or 12 bits. Standard range (SDR) video typically uses 8-bit, while 10-bit is common for high dynamic range (HDR). |
chromaSubsampling | string | False | The chroma subsampling format used in the video encoding, such as "4:2:0" or "4:4:4". This describes how color information is sampled relative to brightness information. Different subsampling ratios affect video quality and file size, with "4:4:4" providing the highest color fidelity and "4:2:0" being most common for standard video. |
codedFrameRate | False | The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values. | |
colorPrimaries | False | The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video. This information helps ensure accurate color reproduction during playback and transcoding. | |
height | integer | False | The height in pixels as coded by the codec. This represents the actual encoded video height as specified in the video stream headers. |
level | string | False | The codec level or tier that specifies the maximum processing requirements and capabilities. Levels define constraints such as maximum bit rate, frame rate, and resolution. |
matrixCoefficients | False | The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space. This affects color accuracy during encoding and decoding processes. | |
profile | string | False | The codec profile used to encode the video. Profiles define specific feature sets and capabilities within a codec standard. For example, H.264 profiles include Baseline, Main, and High, each supporting different encoding features and complexity levels. |
scanType | string | False | The scanning method specified in the video essence, indicating whether the video uses progressive or interlaced scanning. |
transferCharacteristics | False | The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values. This affects brightness and contrast reproduction. | |
width | integer | False | The width in pixels as coded by the codec. This represents the actual encoded video width as specified in the video stream headers. |
ColorPrimaries
The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video. This information helps ensure accurate color reproduction during playback and transcoding.
ITU_709
UNSPECIFIED
RESERVED
ITU_470M
ITU_470BG
SMPTE_170M
SMPTE_240M
GENERIC_FILM
ITU_2020
SMPTE_428_1
SMPTE_431_2
SMPTE_EG_432_1
IPT
SMPTE_2067XYZ
EBU_3213_E
LAST
Container
The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.
Property | Type | Required | Description |
---|---|---|---|
duration | number Format: double | False | The total duration of your media file, in seconds. |
format | string Values: | False | The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM or MXF. Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize. |
tracks | Array of type Track | False | Details about each track (video, audio, or data) in the media file. |
DataProperties
Details about the media file's data track.
Property | Type | Required | Description |
---|---|---|---|
languageCode | string | False | The language code of the data track, in three character ISO 639-3 format. |
ExceptionBody
Property | Type | Required | Description |
---|---|---|---|
message | string | False |
FrameRate
The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.
Property | Type | Required | Description |
---|---|---|---|
denominator | integer | False | The denominator, or bottom number, in the fractional frame rate. For example, if your frame rate is 24000 / 1001 (23.976 frames per second), then the denominator would be 1001. |
numerator | integer | False | The numerator, or top number, in the fractional frame rate. For example, if your frame rate is 24000 / 1001 (23.976 frames per second), then the numerator would be 24000. |
MatrixCoefficients
The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space. This affects color accuracy during encoding and decoding processes.
RGB
ITU_709
UNSPECIFIED
RESERVED
FCC
ITU_470BG
SMPTE_170M
SMPTE_240M
YCgCo
ITU_2020_NCL
ITU_2020_CL
SMPTE_2085
CD_NCL
CD_CL
ITU_2100ICtCp
IPT
EBU3213
LAST
Metadata
Metadata and other file information.
Property | Type | Required | Description |
---|---|---|---|
eTag | string | False | The entity tag (ETag) of the file. |
fileSize | integer Format: int64 | False | The size of the media file, in bytes. |
lastModified | string Format: date-time | False | The last modification timestamp of the media file, in Unix time. |
mimeType | string | False | The MIME type of the media file. |
ProbeInputFile
The input file that needs to be analyzed.
Property | Type | Required | Description |
---|---|---|---|
fileUrl | string | False | Specify the S3, HTTP, or HTTPS URL for your media file. |
ProbeRequest
The request to probe one or more media files and retrieve metadata about them.
Property | Type | Required | Description |
---|---|---|---|
inputFiles | Array of type ProbeInputFile | False | Specify a media file to probe. |
ProbeResponse
The response from a MediaConvert Probe operation, in JSON form, with detailed information about your input media.
Property | Type | Required | Description |
---|---|---|---|
probeResults | Array of type ProbeResult | False | Probe results for your media file. |
ProbeResult
Probe results for your media file.
Property | Type | Required | Description |
---|---|---|---|
container | False | The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout. | |
metadata | False | Metadata and other file information. | |
trackMappings | Array of type TrackMapping | False | An array containing track mapping information. |
Track
Details about each track (video, audio, or data) in the media file.
Property | Type | Required | Description |
---|---|---|---|
audioProperties | False | Details about the media file's audio track. | |
codec | string Values: | False | The codec of the audio or video track, or caption format of the data track. |
dataProperties | False | Details about the media file's data track. | |
duration | number Format: double | False | The duration of the track, in seconds. |
index | integer | False | The unique index number of the track, starting at 1. |
trackType | string Values: | False | The type of track: video, audio, or data. |
videoProperties | False | Details about the media file's video track. |
TrackMapping
An array containing track mapping information.
Property | Type | Required | Description |
---|---|---|---|
audioTrackIndexes | Array of type integer | False | The index numbers of the audio tracks in your media file. |
dataTrackIndexes | Array of type integer | False | The index numbers of the data tracks in your media file. |
videoTrackIndexes | Array of type integer | False | The index numbers of the video tracks in your media file. |
TransferCharacteristics
The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values. This affects brightness and contrast reproduction.
ITU_709
UNSPECIFIED
RESERVED
ITU_470M
ITU_470BG
SMPTE_170M
SMPTE_240M
LINEAR
LOG10_2
LOC10_2_5
IEC_61966_2_4
ITU_1361
IEC_61966_2_1
ITU_2020_10bit
ITU_2020_12bit
SMPTE_2084
SMPTE_428_1
ARIB_B67
LAST
VideoProperties
Details about the media file's video track.
Property | Type | Required | Description |
---|---|---|---|
bitDepth | integer | False | The number of bits used per color component such as 8, 10, or 12 bits. Standard range (SDR) video typically uses 8-bit, while 10-bit is common for high dynamic range (HDR). |
bitRate | integer Format: int64 | False | The bit rate of the video track, in bits per second. |
codecMetadata | False | Codec-specific parameters parsed from the video essence headers.This information provides detailed technical specifications about how the video was encoded, including profile settings, resolution details, and color space information that can help you understand the source video characteristics and make informed encoding decisions. | |
colorPrimaries | False | The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video. This information helps ensure accurate color reproduction during playback and transcoding. | |
frameRate | False | The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values. | |
height | integer | False | The height of the video track, in pixels. |
matrixCoefficients | False | The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space. This affects color accuracy during encoding and decoding processes. | |
transferCharacteristics | False | The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values. This affects brightness and contrast reproduction. | |
width | integer | False | The width of the video track, in pixels. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: