PHP FFmpeg Video Streaming Docs

📼 Package media content for online streaming(DASH and HLS) using FFmpeg

Getting started is easy!

This package provides integration with PHP-FFMpeg and package media content for online streaming such as DASH and HLS. You can also use DRM for HLS packaging. There are several options to open a file from clouds and save files to them as well.

A complete example is provided. It contains server-side(Transcoding + cloud + progress + web socket) and client-side(progress bar + web socket + player).

NOTE: For using DRM and encryption, I strongly recommend to try Shaka PHP, which is a great tool for this use case.

Quick Start

Installation, Usage, Players, and Examples

Components

Classes, Methods, and ERD Diagrams

License & Credits

License & Credits of The Package

Synopsis

1. Open a video file from a local path or a cloud.
2. Package media content(create HLS or Dash files).
3. Save files to your local machine or a cloud(you can save to multiple clouds as well) or both.
4. Save metadata to your local machine
5. Play your stream by passing a manifest to a player.

If you like this project, please ⭐️ Star it on the Github.