[FFmpeg-devel] [PATCH 1/1] Added avs2 tags for MKV
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Aug 19 13:16:41 EEST 2020
Ze Yuan:
>>> The ordinary versions of these players don't use libavformat's Matroska
>>> demuxer at all, so I presume that your patch intends to fix the problem
>>> by changing how the files are muxed.
>
> Right. Without avs2 tag, MKV will use AVI compatible mode automatically I think.
>
>>> Matroska does not support AVS2 natively at all atm. If you want to
>>> change that, you should open an issue/pull request at [1]. And you
>>> should refrain from already creating such files (or use a CodecID like
>>> "V_AVS2/EXPERIMENTAL"). As long as there is no official support for AVS2
>>> in Matroska, there won't be support for it in FFmpeg.
>
> I think we can still try. It seems HEVC was supported by many tools before MKV mapping added. Also the encoder (ffmpeg) and the popular players(ffplay/vlc/mpc-hc) all work perfectly with this change.
>
For a long time, MKVToolNix de-facto set the standards for how to mux
certain codecs into Matroska and other tools (like FFmpeg) simply
followed its lead. This was never how it was supposed to happen, but it
was necessary to get things done. But times have changed and today a
codec mapping is a prerequisite for adding support for a codec.
- Andreas
More information about the ffmpeg-devel
mailing list