# 📼 Python FFmpeg - Video Streaming [![Downloads](https://pepy.tech/badge/python-ffmpeg-video-streaming)](https://pepy.tech/project/python-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 **[Full Documentation](https://www.quasarstream.com/op/python/ffmpeg-streaming/)** is available describing all features and components. ## Basic Usage ```python from ffmpeg_streaming import Formats, Bitrate, Representation, Size _360p = Representation(Size(640, 360), Bitrate(276 * 1024, 128 * 1024)) _480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024)) _720p = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024)) hls = video.hls(Formats.h264()) hls.representations(_360p, _480p, _720p) hls.output('/var/media/hls.m3u8') ``` ## 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](https://github.com/quasarstream/python-ffmpeg-video-streaming/blob/master/CONTRIBUTING.md)** guide for detailed instructions on how to get involved. Together, we can make a significant impact. Made with [contrib.rocks](https://contrib.rocks). ## License The MIT License (MIT). See **[License File](https://github.com/quasarstream/python-ffmpeg-video-streaming/blob/master/LICENSE)** for more information.