Stream m3u8 content to Twitch effortlessly with this Python script. Enter your Twitch stream key and the M3U8 stream URL, and the script handles the rest. It uses Streamlink and FFmpeg for a seamless streaming experience.
A Python script for streaming video content to Twitch using an M3U8 stream URL.
This Python script allows you to stream video content to Twitch using your Twitch stream key and an M3U8 stream URL.
Ensure that you have FFmpeg installed on your system as well.
- Clone this repository:
git clone https://github.com/TenPassion/twitchm3u8.git
cd twitchm3u8
- You need to install the necessary dependencies. You can do this using
pip
:
pip install -r requirements.txt
- Run the script:
python twitchm3u8.py
-
Follow the on-screen prompts to enter your Twitch stream key and the M3U8 stream URL.
-
Press Enter to start streaming.
We welcome contributions to this project! If you'd like to contribute, please follow these steps:
-
Fork the repository to your own GitHub account.
-
Clone the forked repository to your local machine:
git clone https://github.com/TenPassion/twitchm3u8.git
cd twitchm3u8
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Make your changes and commit them:
git add .
git commit -m "Description of your changes"
- Push your changes to your forked repository:
git push origin feature-name
-
Create a Pull Request (PR) from your forked repository to the main repository on GitHub.
-
We'll review your PR and merge it if everything looks good!
The code in this project is licensed under the MIT License.
For the full text of the MIT License, please visit LICENSE.