This repository contains a versatile Python tool for setting up a 24/7 YouTube Livestream using mp3 files and a static image. The project utilizes FFmpeg, a widely-used multimedia framework for handling audio and video streams, Python for efficient execution and runtime optimization, and Docker for streamlined and secure deployment.
- Dockerized for effortless setup and deployment
- Automated management of YouTube livestreams
- Scalable to accommodate multiple streams (Guide coming soon)
- Docker and Docker Compose installed on your machine
- A YouTube API key
- Ensure Docker and Docker Compose are installed on your machine
- Clone this repository to your local machine or server:
[email protected]:nokey-54/FFmpeg-livestream-docker.git
- Edit
docker-compose.yaml
and insert your YouTube API key on line 8 - Navigate to the
stream01/mp3
folder - Replace all existing songs with the ones you wish to stream, adhering to copyright regulations
- Create a new livestream on YouTube
- Execute
docker-compose --compatibility up -d --build --force-recreate
in your terminal/command prompt - Enjoy your livestream!
- Extend support to additional streaming platforms (e.g., Twitch, Facebook)
- Implement Health Check Endpoint for Docker Compose
- Provide an extended single stream guide
- Offer a Docker guide for Windows and Mac users
- Develop a multiple stream guide
- Enhance README with more comprehensive instructions and examples
We welcome contributions! Feel free to submit a Pull Request or open an issue to discuss potential features or enhancements.
This project is licensed under the MIT License.
Generated with ChatGPT