Created
August 11, 2021 14:34
-
-
Save fobos531/9c790010c008678c1402715e4f96c8dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Description": "Template used to transcode story videos and generate corresponding thumbnails", | |
"Queue": "arn:aws:mediaconvert:us-east-1:767697632458:queues/Default", | |
"Name": "StoryVideoTemplate", | |
"Settings": { | |
"TimecodeConfig": { | |
"Source": "ZEROBASED" | |
}, | |
"OutputGroups": [ | |
{ | |
"CustomName": "Converted videos", | |
"Name": "Apple HLS", | |
"Outputs": [ | |
{ | |
"ContainerSettings": { | |
"Container": "M3U8", | |
"M3u8Settings": {} | |
}, | |
"VideoDescription": { | |
"Width": 1080, | |
"Height": 1920, | |
"CodecSettings": { | |
"Codec": "H_264", | |
"H264Settings": { | |
"MaxBitrate": 1500000, | |
"RateControlMode": "QVBR", | |
"QvbrSettings": { | |
"QvbrQualityLevel": 7 | |
}, | |
"SceneChangeDetect": "TRANSITION_DETECTION" | |
} | |
} | |
}, | |
"AudioDescriptions": [ | |
{ | |
"CodecSettings": { | |
"Codec": "AAC", | |
"AacSettings": { | |
"Bitrate": 96000, | |
"CodingMode": "CODING_MODE_2_0", | |
"SampleRate": 48000 | |
} | |
} | |
} | |
], | |
"OutputSettings": { | |
"HlsSettings": {} | |
}, | |
"NameModifier": "1080p" | |
}, | |
{ | |
"ContainerSettings": { | |
"Container": "M3U8", | |
"M3u8Settings": {} | |
}, | |
"VideoDescription": { | |
"Width": 720, | |
"Height": 1280, | |
"CodecSettings": { | |
"Codec": "H_264", | |
"H264Settings": { | |
"MaxBitrate": 1500000, | |
"RateControlMode": "QVBR", | |
"QvbrSettings": { | |
"QvbrQualityLevel": 7 | |
}, | |
"SceneChangeDetect": "TRANSITION_DETECTION" | |
} | |
} | |
}, | |
"AudioDescriptions": [ | |
{ | |
"CodecSettings": { | |
"Codec": "AAC", | |
"AacSettings": { | |
"Bitrate": 96000, | |
"CodingMode": "CODING_MODE_2_0", | |
"SampleRate": 48000 | |
} | |
} | |
} | |
], | |
"OutputSettings": { | |
"HlsSettings": {} | |
}, | |
"NameModifier": "720p" | |
}, | |
{ | |
"ContainerSettings": { | |
"Container": "M3U8", | |
"M3u8Settings": {} | |
}, | |
"VideoDescription": { | |
"Width": 540, | |
"Height": 960, | |
"CodecSettings": { | |
"Codec": "H_264", | |
"H264Settings": { | |
"MaxBitrate": 1500000, | |
"RateControlMode": "QVBR", | |
"QvbrSettings": { | |
"QvbrQualityLevel": 7 | |
}, | |
"SceneChangeDetect": "TRANSITION_DETECTION" | |
} | |
} | |
}, | |
"AudioDescriptions": [ | |
{ | |
"CodecSettings": { | |
"Codec": "AAC", | |
"AacSettings": { | |
"Bitrate": 96000, | |
"CodingMode": "CODING_MODE_2_0", | |
"SampleRate": 48000 | |
} | |
} | |
} | |
], | |
"OutputSettings": { | |
"HlsSettings": {} | |
}, | |
"NameModifier": "480p" | |
}, | |
{ | |
"ContainerSettings": { | |
"Container": "M3U8", | |
"M3u8Settings": {} | |
}, | |
"VideoDescription": { | |
"Width": 360, | |
"Height": 640, | |
"CodecSettings": { | |
"Codec": "H_264", | |
"H264Settings": { | |
"MaxBitrate": 1500000, | |
"RateControlMode": "QVBR", | |
"QvbrSettings": { | |
"QvbrQualityLevel": 7 | |
}, | |
"SceneChangeDetect": "TRANSITION_DETECTION" | |
} | |
} | |
}, | |
"AudioDescriptions": [ | |
{ | |
"CodecSettings": { | |
"Codec": "AAC", | |
"AacSettings": { | |
"Bitrate": 96000, | |
"CodingMode": "CODING_MODE_2_0", | |
"SampleRate": 48000 | |
} | |
} | |
} | |
], | |
"OutputSettings": { | |
"HlsSettings": {} | |
}, | |
"NameModifier": "360p" | |
} | |
], | |
"OutputGroupSettings": { | |
"Type": "HLS_GROUP_SETTINGS", | |
"HlsGroupSettings": { | |
"SegmentLength": 10, | |
"MinSegmentLength": 0 | |
} | |
} | |
}, | |
{ | |
"CustomName": "Misc files", | |
"Name": "File Group", | |
"Outputs": [ | |
{ | |
"ContainerSettings": { | |
"Container": "RAW" | |
}, | |
"VideoDescription": { | |
"Width": 360, | |
"Height": 640, | |
"CodecSettings": { | |
"Codec": "FRAME_CAPTURE", | |
"FrameCaptureSettings": { | |
"FramerateNumerator": 30, | |
"FramerateDenominator": 1500, | |
"MaxCaptures": 1, | |
"Quality": 85 | |
} | |
} | |
} | |
} | |
], | |
"OutputGroupSettings": { | |
"Type": "FILE_GROUP_SETTINGS", | |
"FileGroupSettings": { | |
"DestinationSettings": { | |
"S3Settings": { | |
"AccessControl": { | |
"CannedAcl": "PUBLIC_READ" | |
} | |
} | |
} | |
} | |
} | |
} | |
], | |
"Inputs": [ | |
{ | |
"AudioSelectors": { | |
"Audio Selector 1": { | |
"DefaultSelection": "DEFAULT" | |
} | |
}, | |
"VideoSelector": {}, | |
"TimecodeSource": "ZEROBASED" | |
} | |
] | |
}, | |
"AccelerationSettings": { | |
"Mode": "DISABLED" | |
}, | |
"StatusUpdateInterval": "SECONDS_10", | |
"Priority": 0, | |
"HopDestinations": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment