This Bash script sets up a continuous live stream to YouTube using FFmpeg. It combines a background video, background audio, and music files from a specified directory to create a stream with text overlays for the music titles.
- Seamless looping of background video and audio.
- Overlay music titles onto the background video.
- Adjust background audio volume.
- Mix music audio with background audio.
- Stream the composite video and audio to YouTube Live.
- FFmpeg
- FFprobe
Clone the repository
git clone httpsgithub.comyour-usernameyour-repository.git
Navigate to the project directory
cd your-repository
Set up the required directory structure and place your background video, background audio, and music files accordingly.
Edit the script variables in the script according to your setup, such as stream settings, YouTube settings, file paths, and font settings.
Make the script executable
chmod +x livestream.sh
Run the script
.livestream.sh
The script will continuously loop through the music files in the specified directory, overlaying the titles onto the background video and streaming the output to YouTube Live.
This project is licensed under the MIT License. See the LICENSE file for details.