The ffmpeg manual states that:

libvpx-vp9 is the VP9 video encoder for ​WebM, an open, royalty-free media file format.

What is the difference between the VP9 and WebM?

1 Answer 1


VP9 is a video format. Another example is H.264.

WebM is a container format that VP9 goes into. It is equivalent to the MP4 container format for the H.264 video format.

libvpx is a video encoder (or codec) which outputs the VP8 or VP9 video formats. Another encoder example is x264 which outputs the H.264 video format.

  • 2
    Note that codec can typically be put in multiple containers, and a container can typically accept multiple codecs.
    – Gyan
    May 10, 2019 at 5:12
  • Since I don't do video work frequently, I always forget this important distinction. I wish I had a cheat-sheet showing what goes with what. Aug 10, 2019 at 17:02
  • 1
    @LonnieBest Comparison of video container formats might be helpful.
    – llogan
    Aug 19, 2019 at 17:33

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.