Skip to content

Instantly share code, notes, and snippets.

@decodedmrq
Created January 15, 2022 11:35
Show Gist options
  • Save decodedmrq/d4f32745476da7dadc20b13064489276 to your computer and use it in GitHub Desktop.
Save decodedmrq/d4f32745476da7dadc20b13064489276 to your computer and use it in GitHub Desktop.

Revisions

  1. decodedmrq created this gist Jan 15, 2022.
    285 changes: 285 additions & 0 deletions Encoding job config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,285 @@
    "encodingJob": {
    "M": {
    "Role": {
    "S": "arn:aws:iam::test:role/vod-test-MediaConvertRole-5I6IRWVD5W20"
    },
    "UserMetadata": {
    "M": {
    "workflow": {
    "S": "vod-test"
    },
    "guid": {
    "S": "bdca8d62-ae03-4793-881a-b4231811268f"
    }
    }
    },
    "JobTemplate": {
    "S": "vod-test_Ott_720p_Avc_Aac_16x9_qvbr_no_preset"
    },
    "AccelerationSettings": {
    "M": {
    "Mode": {
    "S": "PREFERRED"
    }
    }
    },
    "Settings": {
    "M": {
    "Inputs": {
    "L": [
    {
    "M": {
    "FilterStrength": {
    "N": "0"
    },
    "DeblockFilter": {
    "S": "DISABLED"
    },
    "TimecodeSource": {
    "S": "ZEROBASED"
    },
    "VideoSelector": {
    "M": {
    "Rotate": {
    "S": "DEGREE_0"
    },
    "ColorSpace": {
    "S": "FOLLOW"
    }
    }
    },
    "AudioSelectors": {
    "M": {
    "Audio Selector 1": {
    "M": {
    "DefaultSelection": {
    "S": "NOT_DEFAULT"
    },
    "Tracks": {
    "L": [
    {
    "N": "1"
    }
    ]
    },
    "Offset": {
    "N": "0"
    },
    "ProgramSelection": {
    "N": "1"
    },
    "SelectorType": {
    "S": "TRACK"
    }
    }
    }
    }
    },
    "FileInput": {
    "S": "s3://vod-test-source-upzkfljkdome/02b9502b-3a9b-42a6-926a-e7cc5e17bb4d.mp4"
    },
    "PsiControl": {
    "S": "USE_PSI"
    },
    "DenoiseFilter": {
    "S": "DISABLED"
    },
    "FilterEnable": {
    "S": "AUTO"
    }
    }
    }
    ]
    },
    "OutputGroups": {
    "L": [
    {
    "M": {
    "Outputs": {
    "L": []
    },
    "OutputGroupSettings": {
    "M": {
    "FileGroupSettings": {
    "M": {
    "Destination": {
    "S": "s3://vod-test-destination-ykpv5l8s3ann/bdca8d62-ae03-4793-881a-b4231811268f/mp4/"
    }
    }
    },
    "Type": {
    "S": "FILE_GROUP_SETTINGS"
    }
    }
    },
    "Name": {
    "S": "File Group"
    }
    }
    },
    {
    "M": {
    "Outputs": {
    "L": []
    },
    "OutputGroupSettings": {
    "M": {
    "HlsGroupSettings": {
    "M": {
    "SegmentLength": {
    "N": "5"
    },
    "Destination": {
    "S": "s3://vod-test-destination-ykpv5l8s3ann/bdca8d62-ae03-4793-881a-b4231811268f/hls/"
    },
    "MinSegmentLength": {
    "N": "0"
    }
    }
    },
    "Type": {
    "S": "HLS_GROUP_SETTINGS"
    }
    }
    },
    "Name": {
    "S": "HLS Group"
    }
    }
    },
    {
    "M": {
    "Outputs": {
    "L": []
    },
    "OutputGroupSettings": {
    "M": {
    "Type": {
    "S": "DASH_ISO_GROUP_SETTINGS"
    },
    "DashIsoGroupSettings": {
    "M": {
    "SegmentLength": {
    "N": "30"
    },
    "Destination": {
    "S": "s3://vod-test-destination-ykpv5l8s3ann/bdca8d62-ae03-4793-881a-b4231811268f/dash/"
    },
    "FragmentLength": {
    "N": "3"
    }
    }
    }
    }
    },
    "Name": {
    "S": "DASH ISO"
    }
    }
    },
    {
    "M": {
    "Outputs": {
    "L": [
    {
    "M": {
    "VideoDescription": {
    "M": {
    "TimecodeInsertion": {
    "S": "DISABLED"
    },
    "DropFrameTimecode": {
    "S": "ENABLED"
    },
    "ColorMetadata": {
    "S": "INSERT"
    },
    "ScalingBehavior": {
    "S": "DEFAULT"
    },
    "RespondToAfd": {
    "S": "NONE"
    },
    "AntiAlias": {
    "S": "ENABLED"
    },
    "AfdSignaling": {
    "S": "NONE"
    },
    "Sharpness": {
    "N": "100"
    },
    "CodecSettings": {
    "M": {
    "FrameCaptureSettings": {
    "M": {
    "FramerateNumerator": {
    "N": "1"
    },
    "MaxCaptures": {
    "N": "10000000"
    },
    "Quality": {
    "N": "80"
    },
    "FramerateDenominator": {
    "N": "5"
    }
    }
    },
    "Codec": {
    "S": "FRAME_CAPTURE"
    }
    }
    }
    }
    },
    "NameModifier": {
    "S": "_thumb"
    },
    "ContainerSettings": {
    "M": {
    "Container": {
    "S": "RAW"
    }
    }
    }
    }
    }
    ]
    },
    "OutputGroupSettings": {
    "M": {
    "FileGroupSettings": {
    "M": {
    "Destination": {
    "S": "s3://vod-test-destination-ykpv5l8s3ann/bdca8d62-ae03-4793-881a-b4231811268f/thumbnails/"
    }
    }
    },
    "Type": {
    "S": "FILE_GROUP_SETTINGS"
    }
    }
    },
    "CustomName": {
    "S": "Frame Capture"
    },
    "Name": {
    "S": "File Group"
    }
    }
    }
    ]
    },
    "TimecodeConfig": {
    "M": {
    "Source": {
    "S": "ZEROBASED"
    }
    }
    }
    }
    }
    }
    },