libvpx

libvpx is a free software video codec library from Google and the Alliance for Open Media (AOMedia)

Latest version: 1.16.0

Add to xmake.lua

add_requires("libvpx 1.16.0")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2026-02-05T03:50:39.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64

Options

codec_srcs
in/exclude codec library source code · Type: boolean · Default: false
libyuv
enable libyuv · Type: boolean · Default: false
postproc
postprocessing · Type: boolean · Default: false
vp8
enable the vp8 codec · Type: boolean · Default: false
vp9
enable the vp9 codec · Type: boolean · Default: false
vp9_highbitdepth
use VP9 high bit depth (10/12) profiles · Type: boolean · Default: false
vp9_post
vp9 specific postprocessing · Type: boolean · Default: false
webm_io
enable input from and output to WebM container · Type: boolean · Default: false

Versions

  • v1.14.1
  • v1.15.0
  • v1.15.1
  • v1.15.2
  • v1.16.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "libvpx 1.16.0"

show info

xrepo info "libvpx"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("libvpx 1.16.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("libvpx")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "libvpx 1.16.0" shell