HLS Stream Quality

Hello Max,

We are confused about HLS.

How to define 720p quality to HLS on edge?
We start the HLS by API, but how to call an specific transcoder to them?
 

Max

Administrator
Staff member
Good day.
How to define 720p quality to HLS on edge?
We start the HLS by API, but how to call an specific transcoder to them?
You should use CDN transcoding profiles for this purpose. For example, define the following profiles in cdn_profiles.yml
YAML:
profiles:
 -240p:
  audio:
    codec : mpeg4-generic
    rate : 48000
  video:
    height : 240
    bitrate : 300
    gop : 50
    codec : h264
    codecImpl : FF
 -360p:
  video:
    height : 360
    bitrate : 400
    gop : 50
    codec : h264
    codecImpl : FF
 -480p:
  video:
    height : 480
    bitrate : 600
    gop : 50
    codec : h264
    codecImpl : FF
 -720p:
  video:
    height : 720
    bitrate : 1000
    gop : 50
    codec : h264
    codecImpl : FF
Then you can play HLS with profile needed
Code:
http://edge:8082/stream-480p/stream-480p.m3u8
Usually, a dedicated transcoder servers are deployed to perform transcoding. If you have a powerful Origin, you can set on Edge nodes
Code:
cdn_origin_allowed_to_transcode=true
but separate Transcoder is more flexible to configure.
 
Top