Automatically upload your VODs to YouTube when your stream ends!
- OBS
- Twitch API credentials
- Google OAuth2 credentials
- Automatically starts an upload when you "Stop Streaming"
- Prompts for confirmation before uploading
- Uses your stream title and other metadata from Twitch
- Highly configurable
- Open source (you're free to make modifications)
- Can automatically add VODs to a YouTube playlist
- Can delete or move your old VODs to an archive directory
- Download an unzip the latest release for your system.
- Create a file
config.toml
based onconfig.template.toml
and provide your configuration. - Twitch credentials.
- Create an application in the Twitch Developer Console.
- Create a file
.credentials/twitch_secrets.toml
based on.credentials/twitch_secrets.template.toml
. and provide your client id and secret.
- Google credentials.
- Create a project in the Google Cloud Console.
- Add an Oauth 2.0 Client ID.
- Create a file
.credentials/google_secrets.toml
based on.credentials/google_secrets.template.toml
.
- Add script to OBS.
- In OBS, navigate to Tools > Scripts.
- In the "Scripts" tab, add "auto_upload.lua".
- Copy and paste the location of auto_upload.exe into the "auto_upload.exe path" field.
- Absolute path, including the filename and extension
- Make sure OBS is set to record video to your disk while you stream!
- If you use the same encoder for recording and streaming, this shouldn't cause a significant performance hit
- The next time you end a stream, your VOD will be uploaded to YouTube!
Open an issue and I will respond when I get the chance: https://github.com/Wllew4/obs-autoupload/issues.
If this script becomes part of your workflow, consider supporting free and open source software by throwing a dollar or two my way on ko-fi.