[FFmpeg-cvslog] avformat/mpegts: add support for ATSC E-AC-3 streams
Scott Theisen
git at videolan.org
Thu Nov 21 02:04:20 EET 2024
ffmpeg | branch: master | Scott Theisen <scott.the.elm at gmail.com> | Thu Nov 14 14:57:01 2024 -0500| [be784e95ac5cd720fb0da0f13841b0fdf4f90391] | committer: Marton Balint
avformat/mpegts: add support for ATSC E-AC-3 streams
ATSC A/52:2018 Digital Audio Compression (AC-3, E-AC-3), Annex G
defines stream_type 0x87 for E-AC-3 bit streams.
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be784e95ac5cd720fb0da0f13841b0fdf4f90391
---
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 },
};
More information about the ffmpeg-cvslog
mailing list