[FFmpeg-devel] [PATCH] avformat/isom_tags: add dav1 tag

James Almer jamrial at gmail.com
Wed Mar 15 20:57:11 EET 2023


Defined by mp4ra as a variant of av01 to signal Dolby Vision.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavformat/isom_tags.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/isom_tags.c b/libavformat/isom_tags.c
index 86c7272525..401a1e96b9 100644
--- a/libavformat/isom_tags.c
+++ b/libavformat/isom_tags.c
@@ -150,6 +150,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
     { AV_CODEC_ID_VP8,  MKTAG('v', 'p', '0', '8') }, /* VP8 */
     { AV_CODEC_ID_VP9,  MKTAG('v', 'p', '0', '9') }, /* VP9 */
     { AV_CODEC_ID_AV1,  MKTAG('a', 'v', '0', '1') }, /* AV1 */
+    { AV_CODEC_ID_AV1,  MKTAG('d', 'a', 'v', '1') }, /* AV1-related Dolby Vision consistent with av01 */
 
     { AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', '1', 'v', ' ') },
     { AV_CODEC_ID_MPEG1VIDEO, MKTAG('m', '1', 'v', '1') }, /* Apple MPEG-1 Camcorder */
-- 
2.39.2



More information about the ffmpeg-devel mailing list