aminyazdanpanah / php-ffmpeg-video-streaming
📼 PHP FFMpeg - Video Streaming - DASH, HLS http://video.aminyazdanpanah.com
Fund package maintenance!
quasarstream
Patreon
Open Collective
Installs: 204 367
Dependents: 3
Suggesters: 1
Security: 0
Stars: 527
Watchers: 23
Forks: 120
Open Issues: 9
Requires
- php: ^7.2 || ^8.0 || ^8.1 || ^8.2 || ^8.3
- php-ffmpeg/php-ffmpeg: ^0.15 || 0.16 || 0.17 || 0.18 || 0.19 || ^1.0 || ^1.1 || ^1.2
- symfony/filesystem: ^4.0 || ^5.0 || ^6.0
Requires (Dev)
- aws/aws-sdk-php: ^3.0@dev
- google/cloud-storage: dev-main
- microsoft/azure-storage-blob: dev-master
- phpunit/phpunit: ^8.4
Suggests
- aminyazdanpanah/handling-file-uploads: aminyazdanpanah/handling-file-uploads is suggested for uploading and validating a new video.
- aminyazdanpanah/php-shaka: aminyazdanpanah/php-shaka is suggested for using DRM and encryption
- aws/aws-sdk-php: Allow sending stream content to AWS services like S3
- google/cloud-storage: Allow sending stream content to Google services like Google Storage
- microsoft/azure-storage-blob: Allow sending stream content to Google services like Google Storage
- dev-master
- v1.2.18
- v1.2.17
- v1.2.16
- v1.2.15
- v1.2.14
- v1.2.12
- v1.2.11
- v1.2.9
- v1.2.7
- v1.2.0
- v1.1.58
- v1.1.56
- v1.1.55
- v1.1.54
- v1.1.53
- v1.1.51
- v1.1.50
- v1.1.49
- v1.1.48
- v1.1.47
- v1.1.46
- v1.1.45
- v1.1.44
- v1.1.43
- v1.1.42
- v1.1.41
- v1.1.39
- v1.1.38
- v1.1.37
- v1.1.36
- v1.1.35
- v1.1.34
- v1.1.33
- v1.1.32
- v1.1.31
- v1.1.30
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0
- dev-aminyazdanpanah-patch-1-1
- dev-aminyazdanpanah-patch-1
- dev-shalmor-patch-1
- dev-renovate/pin-dependencies
- dev-add-code-of-conduct-1
This package is auto-updated.
Last update: 2025-03-13 21:53:49 UTC
README
This package utilizes FFmpeg to bundle media content for online streaming, including DASH and HLS. Additionally, it provides the capability to implement DRM 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
Full Documentation is available describing all features and components.
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
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
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 | Book Free Demo | |
Get | GET | CONTACT US | |
We tailor OTT platforms to exact client specifications, offering flexible and affordable pricing. |
Contributors
Your contribution is crucial to our success, regardless of its size. We appreciate your support and encourage you to read our CONTRIBUTING guide for detailed instructions on how to get involved. Together, we can make a significant impact.
Made with contrib.rocks.
License
The MIT License (MIT). See License File for more information.