[FFmpeg-devel] [PATCH] libavformat/mpegts.c: add support for ATSC E-AC-3 streams

Scott Theisen scott.the.elm at gmail.com
Thu Nov 14 21:57:01 EET 2024


ATSC A/52:2018 Digital Audio Compression (AC-3, E-AC-3), Annex G
defines stream_type 0x87 for E-AC-3 bit streams.
---
 libavformat/mpegts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 78ab7f7efe..177e610e53 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -847,6 +847,7 @@ static const StreamType SCTE_types[] = {
 /* ATSC ? */
 static const StreamType MISC_types[] = {
     { 0x81, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AC3 },
+    { 0x87, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_EAC3 },
     { 0x8a, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_DTS },
     { 0 },
 };
-- 
2.43.0



More information about the ffmpeg-devel mailing list