Which audio codecs are supported for HLS?
Asked Answered
I

1

5

Does HLS protocol specify audio codec? If it does, which are supported?

I've tried to search, but found different lists:

MP3, HE-AAC or AC-3

according to wikipedia

AAC, AAC-LC, HE-AAC (accPlus) v1 & v2, MP3

according to this

AAC-LC, HE-AACV1-2, AC-3, and EC-3

according to FairPlay overview (which is subset of HLS)

Instil answered 22/1, 2017 at 13:38 Comment(1)
Note that AAC-LC, HE-AAC v1, HE-AAC v2 all fit within ADTS, and can be decoded by almost all players. It's all AAC, and can be used with HLS.Cite
A
7

I would refer to the HLS specification. From section 3.4:

Supported Packed Audio formats are AAC with ADTS framing [ISO_13818_7]; MP3 [ISO_13818_3]; AC-3 [AC_3]; and Enhanced AC-3 [AC_3].

Aery answered 22/1, 2017 at 14:52 Comment(1)
Oddly developer.apple.com/documentation/http-live-streaming/… lists Apple Lossless and FLAC, too and links a newer draft even if that does not mention those.Hiss

© 2022 - 2024 — McMap. All rights reserved.