PHPackages                             aminyazdanpanah/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. aminyazdanpanah/php-ffmpeg-video-streaming

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

aminyazdanpanah/php-ffmpeg-video-streaming
==========================================

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

v1.3.0(6mo ago)542275.0k—5.6%121[3 PRs](https://github.com/quasarstream/PHP-FFmpeg-video-streaming/pulls)6MITPHPPHP ^7.2 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4CI passing

Since Jan 22Pushed 6mo ago24 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (57)Used By (6)

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

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

[![Total Downloads](https://camo.githubusercontent.com/9b22384f35bbde3c4fe37d036a0199f183c00ea58c7e1b3b49276d03dc09ec0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d696e79617a64616e70616e61682f7068702d66666d7065672d766964656f2d73747265616d696e672e7376673f7374796c653d666c6174)](https://packagist.org/packages/aminyazdanpanah/php-ffmpeg-video-streaming)

[![](https://github.com/quasarstream/quasarstream.github.io/raw/master/video-streaming/video-streaming-v2.gif?raw=true)](https://github.com/quasarstream/quasarstream.github.io/blob/master/video-streaming/video-streaming-v2.gif?raw=true)

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)

**[Full Documentation](https://www.quasarstream.com/op/php/ffmpeg-streaming/)** is available describing all features and components.

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();
```

Get from Basic and Pro packages for Video Streaming
---------------------------------------------------

[](#get-from-basic-and-pro-packages-for-video-streaming)

[![](https://github.com/quasarstream/quasarstream.github.io/raw/master/video-streaming/video-streaming-screen-hots.gif?raw=true)](https://github.com/quasarstream/quasarstream.github.io/blob/master/video-streaming/video-streaming-screen-hots.gif?raw=true)

Our platform empowers businesses to expand their reach globally by delivering exceptional video streaming experiences. Enjoy unmatched reliability, scalability, and high-definition quality across a diverse range of devices, ensuring your content captivates audiences worldwide.

### Plans

[](#plans)

   Features / Plans Basic Pro     **Authentication** ✅ ✅   **Access-control list** (ACL) ✅ ✅   **Video On-Demand** (HLS and DASH) ✅ ✅   **HLS Encryption**(Single key and key rotation) ✅ ✅   **Video Quality Settings**: Manually Choose from 144p to 4k or auto mode ✅ ✅   **Real-Time Progress Monitoring**: progress bar to display the live upload and transcoding progress ✅ ✅   **Dark and light theme** ✅ ✅   **Live Streaming**: From Browser Webcam, IP Cameras, Live Streaming Software ⛔️ ✅   **Bespoke player design**: Crafted to perfectly align with your brand identity and user preferences. ⛔️ ✅   **Add Subtitles and Audios**: add different subtitle and audio files to stream ⛔️ ✅   **Monetization**: Subscriptons/pay-per-view/ads ⛔️ ✅   **Advanced Analytics**: Views/Watched hours/Visited countries and more ⛔️ ✅   **Robust DRM Systems**: Widevine, FairPlay Streaming and PlayReady ⛔️ ✅   **Social Media Integration**: Like, Comment, Share and embed videos ⛔️ ✅   **Cloud-based CDN**: Accelerates content delivery worldwide through integration with major cloud storage providers such as Amazon S3, Google Cloud Storage, and Microsoft Azure. ⛔️ ✅   **Tailored features**: We can integrate any specific functionality you require into your platform. ⛔️ ✅   **Support** 3 Months Customizable   **Online Demo**  **[ See Online Demo](https://quasarstream.com/vs-demo?s=php&u=php-ffmpeg)**   **[ Book Free Demo](https://quasarstream.com/book-demo?u=php-ffmpeg)**    **Get**  **[ GET ](https://quasarstream.com/video-streaming-basic?s=php&u=php-ffmpeg)**   **[ CONTACT US](https://quasarstream.com/contact?u=php-ffmpeg)**       We tailor OTT platforms to exact client specifications, offering flexible and affordable pricing.

Contributors
------------

[](#contributors)

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

67

—

FairBetter than 100% of packages

Maintenance67

Regular maintenance activity

Popularity58

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.3% 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

Every ~49 days

Recently: every ~300 days

Total

51

Last Release

196d ago

PHP version history (6 changes)v1.0PHP ^7.1.0

v1.1.25PHP ^7.1

v1.1.38PHP ^7.2

v1.2.14PHP ^7.2 || ^8.0

v1.2.18PHP ^7.2 || ^8.0 || ^8.1 || ^8.2 || ^8.3

v1.2.19PHP ^7.2 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/a73aaac753c327bdc55306a38bb829db7a8435ef17a742d94f2917bbf1bfc12e?d=identicon)[aminyazdanpanah](/maintainers/aminyazdanpanah)

---

Top Contributors

[![aminyazdanpanah](https://avatars.githubusercontent.com/u/3193929?v=4)](https://github.com/aminyazdanpanah "aminyazdanpanah (289 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)")[![finagin](https://avatars.githubusercontent.com/u/11045296?v=4)](https://github.com/finagin "finagin (1 commits)")[![shalmor](https://avatars.githubusercontent.com/u/130914175?v=4)](https://github.com/shalmor "shalmor (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

aws-s3clouddashdash-videodrmffmpeggoogle-cloudgoogle-cloud-storagehlshls-live-streaminghls-packaginghls-videomicrosoft-azurempeg-dashphp-ffmpegphp-packagesvideovideo-streamvideo-streamings3cloudencryptionencodingstreamingvideogoogle cloud storagehlsm3u8dashvideo streamingmp4MPDamazons3mpeg-dashDRMclearkeylive-streaminghttp-liv-streamingcloudsadaptive-http-streamingdynamic-adaptive-streaming-over-httpmicrosoft-azurekey-rotation

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

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

6.2k511.3M2.2k](/packages/aws-aws-sdk-php)[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[bitmovin/bitmovin-php

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

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

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

73403.7k3](/packages/mostafaznv-larupload)[aws/aws-sdk-php-resources

A resource-oriented API for interacting with AWS services

1381.8M10](/packages/aws-aws-sdk-php-resources)[aminyazdanpanah/php-shaka

Shaka PHP is a library that uses Shaka Packager for DASH and HLS packaging and encryption, supporting Common Encryption for Widevine and other DRM Systems.

939.0k1](/packages/aminyazdanpanah-php-shaka)

PHPackages © 2026

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