CmdID

CmdID / aws / aws mediaconvert

aws mediaconvert list-presets

Retrieve a JSON array of up to twenty of your presets. AWS CLI reference

2 examples 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

Example 1: To list your custom output presets

The following list-presets example lists your custom output presets. To list the system presets, see the next example.

aws mediaconvert list-presets --endpoint-url https://abcd1234.mediaconvert.us-west-2.amazonaws.comIdentify
--endpoint-urlOverride command's default URL with the given URL.
Its output, shortened
{
    "Presets": [
        {
            "Name": "SimpleMP4",
            "CreatedAt": 1568841521,
            "Settings": {
                "ContainerSettings": {
                    "Container": "MP4",
                    "Mp4Settings": {
                        "CslgAtom": "INCLUDE",
                        "FreeSpaceBox": "EXCLUDE",
                        "MoovPlacement": "PROGRESSIVE_DOWNLOAD"
                    }
                },
                "VideoDescription": {
                    "CodecSettings": {
                        "Codec": "H_264",
                        "H264Settings": {
                            "Bitrate": 400000,
                            "CodecProfile": "MAIN",
                            "RateControlMode": "CBR"
                        }
                    }
                },
                "AudioDescriptions": [
                    {
                        "CodecSettings": {
                            "Codec": "AAC",
                            "AacSettings": {
                                "Bitrate": 96000,
… 52 more lines

Example 2: To list the system output presets

The following list-presets example lists the available MediaConvert system presets. To list your custom presets, see the previous example.

aws mediaconvert list-presets --list-by SYSTEM --endpoint-url https://abcd1234.mediaconvert.us-west-2.amazonaws.comIdentify
--list-byOptional.
--endpoint-urlOverride command's default URL with the given URL.
Its output, shortened
{
    "Presets": [
        {
            "Arn": "arn:aws:mediaconvert:us-west-2:123456789012:presets/System-Avc_16x9_1080p_29_97fps_8500kbps",
            "Name": "System-Avc_16x9_1080p_29_97fps_8500kbps",
            "CreatedAt": 1568321789,
            "Description": "Wifi, 1920x1080, 16:9, 29.97fps, 8500kbps",
            "LastUpdated": 1568321789,
            "Type": "SYSTEM",
            "Category": "HLS",
            "Settings": {
                "ContainerSettings": {
                    "Container": "M3U8"
                },
                "VideoDescription": {
                    "Width": 1920,
                    "Height": 1080,
                    "CodecSettings": {
                        "Codec": "H_264",
                        "H264Settings": {
                            "Bitrate": 8500000,
                            "CodecProfile": "MAIN",
                            "RateControlMode": "CBR",
                            "FramerateControl": "SPECIFIED",
                            "FramerateNumerator": 30000,
                            "FramerateDenominator": 1001
                        }
                    }
                },
                "AudioDescriptions": [
… 59 more lines

For more information, see Working with AWS Elemental MediaConvert Output Presets in the AWS Elemental MediaConvert User Guide.

Options

3 in the AWS CLI reference
--categoryOptionally, specify a preset category to limit responses to only presets from that category.
--max-results, --list-by, --orderOptional.
--next-tokenUse this string, provided with the response to a previous request, to request the next batch of presets.