Giter Club home page Giter Club logo

twitchchatvideorenderer's Introduction

TwitchChatVideoRenderer

About

The code will generate an equivalent video of twitch chat, with Twitch, BTTV, and FFZ emotes included. All it requires is a twitch json file, which can be downloaded with TCD.

TCD: https://github.com/PetterKraabol/Twitch-Chat-Downloader

Usage

How to use (only linux machines):

  1. Install FFmpeg. I prefer using homebrew. Simply brew install ffmpeg
  2. Python interpreter and pip. Install dependencies with pip install -r requirements.txt
  3. Twitch dev credentials - client-id and client-secret - from here. Make an account, create a dummy app, and grab the credentials. FYI: These credentials allow you to download ANY VOD chat.

python TCVR.py --help for more detailed info

python TCVR.py --client_id {YOUR CLIENT ID} --client_secret {YOUR CLIENT SECRET} --output {OUTPUT DIRECTORY} --video {Twitch VOD ID} --start_time {START TIME OF CHAT} --duration {DURATION OF CHAT}

You only need client_secret and client_id on first run. After that you only need VOD id is the minimum parameter requirement.

To fine tune your video, check out ChatSettings.py

More Information

FFmpeg processing time varies by CPU. It takes me about 2 minutes to generate a 5 minute chat file.

The code will generate an equivalent video of twitch chat, with emotes and all. All it requires is a twitch json file, which can be downloaded with TCD.

Open any issues if you have questions or email me. This is part of a bigger project.

Leave a star if it works for you!

twitchchatvideorenderer's People

Contributors

18vijayb avatar

Stargazers

 avatar Pickel avatar Mike Ward avatar Nikhil D'Souza avatar Bradley Bottomlee avatar Sahil Kapur avatar Sahana Rayan avatar

Watchers

 avatar

twitchchatvideorenderer's Issues

How use this code on practice?

Sorry for that question. Just i'm noob and don;t understand how to use your code on specified clip or vod or chat file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.