[vlc-devel] [PATCH 3/5] avcodec: fourcc: add av1 mapping

Tristan Matthews tmatth at videolan.org
Mon Dec 18 16:10:52 CET 2017


Needed to mux AV1 using libavformat's IVF muxer.
IVF muxing for AV1 was added to ffmpeg in
commit e8f0a463b0d27a4d74c0d9f1857e72a8033d1069.
---
 modules/codec/avcodec/fourcc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 3394920ad4..f16aa88a8d 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -223,6 +223,7 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
     { VLC_CODEC_CLLC, AV_CODEC_ID_CLLC },
     { VLC_CODEC_MSS2, AV_CODEC_ID_MSS2 },
     { VLC_CODEC_VP9, AV_CODEC_ID_VP9 },
+    { VLC_CODEC_AV1, AV_CODEC_ID_AV1 },
     { VLC_CODEC_ICOD, AV_CODEC_ID_AIC },
     /* AV_CODEC_ID_ESCAPE130 */
     { VLC_CODEC_G2M4, AV_CODEC_ID_G2M },
-- 
2.15.1



More information about the vlc-devel mailing list