Skip to content

Twitch VOD/Clip Downloader - Chat Download/Render/Replay

License

Notifications You must be signed in to change notification settings

bessex/TwitchDownloader

 
 

Repository files navigation

Logo

Twitch Downloader

Twitch VOD/Clip/Chat Downloader and Chat Renderer

Report Bug

Chat Render Example

example.mp4

What can it do?

  • Download Twitch VODs
  • Download Twitch Clips
  • Download chat for VODS and Clips, in either a JSON with all the information or a simple text file
  • Use a previously generated JSON chat file to render the chat with FFZ, BTTV and 7TV support (including GIFS)

GUI

Video Demonstration

https://www.youtube.com/watch?v=0W3MhfhnYjk (older version, same concept)

Linux?

Check twitch-downloader-gui on github or on the AUR for a Linux GUI wrapper for the CLI.

MacOS?

No GUI is avaiable for MacOS yet :(

CLI

The CLI is cross platform and performs the main functions of the program. It works on Windows, Linux, and MacOS.*

*Only Intel Macs have been tested

I've never really made a command line utility before so things may change in the future. If you're on Linux, make sure fontconfig and libfontconfig1 are installed (apt-get install fontconfig libfontconfig1).

For example, you could copy/paste this into a .bat file on Windows, to download a VOD, chat, and then render in a single go.

@echo off
set /p vodid="Enter VOD ID: "
TwitchDownloaderCLI.exe videodownload --id %vodid% --ffmpeg-path "ffmpeg.exe" -o %vodid%.mp4
TwitchDownloaderCLI.exe chatdownload --id %vodid% -o %vodid%_chat.json
TwitchDownloaderCLI.exe chatrender -i %vodid%_chat.json -h 1080 -w 422 --framerate 30 --update-rate 0 --font-size 18 -o %vodid%_chat.mp4

Linux – Getting started

  1. Go to Releases and download the latest version for Linux.
  2. Extract TwitchDownloaderCLI
  3. Browse to where you extracted the file and give it executable rights in Terminal:
sudo chmod +x TwitchDownloaderCLI
  1. If you do not have ffmpeg, you should install it via your distro package manager, however you can also get it as a standalone file from ffmpeg.org or by using TwitchDownloaderCLI:
./TwitchDownloaderCLI ffmpeg --download

If downloaded as a standalone file, you must also give it executable rights with:

sudo chmod +x ffmpeg
  1. You can now start using the downloader, for example:
./TwitchDownloaderCLI videodownload --id <vod-id-here> -o out.mp4

For Arch Linux, there's an AUR Package

MacOS – Getting started

  1. Go to Releases and download the latest version for MacOS.
  2. Extract TwitchDownloaderCLI
  3. Browse to where you extracted the file and give it executable rights in Terminal:
chmod +x TwitchDownloaderCLI
  1. If you do not have ffmpeg, you can install it via Homebrew package manager, or you can get it as a standalone file from ffmpeg.org or by using TwitchDownloaderCLI:
./TwitchDownloaderCLI ffmpeg --download

If downloaded as a standalone file, you must also give it executable rights with:

chmod +x ffmpeg
  1. You can now start using the downloader, for example:
./TwitchDownloaderCLI videodownload --id <vod-id-here> -o out.mp4

License

MIT

About

Twitch VOD/Clip Downloader - Chat Download/Render/Replay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 56.1%
  • HTML 43.9%