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 up
Once 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 system
For other os, please follow the official guide.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
fastapi run api.py
celery -A celery_worker worker