Video transform from 4k down to 720p

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
  1. {
  2. "name": "H264StandardEncoder4kTo720p",
  3. "type": "Microsoft.Media/mediaservices/transforms",
  4. "properties": {
  5. "description": "Transform a video between 4k quality down to 720p",
  6. "outputs": [
  7. {
  8. "onError": "StopProcessingJob",
  9. "relativePriority": "Normal",
  10. "preset": {
  11. "@odata.type": "#Microsoft.Media.StandardEncoderPreset",
  12. "codecs": [
  13. {
  14. "@odata.type": "#Microsoft.Media.H264Video",
  15. "keyFrameInterval": "PT2S",
  16. "stretchMode": "AutoSize",
  17. "syncMode": "Auto",
  18. "sceneChangeDetection": false,
  19. "complexity": "Balanced",
  20. "layers": [
  21. {
  22. "width": "3840",
  23. "height": "2160",
  24. "label": "UHD-4K",
  25. "bitrate": 16000000,
  26. "maxBitrate": 16000000,
  27. "bFrames": 3,
  28. "slices": 0,
  29. "adaptiveBFrame": true,
  30. "profile": "Auto",
  31. "level": "auto",
  32. "bufferWindow": "PT5S",
  33. "referenceFrames": 3,
  34. "entropyMode": "Cabac"
  35. },
  36. {
  37. "width": "2560",
  38. "height": "1440",
  39. "label": "FHD",
  40. "bitrate": 10000000,
  41. "maxBitrate": 10000000,
  42. "bFrames": 3,
  43. "slices": 0,
  44. "adaptiveBFrame": true,
  45. "profile": "Auto",
  46. "level": "auto",
  47. "bufferWindow": "PT5S",
  48. "referenceFrames": 3,
  49. "entropyMode": "Cabac"
  50. },
  51. {
  52. "width": "1920",
  53. "height": "1080",
  54. "label": "FHD",
  55. "bitrate": 6000000,
  56. "maxBitrate": 6000000,
  57. "bFrames": 3,
  58. "slices": 0,
  59. "adaptiveBFrame": true,
  60. "profile": "Auto",
  61. "level": "auto",
  62. "bufferWindow": "PT5S",
  63. "referenceFrames": 3,
  64. "entropyMode": "Cabac"
  65. },
  66. {
  67. "width": "1280",
  68. "height": "720",
  69. "label": "HD",
  70. "bitrate": 4000000,
  71. "maxBitrate": 4000000,
  72. "bFrames": 3,
  73. "slices": 0,
  74. "adaptiveBFrame": true,
  75. "profile": "Auto",
  76. "level": "auto",
  77. "bufferWindow": "PT5S",
  78. "referenceFrames": 3,
  79. "entropyMode": "Cabac"
  80. }
  81. ]
  82. }
  83. ]
  84. }
  85. }
  86. ]
  87. },
  88. }


    Features & Ideas

    Have an idea for a feature? Request a feature or an idea!