/vpx

A PHP wrapper around the libvpx codec using FFI

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

VPX Adapter for PHP

PHP Version License

Deprecation Notice: This library will be replaced with the AV library in a future update.

A PHP wrapper around the libvpx codec using FFI, providing tools for encoding and decoding VP8/VP9 video streams for WebRTC applications.

Features

  • VP8 and VP9 video codec support
  • Encode raw YUV frames to VPX
  • Decode VPX streams to raw frames
  • FFI bindings to libvpx

Requirements

  • PHP ≥ 8.4 with FFI extension enabled
  • libvpx development libraries
  • Linux environment (Windows/macOS support planned)

Documentation

This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:

PHP WebRTC Documentation

Credits

Authors

Reporting Issues

Found a bug? Please report it on our issues.

License

BSD 3-Clause License. See LICENSE for details.