Some other containers for AV1, in particular ivf, use a different capitalization of the AV1 codec tag. When these files are remuxed into mp4, they result in invalid files.
This patch normalizes the tag by forcing its lookup in ff_codec_movvideo_tags. --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d530f40cab..ff36e1376c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1542,7 +1542,8 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track) { int tag = track->par->codec_tag; - if (!tag || (s->strict_std_compliance >= FF_COMPLIANCE_NORMAL && + if (!tag || track->par->codec_id == AV_CODEC_ID_AV1 || + (s->strict_std_compliance >= FF_COMPLIANCE_NORMAL && (track->par->codec_id == AV_CODEC_ID_DVVIDEO || track->par->codec_id == AV_CODEC_ID_RAWVIDEO || track->par->codec_id == AV_CODEC_ID_H263 || -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel