I want to encode an AAC formatted audio file into multi bitrate HLS using 
ffmpeg:


fmpeg -re -i input.aac -b:a:0 128k -af volume=6dB -ar 48000 -hls_time 20 -vn 
-hls_list_size 0 -b:a:1 256k -af volume=6dB -ar 48000  -hls_time 20 -vn 
-hls_list_size 0     -map 0:a -map 0:a -f hls -var_stream_map 
"a:0,agroup:aud_low a:1,agroup:aud_high" -master_pl_name index.m3u8 
index_%v.m3u8

This lets me get 1 master manifest and 2 child manifests, which are playable on 
android. However, this does not play on desktop using chrome. I found these 2 
lines in master manifest that seem to cause the issue. When manually removed, 
it plays perfectly.


#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,URI="master0.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_1",DEFAULT=YES,URI="master1.m3u8"

Is there a way to encode audio in multibitrate that avoids this issue?


_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to