This Python script enables easy streaming of videos from a local folder directly to YouTube Live using FFmpeg.
- Stream videos from a specified folder to YouTube Live.
- Configurable settings for video quality and audio bitrate.
- Automatic handling of supported video formats.
- FFmpeg installed on your system.
-
Clone the repository:
git clone https://github.com/ghosty-tongue/youtube-folder-streamer.git
-
Set your YouTube Live stream key in the
main.py
file:# Replace 'YOUR_STREAM_KEY' with your actual YouTube Live stream key STREAM_KEY = 'YOUR_STREAM_KEY'
-
Place your video files in the specified folder (
videos/
by default). -
Run the script to start streaming:
python main.py
Edit the main.py
file to configure stream settings such as video quality, audio bitrate, and more.
- You can customize the video folder path by modifying the
VIDEO_FOLDER_PATH
variable in the script. - Adjust other settings in the script based on your preferences.
Feel free to contribute, report issues, or enhance the script based on your requirements.
This project is licensed under the MIT License - see the LICENSE file for details.