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

Fund package maintenance!
php-webrtc

v1.0.0 2025-05-12 20:57 UTC

This package is auto-updated.

Last update: 2025-05-12 21:02:58 UTC


README

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.