PHPackages                             sidgrafix/php-ffmpeg-video-streaming - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. sidgrafix/php-ffmpeg-video-streaming

ActiveLibrary[File &amp; Storage](/categories/file-storage)

sidgrafix/php-ffmpeg-video-streaming
====================================

PHP FFMpeg - Video Streaming - DASH, HLS

v0.3.2(2mo ago)02MITPHPPHP ^8.3 || ^8.4

Since Apr 8Pushed 2mo agoCompare

[ Source](https://github.com/sidgrafix/PHP-FFmpeg-video-streaming)[ Packagist](https://packagist.org/packages/sidgrafix/php-ffmpeg-video-streaming)[ Docs](https://github.com/sidgrafix/PHP-FFmpeg-video-streaming)[ GitHub Sponsors](https://github.com/quasarstream)[ Fund](https://opencollective.com/hadronepoch)[ RSS](/packages/sidgrafix-php-ffmpeg-video-streaming/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

📼 PHP FFmpeg - Video Streaming
==============================

[](#-php-ffmpeg---video-streaming)

This package utilizes **[FFmpeg](https://ffmpeg.org)** to bundle media content for online streaming, including DASH and HLS. Additionally, it provides the capability to implement **[DRM](https://en.wikipedia.org/wiki/Digital_rights_management)** for HLS packaging. The program offers a range of options to open files from cloud storage and save files to cloud storage as well.

Documentation
-------------

[](#documentation)

Basic Usage
-----------

[](#basic-usage)

```
use Streaming\Representation;

$r_360p  = (new Representation)->setKiloBitrate(276)->setResize(640, 360);
$r_480p  = (new Representation)->setKiloBitrate(750)->setResize(854, 480);
$r_720p  = (new Representation)->setKiloBitrate(2048)->setResize(1280, 720);

$video->hls()
    ->x264()
    ->addRepresentations([$r_360p, $r_480p, $r_720p])
    ->save();
```

Contributors (prior to fork)
----------------------------

[](#contributors-prior-to-fork)

Your contribution is crucial to our success, regardless of its size. We appreciate your support and encourage you to read our **[CONTRIBUTING](https://github.com/quasarstream/php-ffmpeg-video-streaming/blob/master/CONTRIBUTING.md)**guide for detailed instructions on how to get involved. Together, we can make a significant impact.

[ ![](https://camo.githubusercontent.com/57a6f1015ef471ecf18cd1e8e9b7f390bc2ac9b67fe1292118a11e9c6cf3bb29/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d71756173617273747265616d2f7068702d66666d7065672d766964656f2d73747265616d696e67)](https://github.com/quasarstream/php-ffmpeg-video-streaming/graphs/contributors)Made with [contrib.rocks](https://contrib.rocks).

License
-------

[](#license)

The MIT License (MIT). See **[License File](https://github.com/quasarstream/php-ffmpeg-video-streaming/blob/master/LICENSE)** for more information.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance85

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

80d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27649881?v=4)[sidgrafix](/maintainers/sidgrafix)[@sidgrafix](https://github.com/sidgrafix)

---

Top Contributors

[![aminyazdanpanah](https://avatars.githubusercontent.com/u/3193929?v=4)](https://github.com/aminyazdanpanah "aminyazdanpanah (289 commits)")[![sidgrafix](https://avatars.githubusercontent.com/u/27649881?v=4)](https://github.com/sidgrafix "sidgrafix (13 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (8 commits)")[![skyeewers](https://avatars.githubusercontent.com/u/13334117?v=4)](https://github.com/skyeewers "skyeewers (5 commits)")[![b-vadym](https://avatars.githubusercontent.com/u/17161498?v=4)](https://github.com/b-vadym "b-vadym (3 commits)")[![mashsajid](https://avatars.githubusercontent.com/u/39876693?v=4)](https://github.com/mashsajid "mashsajid (2 commits)")[![digilist](https://avatars.githubusercontent.com/u/833667?v=4)](https://github.com/digilist "digilist (2 commits)")[![shalmor](https://avatars.githubusercontent.com/u/130914175?v=4)](https://github.com/shalmor "shalmor (1 commits)")[![finagin](https://avatars.githubusercontent.com/u/11045296?v=4)](https://github.com/finagin "finagin (1 commits)")[![edicleoberners](https://avatars.githubusercontent.com/u/103130692?v=4)](https://github.com/edicleoberners "edicleoberners (1 commits)")[![taochangle](https://avatars.githubusercontent.com/u/7435144?v=4)](https://github.com/taochangle "taochangle (1 commits)")

---

Tags

s3cloudencryptionencodingstreamingvideogoogle cloud storagehlsm3u8dashvideo streamingmp4MPDamazons3mpeg-dashDRMclearkeylive-streaminghttp-liv-streamingcloudsadaptive-http-streamingdynamic-adaptive-streaming-over-httpmicrosoft-azurekey-rotation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sidgrafix-php-ffmpeg-video-streaming/health.svg)

```
[![Health](https://phpackages.com/badges/sidgrafix-php-ffmpeg-video-streaming/health.svg)](https://phpackages.com/packages/sidgrafix-php-ffmpeg-video-streaming)
```

###  Alternatives

[aminyazdanpanah/php-ffmpeg-video-streaming

📼 PHP FFMpeg - Video Streaming - DASH, HLS http://video.aminyazdanpanah.com

537283.3k9](/packages/aminyazdanpanah-php-ffmpeg-video-streaming)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[league/flysystem

File storage abstraction for PHP

13.6k665.7M2.4k](/packages/league-flysystem)[bitmovin/bitmovin-php

PHP-Client which enables you to seamlessly integrate the Bitmovin API into your existing projects

2059.5k](/packages/bitmovin-bitmovin-php)[mostafaznv/larupload

Larupload is a ORM based file uploader for laravel to upload image, video, audio and other known files.

75441.8k6](/packages/mostafaznv-larupload)[aws/aws-sdk-php-resources

A resource-oriented API for interacting with AWS services

1361.9M13](/packages/aws-aws-sdk-php-resources)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
