FastAPI and Celery pipeline for bulk video transcode - to simulate YouTube uploads.
This repository is a part of my blog on Distributed Computing with Python: Unleashing the Power of Celery for Scalable Applications. Follow it for detailed instructions.
docker compose upOnce the containers are stated, Redis will be available at redis://localhost:6379 and RabbitMQ will be available at rabbitmq://localhost:5672
sudo apt install ffmpeg # Assuming ubuntu / debian systemFor other os, please follow the official guide.
python -m venv venv
source venv/bin/activatepip install -r requirements.txtfastapi run api.pycelery -A celery_worker worker