2.3 KiB
2.3 KiB
Twitch Archive
Inspired by https://github.com/EnterGin/Auto-Stream-Recording-Twitch
Python script to check, download live stream, VOD, chat and upload them to any cloud storage supported by rclone.
⚡ FFmpeg 8.0 Enhanced
Now with FFmpeg 8.0+ support featuring hardware acceleration and performance improvements!
- 5-10x faster encoding with NVIDIA, Intel, or AMD GPUs
- Docker-ready with Linux builds
- Configurable options for different scenarios
- 📖 See FFMPEG_SETUP.md for detailed setup instructions
Requirements
- Python 3
- Streamlink
- FFmpeg 8.0+ (see FFMPEG_SETUP.md for platform-specific versions)
Getting started
- Install Python 3.x
- Install Streamlink 5.1.x
- If you want to upload to any cloud storage using rclone, configure rclone.
git clone https://github.com/piero0920/Twitch-Archive.gitcd Twitch-Archivepip install -r requirements.txt- Edit the
.env.sampleand rename it to.env
CLIENT-ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CLIENT-SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OAUTH-PRIVATE-TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # optional to record without ADS or download sub-only VODS
- Copy
config.sample.jsontoconfig.jsonand edit it with your settings (username, quality, paths, etc.) - run
Python twitch-archive.pyor for multiple streamersPython twitch-archive.py -u streamer