📼 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