This software allows you to stream to multiple platforms simultaneously using FFmpeg and a local NGINX server.
-
Install FFmpeg:
- Windows: Download from FFmpeg official website
- macOS:
brew install ffmpeg
- Linux:
sudo apt-get install ffmpeg
-
Verify installation:
ffmpeg -version
-
Install NGINX:
- Windows: Download from NGINX official website
- macOS:
brew install nginx
- Linux:
sudo apt-get install nginx
-
Configure NGINX:
- Open the NGINX configuration file (usually located at
/etc/nginx/nginx.conf
orC:\nginx\conf\nginx.conf
) - Add the following server blocks:
server { listen 1935; application landscape { live on; } } server { listen 1935; application portrait { live on; } }
- Open the NGINX configuration file (usually located at
-
Start NGINX:
- Windows: Run
nginx.exe
- macOS/Linux:
sudo nginx
- Windows: Run
Install the following Python packages:
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client
pip install twitchAPI
pip install pyperclip
pip install webbrowser
pip install python-ffmpeg
-
Run the script:
python main.py
-
Select one or more streaming platforms when prompted.
-
Follow the instructions in the terminal to set up your streams.
If you're having trouble with stream keys or URLs, make sure to wrap them in quotes when pasting into the terminal. For example:
Enter your stream key: "your_stream_key_here"
If FFmpeg doesn't recognize the "preset" option (or another option), try reinstalling FFmpeg:
- Uninstall the current FFmpeg installation.
- Download and install the latest version from the official website.
If the issue persists, you may need to build FFmpeg from source with libx264 support:
-
Clone the FFmpeg repository:
git clone https://git.ffmpeg.org/ffmpeg.git
-
Navigate to the FFmpeg directory:
cd ffmpeg
-
Configure the build with libx264 support:
./configure --enable-libx264
-
Build and install:
make sudo make install
TikTok streaming support will be added as a platform in a future update.