[Matroska-devel] mkclean: update webm codec check

Steve Lhomme slhomme at matroska.org
Fri May 26 13:44:49 CEST 2017


Hello,

The code to handle this has already been done but there was no release
since then. Maybe it's time to do one.

https://github.com/Matroska-Org/foundation-source/commit/c14e5c74d89a2a54ccdf9072078cdb615006a973

2017-05-24 17:26 GMT+02:00 Cyril Marlin <cyril.marlin at ubisoft.com>:
> Hello,
>
> 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"))) )))
>
>
>
> Regards,
>
>
>
> Cyril Marlin
>
>
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane:
> http://dir.gmane.org/gmane.comp.multimedia.matroska.devel



-- 
Steve Lhomme
Matroska association Chairman


More information about the Matroska-devel mailing list