Hi! Attached patch does not fix ticket #5501 but it helps the user by producing a useful warning message that suggests to increase analyeduration to allow decoding (this is not possible without the patch). The file starts with 13MB "header" that breaks auto-detection.
I did not check any specification. Please comment, Carl Eugen
From 1b6bb70a198fc664cf61ce7f49b264bf4e6125cc Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceho...@ag.or.at> Date: Tue, 3 May 2016 09:59:02 +0200 Subject: [PATCH] lavf/mpegts: Add E-AC3 stream specifier EAC3. Related to ticket #5501. --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 1f3be96..f780ef5 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -735,6 +735,7 @@ static const StreamType REGD_types[] = { { MKTAG('D', 'T', 'S', '1'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_DTS }, { MKTAG('D', 'T', 'S', '2'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_DTS }, { MKTAG('D', 'T', 'S', '3'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_DTS }, + { MKTAG('E', 'A', 'C', '3'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_EAC3 }, { MKTAG('H', 'E', 'V', 'C'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC }, { MKTAG('K', 'L', 'V', 'A'), AVMEDIA_TYPE_DATA, AV_CODEC_ID_SMPTE_KLV }, { MKTAG('V', 'C', '-', '1'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_VC1 }, -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel