[Matroska-devel] mkclean: update webm codec check

Cyril Marlin cyril.marlin at ubisoft.com
Wed May 24 17:26:48 CEST 2017

Using the v0.8.7 (windows) of mkclean on a webm with vp9 codec the tool fails with this message :
"Wrong codec 'V_VP9' for profile 'webm' removing track 1"

After looking at the code (mkclean.c line 1229) it seems that webm check codecs are V_VP8 & A_VORBIS

Webm allow now 2 more codecs (https://www.webmproject.org/docs/container/) : VP9 & OPUS, so I suggest to update this line with:

             if (!(TrackType==TRACK_TYPE_VIDEO && (tcsisame_ascii(CodecID,T("V_VP8")) || tcsisame_ascii(CodecID, T("V_VP9")))
                || (TrackType==TRACK_TYPE_AUDIO && (tcsisame_ascii(CodecID,T("A_VORBIS")) || tcsisame_ascii(CodecID, T("A_OPUS"))) )))


Cyril Marlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20170524/ee4160b2/attachment.html>

More information about the Matroska-devel mailing list