Dynamic Packaging - Audio only : HLS support multiple bitrate with same language/codec ?

XAVIER LAFFARGUE 51 Reputation points
2021-12-05T04:00:58.297+00:00

Hi,

I would like to know if Azure Dynamic Packaging support multiple bitrates on HLS with the same language/codec (only the bitrate/quality change).

I ask because after severals tests I only see one bitrate in the manifest HLS, but Dash & Smooth displays all bitrates

Smil :

<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<head>
<meta name="formats" content="mp4" />
</head>
<body>
<switch>
<audio src="audio64.mp4" systemBitrate="64000" systemLanguage="fr" />
<audio src="audio128.mp4" systemBitrate="128000" systemLanguage="fr" />
</switch>
</body>
</smil>

Community Center | Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. John Deutscher 241 Reputation points
    2021-12-06T18:30:19.387+00:00

    Hi Xavier,

    Is the input for this stream going to be VOD (on-demand) or is this a live feed coming in via our pass-through Live event type?

    Also, it would be good to start from your expectation in the HLS or DASH manifest. Are you trying to create multiple renditions of the same asset, with the ability to select different bitrates, or is your goal to try to do some form of Adaptive audio switching from 128kbps down to 64kbps?
    Because those two would be shown slightly differently in the manifests. Also, one thing to keep in mind is that not many players out there support adaptive audio switching. They just are not tuned to do it very well.

    0 comments No comments

  2. XAVIER LAFFARGUE 51 Reputation points
    2021-12-06T18:57:58.087+00:00

    Hi @John Deutscher

    Is the input for this stream going to be VOD (on-demand) or is this a live feed coming in via our pass-through Live event type?

    VOD

    I would like to have something like this :

    #EXT-X-STREAM-INF:BANDWIDTH=64000,CODECS="mp4a.40.2"  
    QualityLevels(64000)/Manifest(audio_fr,format=m3u8-cmaf)  
    #EXT-X-STREAM-INF:BANDWIDTH=128000,CODECS="mp4a.40.2"  
    QualityLevels(128000)/Manifest(audio_fr,format=m3u8-cmaf)  
    

    Actually I've :

    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="audio_fr",LANGUAGE="fr",DEFAULT=YES,AUTOSELECT=YES,URI="QualityLevels(64000)/Manifest(audio_fr,format=m3u8-aapl)"  
    #EXT-X-STREAM-INF:BANDWIDTH=64000,CODECS="mp4a.40.2",AUDIO="audio"  
    QualityLevels(64000)/Manifest(audio_fr,format=m3u8-cmaf)  
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.