Skip to content

Instantly share code, notes, and snippets.

@mwinckler
Created June 6, 2020 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwinckler/bd7ba000fc1e9373e47af8fba56e5f2a to your computer and use it in GitHub Desktop.
Save mwinckler/bd7ba000fc1e9373e47af8fba56e5f2a to your computer and use it in GitHub Desktop.
{
"name": "HTTP live streaming 720p",
"id": "8938280",
"arn": "",
"inputAttachments": [
{
"inputId": "6210559",
"inputAttachmentName": "rtmp input",
"inputSettings": {
"sourceEndBehavior": "CONTINUE",
"inputFilter": "AUTO",
"filterStrength": 1,
"deblockFilter": "DISABLED",
"denoiseFilter": "DISABLED",
"audioSelectors": [
{
"name": "default"
}
],
"captionSelectors": []
}
}
],
"state": "STOPPING",
"pipelinesRunningCount": 1,
"destinations": [
{
"id": "6wwcqg",
"settings": [],
"mediaPackageSettings": [
{
"channelId": "YOUR-MEDIAPACKAGE-CHANNEL-ID-HERE"
}
]
},
{
"id": "m4af93",
"settings": [
{
"url": "rtmp://a.rtmp.youtube.com/live2",
"streamName": "YOUR-YOUTUBE-STREAM-KEY-HERE"
}
],
"mediaPackageSettings": []
}
],
"egressEndpoints": [
{
"sourceIp": "44.233.184.89"
}
],
"encoderSettings": {
"audioDescriptions": [
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 64000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_1_aac64"
},
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 64000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_2_aac64"
},
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 64000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_3_aac64"
},
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 96000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_1_aac96"
},
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 96000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_2_aac96"
},
{
"audioSelectorName": "default",
"codecSettings": {
"aacSettings": {
"inputType": "NORMAL",
"bitrate": 96000,
"codingMode": "CODING_MODE_2_0",
"rawFormat": "NONE",
"spec": "MPEG4",
"profile": "LC",
"rateControlMode": "CBR",
"sampleRate": 48000
}
},
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_3_aac96"
},
{
"audioTypeControl": "FOLLOW_INPUT",
"languageCodeControl": "FOLLOW_INPUT",
"name": "audio_n8a84"
}
],
"captionDescriptions": [],
"outputGroups": [
{
"outputGroupSettings": {
"mediaPackageGroupSettings": {
"destination": {
"destinationRefId": "6wwcqg"
}
}
},
"name": "",
"outputs": [
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "960_540",
"videoDescriptionName": "video_960_540",
"audioDescriptionNames": [
"audio_2_aac96"
],
"captionDescriptionNames": []
},
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "1280_720_1",
"videoDescriptionName": "video_1280_720_1",
"audioDescriptionNames": [
"audio_3_aac96"
],
"captionDescriptionNames": []
},
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "416_234",
"videoDescriptionName": "video_416_234",
"audioDescriptionNames": [
"audio_1_aac64"
],
"captionDescriptionNames": []
},
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "480_270",
"videoDescriptionName": "video_480_270",
"audioDescriptionNames": [
"audio_2_aac64"
],
"captionDescriptionNames": []
},
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "640_360",
"videoDescriptionName": "video_640_360",
"audioDescriptionNames": [
"audio_3_aac64"
],
"captionDescriptionNames": []
},
{
"outputSettings": {
"mediaPackageOutputSettings": {}
},
"outputName": "768_432",
"videoDescriptionName": "video_768_432",
"audioDescriptionNames": [
"audio_1_aac96"
],
"captionDescriptionNames": []
}
]
},
{
"outputGroupSettings": {
"rtmpGroupSettings": {
"authenticationScheme": "COMMON",
"cacheLength": 30,
"restartDelay": 15,
"cacheFullBehavior": "DISCONNECT_IMMEDIATELY",
"captionData": "ALL",
"inputLossAction": "EMIT_OUTPUT"
}
},
"name": "YouTube Live",
"outputs": [
{
"outputSettings": {
"rtmpOutputSettings": {
"destination": {
"destinationRefId": "m4af93"
},
"connectionRetryInterval": 2,
"numRetries": 10,
"certificateMode": "VERIFY_AUTHENTICITY"
}
},
"outputName": "1280x720 copy",
"videoDescriptionName": "video_cbwbbtc",
"audioDescriptionNames": [
"audio_n8a84"
],
"captionDescriptionNames": []
}
]
}
],
"timecodeConfig": {
"source": "SYSTEMCLOCK"
},
"videoDescriptions": [
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 200000,
"entropyEncoding": "CAVLC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 15000,
"framerateDenominator": 1001,
"gopBReference": "DISABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 0,
"gopSize": 30,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_3",
"lookAheadRateControl": "HIGH",
"maxBitrate": 200000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "BASELINE",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 6,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 236,
"name": "video_416_234",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 416
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 400000,
"entropyEncoding": "CAVLC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 15000,
"framerateDenominator": 1001,
"gopBReference": "DISABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 0,
"gopSize": 30,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_3",
"lookAheadRateControl": "HIGH",
"maxBitrate": 400000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "BASELINE",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 7,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 272,
"name": "video_480_270",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 480
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 800000,
"entropyEncoding": "CABAC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 30000,
"framerateDenominator": 1001,
"gopBReference": "ENABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 3,
"gopSize": 60,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_3",
"lookAheadRateControl": "HIGH",
"maxBitrate": 800000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "MAIN",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 7,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 360,
"name": "video_640_360",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 640
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 1200000,
"entropyEncoding": "CABAC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 30000,
"framerateDenominator": 1001,
"gopBReference": "ENABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 3,
"gopSize": 60,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_4_1",
"lookAheadRateControl": "HIGH",
"maxBitrate": 1200000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "MAIN",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 7,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 432,
"name": "video_768_432",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 768
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 2200000,
"entropyEncoding": "CABAC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 30000,
"framerateDenominator": 1001,
"gopBReference": "ENABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 3,
"gopSize": 60,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_4_1",
"lookAheadRateControl": "HIGH",
"maxBitrate": 2200000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "HIGH",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 8,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 540,
"name": "video_960_540",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 960
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"bitrate": 6000000,
"entropyEncoding": "CABAC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 30000,
"framerateDenominator": 1001,
"gopBReference": "ENABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 3,
"gopSize": 60,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_4_1",
"lookAheadRateControl": "HIGH",
"maxBitrate": 6000000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "HIGH",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 10,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 720,
"name": "video_1280_720_1",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 1280
},
{
"codecSettings": {
"h264Settings": {
"afdSignaling": "NONE",
"colorMetadata": "INSERT",
"adaptiveQuantization": "HIGH",
"entropyEncoding": "CABAC",
"flickerAq": "ENABLED",
"forceFieldPictures": "DISABLED",
"framerateControl": "SPECIFIED",
"framerateNumerator": 30000,
"framerateDenominator": 1001,
"gopBReference": "ENABLED",
"gopClosedCadence": 1,
"gopNumBFrames": 3,
"gopSize": 60,
"gopSizeUnits": "FRAMES",
"subgopLength": "FIXED",
"scanType": "PROGRESSIVE",
"level": "H264_LEVEL_4_1",
"lookAheadRateControl": "HIGH",
"maxBitrate": 6000000,
"numRefFrames": 1,
"parControl": "SPECIFIED",
"profile": "HIGH",
"rateControlMode": "QVBR",
"qvbrQualityLevel": 8,
"syntax": "DEFAULT",
"sceneChangeDetect": "ENABLED",
"spatialAq": "ENABLED",
"temporalAq": "ENABLED",
"timecodeInsertion": "DISABLED"
}
},
"height": 720,
"name": "video_cbwbbtc",
"respondToAfd": "NONE",
"sharpness": 50,
"scalingBehavior": "DEFAULT",
"width": 1280
}
]
},
"roleArn": "",
"inputSpecification": {
"codec": "AVC",
"resolution": "HD",
"maximumBitrate": "MAX_10_MBPS"
},
"logLevel": "DISABLED",
"tags": {},
"channelClass": "SINGLE_PIPELINE",
"pipelineDetails": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment