Video transform from 4k down to 720p
Hello,
As the title says, how can I make a multiple bitrate video from 4k down to 720p. I am a bit confused of not being able to set a custom transform as it is possible on AMS.
We have a need to have a consistent high quality of streaming (4k and 2k) but also allowing it to lower resolutions, but not lower than 720p.
How can I achieve an transform that is able to encode from 4k down to 720p? Should I use multiple transforms/jobs, to achieve the expected result?
At this moment, I cannot create a custom transform job as it is available on AMS, and currently we use the follow setup
- {
- "name": "H264StandardEncoder4kTo720p",
- "type": "Microsoft.Media/mediaservices/transforms",
- "properties": {
- "description": "Transform a video between 4k quality down to 720p",
- "outputs": [
- {
- "onError": "StopProcessingJob",
- "relativePriority": "Normal",
- "preset": {
- "@odata.type": "#Microsoft.Media.StandardEncoderPreset",
- "codecs": [
- {
- "@odata.type": "#Microsoft.Media.H264Video",
- "keyFrameInterval": "PT2S",
- "stretchMode": "AutoSize",
- "syncMode": "Auto",
- "sceneChangeDetection": false,
- "complexity": "Balanced",
- "layers": [
- {
- "width": "3840",
- "height": "2160",
- "label": "UHD-4K",
- "bitrate": 16000000,
- "maxBitrate": 16000000,
- "bFrames": 3,
- "slices": 0,
- "adaptiveBFrame": true,
- "profile": "Auto",
- "level": "auto",
- "bufferWindow": "PT5S",
- "referenceFrames": 3,
- "entropyMode": "Cabac"
- },
- {
- "width": "2560",
- "height": "1440",
- "label": "FHD",
- "bitrate": 10000000,
- "maxBitrate": 10000000,
- "bFrames": 3,
- "slices": 0,
- "adaptiveBFrame": true,
- "profile": "Auto",
- "level": "auto",
- "bufferWindow": "PT5S",
- "referenceFrames": 3,
- "entropyMode": "Cabac"
- },
- {
- "width": "1920",
- "height": "1080",
- "label": "FHD",
- "bitrate": 6000000,
- "maxBitrate": 6000000,
- "bFrames": 3,
- "slices": 0,
- "adaptiveBFrame": true,
- "profile": "Auto",
- "level": "auto",
- "bufferWindow": "PT5S",
- "referenceFrames": 3,
- "entropyMode": "Cabac"
- },
- {
- "width": "1280",
- "height": "720",
- "label": "HD",
- "bitrate": 4000000,
- "maxBitrate": 4000000,
- "bFrames": 3,
- "slices": 0,
- "adaptiveBFrame": true,
- "profile": "Auto",
- "level": "auto",
- "bufferWindow": "PT5S",
- "referenceFrames": 3,
- "entropyMode": "Cabac"
- }
- ]
- }
- ]
- }
- }
- ]
- },
- }
Have an idea for a feature? Request a feature or an idea!