Skip to content

Instantly share code, notes, and snippets.

@ensean
Created February 28, 2023 05:05
Show Gist options
  • Save ensean/fc2da1f8a32020d1bad03f751b106fdd to your computer and use it in GitHub Desktop.
Save ensean/fc2da1f8a32020d1bad03f751b106fdd to your computer and use it in GitHub Desktop.
mediaconvert job json for mp3 to mp3 hls
{
"Queue": "arn:aws:mediaconvert:ap-northeast-1:77959xxx7093:queues/Default",
"UserMetadata": {},
"Role": "arn:aws:iam::779598xxx7093:role/service-role/MediaConvert_Default_Role",
"Settings": {
"TimecodeConfig": {
"Source": "ZEROBASED"
},
"OutputGroups": [
{
"CustomName": "mp3-hls",
"Name": "Apple HLS",
"Outputs": [
{
"ContainerSettings": {
"Container": "M3U8",
"M3u8Settings": {}
},
"AudioDescriptions": [
{
"AudioSourceName": "Audio Selector 1",
"CodecSettings": {
"Codec": "AAC",
"AacSettings": {
"Bitrate": 96000,
"CodingMode": "CODING_MODE_2_0",
"SampleRate": 48000
}
}
}
],
"OutputSettings": {
"HlsSettings": {}
},
"NameModifier": "gyz"
}
],
"OutputGroupSettings": {
"Type": "HLS_GROUP_SETTINGS",
"HlsGroupSettings": {
"SegmentLength": 5,
"Destination": "s3://s3-mirror-demo-05/mall/",
"MinSegmentLength": 0
}
}
}
],
"Inputs": [
{
"AudioSelectors": {
"Audio Selector 1": {
"DefaultSelection": "DEFAULT"
}
},
"TimecodeSource": "ZEROBASED",
"FileInput": "s3://s3-mirror-demo-05/gyz.mp3"
}
]
},
"AccelerationSettings": {
"Mode": "DISABLED"
},
"StatusUpdateInterval": "SECONDS_60",
"Priority": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment