video-service
video-service is a Python-based microservice designed for scalable video streaming processing. Built on Python 3.9.2 and FFmpeg 4.1, it leverages a multi-stage Docker build to minimize footprint while supporting HLS, MPEG-DASH, and HLS with fmp4 segments (CMAF) to reduce storage and processing costs by up to 50%. The service utilizes gRPC for low-latency, high-throughput communication and integrates with any S3-compatible object storage like Minio for media management. Key features include custom multi-output encoding with flexible codecs and qualities, real-time tracking of job status from checking to uploading, and detailed resource usage metrics including CPU and memory consumption for billing purposes. It supports asynchronous task management via Celery with Redis or RabbitMQ backends, allowing for robust retry logic and independent failure recovery. Administrators can force-stop jobs, revoke specific outputs, generate thumbnails at custom timestamps, and add watermarks. The system returns pre-processed v