python-ffmpeg-video-streaming
Package media content for online streaming(DASH and HLS) using ffmpeg
Downloads & Community Adoption
Health & Engineering Analysis (5 Pillars)
1. Governance & Community200 / 200 ▾
2. PEP Metadata & Packaging200 / 200 ▾
3. Security & Supply Chain150 / 200 ▾
4. Documentation, SEO & Ecosystem155 / 200 ▾
5. Engineering, CI & Quality130 / 200 ▾
Official Documentation & Usage Guide — python-ffmpeg-video-streaming
Show full original documentation (English README) ▾
📼 Python FFmpeg - Video Streaming
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
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
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.