MAC OS X
Unknown encoder ‘libvpx-vp9’
by admin on Nov.13, 2018, under MAC OS X
The following command converts an mp4 video to webm:
[code]ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 output.webm[/code]
When converting a video to Google’s VP9 video codec format with ffmpeg, one may receive the following error message:
[code]Unknown encoder ‘libvpx-vp9′[/code]
This indicates that FFMPEG was compiled without vpx-vp9 support. If ffmpeg was installed via homebrew, this can be fixed easily:
[code]brew reinstall ffmpeg –with-libvpx[/code]
Afterwards video conversion will start properly.