/obs-autoupload

Automatically upload your VODs to YouTube when your stream ends. No longer maintained.

Primary LanguageGoMIT LicenseMIT

obs-autoupload

Automatically upload your VODs to YouTube when your stream ends!

Prerequisites:

  • OBS
  • Twitch API credentials
  • Google OAuth2 credentials

Features:

  • 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

Setup:

  1. Download an unzip the latest release for your system.
  2. Create a file config.toml based on config.template.toml and provide your configuration.
  3. Twitch credentials.
    1. Create an application in the Twitch Developer Console.
    2. Create a file .credentials/twitch_secrets.toml based on .credentials/twitch_secrets.template.toml. and provide your client id and secret.
  4. Google credentials.
    1. Create a project in the Google Cloud Console.
    2. Add an Oauth 2.0 Client ID.
    3. Create a file .credentials/google_secrets.toml based on .credentials/google_secrets.template.toml.
  5. Add script to OBS.
    1. In OBS, navigate to Tools > Scripts.
    2. In the "Scripts" tab, add "auto_upload.lua".
    3. Copy and paste the location of auto_upload.exe into the "auto_upload.exe path" field.
      • Absolute path, including the filename and extension
  6. 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
  7. The next time you end a stream, your VOD will be uploaded to YouTube!

Having difficulties?

Open an issue and I will respond when I get the chance: https://github.com/Wllew4/obs-autoupload/issues.

Consider supporting free and open source software 💖

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.