Does MP4 support VP9 codec or is it exclusive to WebM?

2 Answers 2


ffmpeg v4.0.2 or higher can encode/transcode VP9 in mp4.

Commandline (when transcoding): ffmpeg -i INPUT.MKV -c:v libvpx-vp9 OUTPUT.MP4

Commandline (when remuxing (Super fast)): ffmpeg -i INPUT.MKV -c:v copy OUTPUT.MP4

  • Your second command isn't transcoding, it's called remuxing, the process of moving encoded streams from one container to another. Transcoding involves going from one codec to another and requires decoding the source stream and encoding it into the destination stream.
    – Will
    Nov 10, 2020 at 11:15

FFmpeg, a command-line app, can write VP9 streams in MP4s.

Get a static daily/snapshot binary from https://ffmpeg.zeranoe.com/builds/

Basic command is

ffmpeg -i in.mov -c:v vp9 out.mov
  • Getting error: Unknown encoder 'vp9'
    – adityav
    Mar 20, 2017 at 12:28
  • Works here. You got the 20170317 static build, right? Use full form: -c:v libvpx-vp9
    – Gyan
    Mar 20, 2017 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.