All Projects → ancalentari → Twitch Stream Recorder

ancalentari / Twitch Stream Recorder

Licence: mit
Record twitch streams live!

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Twitch Stream Recorder

Pip Tool
PiP tool is a software to use the Picture in Picture mode on Windows. This feature allows you to watch content (video for example) in thumbnail format on the screen while continuing to use any other software on Windows.
Stars: ✭ 572 (+1295.12%)
Mutual labels:  twitch
Go Twitch
Go library for accessing the Twitch API
Stars: ✭ 19 (-53.66%)
Mutual labels:  twitch
Twitchcsharp
Twitch C# Wrapper for the Twitch v3 REST API
Stars: ✭ 36 (-12.2%)
Mutual labels:  twitch
Docker Nginx Rtmp
🐋 A Dockerfile for nginx-rtmp-module + FFmpeg from source with basic settings for streaming HLS. Built on Alpine Linux.
Stars: ✭ 608 (+1382.93%)
Mutual labels:  twitch
Awesome Developer Streams
👩🏿‍💻👨🏾‍💻👩🏼‍💻👨🏽‍💻👩🏻‍💻 Awesome Developers, Streaming
Stars: ✭ 6,860 (+16631.71%)
Mutual labels:  twitch
Twitch misc
Misc. Twitch bits and pieces
Stars: ✭ 26 (-36.59%)
Mutual labels:  twitch
Twitchlib
C# Twitch Chat, Whisper, API and PubSub Library. Allows for chatting, whispering, stream event subscription and channel/account modification. Supports .NET Core 2.0
Stars: ✭ 519 (+1165.85%)
Mutual labels:  twitch
Essentialnowplaying
A now playing tool intended to be used with OBS.
Stars: ✭ 40 (-2.44%)
Mutual labels:  twitch
Virtualproduction Vrchat
Multicam Virtual Reality Production Rig + Crane + Overlays for VRChat
Stars: ✭ 18 (-56.1%)
Mutual labels:  twitch
Java Twirk
Small, basic library for communication via the Twitch chat. Java 8 compatible
Stars: ✭ 36 (-12.2%)
Mutual labels:  twitch
Superembed.js
Fluid width for YouTube, Vimeo, Vine, VideoPress, DailyMotion, and more embedded videos.
Stars: ✭ 615 (+1400%)
Mutual labels:  twitch
Chatterino2
Chat client for https://twitch.tv
Stars: ✭ 724 (+1665.85%)
Mutual labels:  twitch
Tmi.js
💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
Stars: ✭ 938 (+2187.8%)
Mutual labels:  twitch
Chatty
Twitch Chat Client written in Java
Stars: ✭ 592 (+1343.9%)
Mutual labels:  twitch
Mikuia
a Twitch.tv bot - "legacy" version
Stars: ✭ 37 (-9.76%)
Mutual labels:  twitch
React Player
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
Stars: ✭ 5,931 (+14365.85%)
Mutual labels:  twitch
Twitch downloader
A universal twitch.tv VOD download script. Compatible with both old- and new-style VODs.
Stars: ✭ 24 (-41.46%)
Mutual labels:  twitch
Ttv Ublock
Blocking ads on that certain streaming website
Stars: ✭ 1,008 (+2358.54%)
Mutual labels:  twitch
Api
`fdgt` is a mock API for the Twitch. Via `fdgt`, you can simulate events without having to spend a penny!
Stars: ✭ 40 (-2.44%)
Mutual labels:  twitch
Badusb botnet
👥😈 Infect a pc with badusb and establish a connection through telegram.
Stars: ✭ 32 (-21.95%)
Mutual labels:  twitch

Ancalentari Twitch Stream Recorder

This script allows you to record twitch streams live to .mp4 files.
It is an improved version of junian's twitch-recorder, migrated to helix - the new twitch API. It uses OAuth2.

Requirements

  1. python3.8 or higher
  2. streamlink
  3. ffmpeg

Setting up

  1. Check if you have latest version of streamlink:

    • streamlink --version shows current version
    • streamlink --version-check shows available upgrade
    • sudo pip install --upgrade streamlink do upgrade
  2. Install requests module if you don't have it

    • Windows: python -m pip install requests
    • Linux: python3.8 -m pip install requests
  3. Create config.py file in the same directory as twitch-recorder.py with:

root_path = "/home/abathur/Videos/twitch"
username = "forsen"
client_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
client_secret = "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"

root_path - path to a folder where you want your VODs to be saved to
username - name of the streamer you want to record by default
client_id - you can grab this from here once you register your application
client_secret - you generate this here as well, for your registered application

Running script

The script will be logging to a console and to a file twitch-recorder.log

On linux

Run the script

python3.8 twitch-recorder.py

To record a specific streamer use -u or --username

python3.8 twitch-recorder.py --username forsen

To specify quality use -q or --quality

python3.8 twitch-recorder.py --quality 720p

To change default logging use -l, --log or --logging

python3.8 twitch-recorder.py --log warn

To disable ffmpeg processing (fixing errors in recorded file) use --disable-ffmpeg

python3.8 twitch-recorder.py --disable-ffmpeg

If you want to run the script as a job in the background and be able to close the terminal:

nohup python3.8 twitch-recorder.py >/dev/null 2>&1 &

In order to kill the job, you first list them all:

jobs

The output should show something like this:

[1]+  Running                 nohup python3.8 twitch-recorder > /dev/null 2>&1 &

And now you can just kill the job:

kill %1

On Windows

You can run the scipt from cmd or terminal, by simply going to the directory where the script is located at and using command:

python twitch-recorder.py

The optional parameters should work exactly the same as on Linux.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].