This document is also available in:
- Italian / Italiano
- Japanese / 日本語
- Portuguese (Brazil) / Português (Brasil)
- Russian / Русский
- Spanish / Español
- Turkish / Türkçe
- Simplified Chinese / 简体中文(中国大陆)
- Traditonal Chinese / 繁體中文(台灣)
example.mp4
- Download Twitch VODs
- Download Twitch Clips
- Download chat for VODs and Clips, in either a JSON with all the original information, a browser HTML file, or a plain text file
- Update the contents of a previously generated JSON chat file with an option to save as another format
- Use a previously generated JSON chat file to render the chat with Twitter Twemoji or Google Noto Color emojis and BTTV, FFZ, 7TV static and animated emotes
The Windows WPF GUI implements all of the main functions of the program along with some extra quality of life functions:
- Queue up multiple download/render jobs to run simultaneously
- Create a list of download jobs from a list of vod/clip links
- Search for and download multiple VODs/clips from any streamer without leaving the app
The Windows WPF GUI is available in multiple languages thanks to community translations. See the Localization section of the WPF README for more details.
The Windows WPF GUI comes bundled with both light and dark themes, along with an option to update live according the current Windows theme. It also supports user created themes! See the Theming section of the WPF README for more details.
https://www.youtube.com/watch?v=0W3MhfhnYjk (older version, same concept)
Check twitch-downloader-gui on github or on the AUR for a Linux GUI wrapper for the CLI.
No GUI is available for MacOS yet :(
The CLI is cross-platform and implements the main functions of the program. It works on Windows, Linux, and MacOS*.
*Only Intel Macs have been tested
With the CLI, it is possible to automate video processing using external scripts. For example, you could copy-paste the following code into a .bat
file on Windows to download a VOD and its chat, and then render the chat, all from a single input.
@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 -E
TwitchDownloaderCLI.exe chatrender -i %vodid%_chat.json -h 1080 -w 422 --framerate 30 --update-rate 0 --font-size 18 -o %vodid%_chat.mp4
- Go to Releases and download the latest version for Windows or build from source.
- Extract
TwitchDownloaderCLI.exe
. - Browse to where you extracted the executable:
cd C:\folder\containing\TwitchDownloaderCLI
- If you do not have FFmpeg, you can install it via Chocolatey package manager, or you can get it as a standalone file from ffmpeg.org or by using TwitchDownloaderCLI:
TwitchDownloaderCLI.exe ffmpeg --download
- You can now start using TwitchDownloaderCLI, for example:
TwitchDownloaderCLI.exe videodownload --id <vod-id-here> -o out.mp4
You can find more example commands in the CLI README.
- Some distros, like Linux Alpine, lack fonts for some languages (Arabic, Persian, Thai, etc.) If this is the case for you, install additional fonts families such as Noto or check your distro's wiki page on fonts as it may have an install command for this specific scenario, such as the Linux Alpine font page.
- Ensure both
fontconfig
andlibfontconfig1
are installed.apt-get install fontconfig libfontconfig1
on Ubuntu. - Go to Releases and download the latest binary for Linux, grab the AUR Package for Arch Linux, or build from source.
- Extract
TwitchDownloaderCLI
. - Browse to where you extracted the binary:
cd directory/containing/TwitchDownloaderCLI
- Give the binary executable rights:
sudo chmod +x TwitchDownloaderCLI
- a) If you do not have FFmpeg, you should install it system-wide 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
- b) If downloaded as a standalone file, you must also give it executable rights with:
sudo chmod +x ffmpeg
- You can now start using TwitchDownloaderCLI, for example:
./TwitchDownloaderCLI videodownload --id <vod-id-here> -o out.mp4
You can find more example commands in the CLI README.
- If your device has an Apple Silicon M-series processor, ensure that you download the arm64 binary, however if you would like to use the x64 binary on Apple Silicon it must be run via a terminal session running under Rosetta 2:
arch -x86_64 zsh
- Go to Releases and download the latest binary for MacOS or build from source.
- Extract
TwitchDownloaderCLI
. - Browse to where you extracted the binary:
cd directory/containing/TwitchDownloaderCLI
- Give the binary executable rights in the terminal:
chmod +x TwitchDownloaderCLI
- a) If you do not have FFmpeg, you can install it system-wide via the Homebrew package manager, or you can get it as a standalone file from ffmpeg.org or by using TwitchDownloaderCLI:
./TwitchDownloaderCLI ffmpeg --download
- b) If downloaded as a standalone file, you must also give it executable rights with:
chmod +x ffmpeg
- You can now start using TwitchDownloaderCLI, for example:
./TwitchDownloaderCLI videodownload --id <vod-id-here> -o out.mp4
You can find more example commands in the CLI README.
- .NET 6.0.x SDK
- About 1GB of disk space
- Clone the repository:
git clone https://github.com/lay295/TwitchDownloader.git
- Navigate to the solution folder:
cd TwitchDownloader
- Restore the solution:
dotnet restore
- Non-Windows devices may need to explicitly specify a project to restore, i.e.
dotnet restore TwitchDownloaderCLI
- a) Build the GUI:
dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows
- b) Build the CLI:
dotnet publish TwitchDownloaderCLI -p:PublishProfile=<Profile>
- Applicable Profiles:
Windows
,Linux
,LinuxAlpine
,LinuxArm
,LinuxArm64
,MacOS
,MacOSArm64
- a) Navigate to the GUI build folder:
cd TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64
- b) Navigate to the CLI build folder:
cd TwitchDownloaderCLI/bin/Release/net6.0/publish
Chat Renders are rendered with SkiaSharp and HarfBuzzSharp © Microsoft Corporation.
Chat Renders are encoded and Video Downloads are finalized with FFmpeg © The FFmpeg developers.
Chat Renders may use Noto Color Emoji © Google and contributors.
Chat Renders may use Twemoji © Twitter and contributors.
Bundled FFmpeg binaries are fetched from gyan.dev © Gyan Doshi.
FFmpeg binaries fetched are runtime are downloaded using Xabe.FFmpeg.Downloader © Xabe.
Chat Html exports utilize the Inter typeface hosted by the Google Fonts API © Google.
For a full list of utilized external libraries, see THIRD-PARTY-LICENSES.txt.
TwitchDownloader is in no way associated with Twitch Interactive, Inc. or its affiliates.