lay295 / TwitchDownloader

Twitch VOD/Clip Downloader - Chat Download/Render/Replay
MIT License
2.69k stars 260 forks source link

[Suggestion] Is it possible to create a realtime chat replay system? #162

Closed ellieaii closed 1 year ago

ellieaii commented 3 years ago

As the question suggests, is it possible to create a realtime chat replay system that reads the json file and creates a window that replays chat instead of rendering and creating a video file?

An example that I can provide is this chrome extension called "Twitch Chat Replay". Its purpose was to replay twitch chat for the anime marathons that took place a few years ago.

I'm not sure how feasible this is but I would greatly appreciate it since I can't seem to render chat properly without the program freezing or it's just simply taking long time.

Here is the link for the chrome extension and its github page.

lay295 commented 3 years ago

It's certainly possible, I just haven't had time to work on this program much and besides a few quality of life things such as queueing rendering, I feel this program is mostly "complete". There are always more things I can fix and add though. Still quite a few bugs I gotta work out when I have time...

In regards to your suggestion, I feel it's out of the scope of this project as it's mainly geared towards video editors. I have an archiving website and a few people asked if they could setup something similar so over the summer I was going to make another desktop application that saved livestream and their chats. I'd probably implement some kind of replay system like you're suggesting in that, I don't plan to work on it until the summer though.

ellieaii commented 3 years ago

I see, got it. Thank you so much for responding and letting me know about your plans. I'll be looking forward to it. This program has been incredibly helpful and it's quite intuitive too. I've also seen your archiving website and it's really good as well! I really appreciate your work.

I've mostly been using this program to archive livestreams and I wanted to include a chat replay, but since my computer is quite slow these days, I can't render the chat properly, or at least in a timely manner.

Out of curiosity however, do you take requests or suggestions on which streamer to add to your archiving website? I would like to suggest one, but I completely understand if it would be too much to handle since you're archiving a lot of already.

Thanks again, and I hope you have a good day.

Kryptortio commented 2 years ago

I was about to post this as a new issue/suggestion but I guess it's really similar to this one so I'll just add this here as a comment here instead.

HTML render/player/viewer (like Twitch VOD player)

I think it could be nice to have the option playback the VOD and chat as you would on Twitch. With video and chat next to each other where the chat is actual text rather than a rendered video so that you can easily click links, copy text or take advantage of the browser translate function.

The HTML file would just read the video and chat file and then output the chat according to the current time of the video. The following is an example that let's you load video and JSON separately with the chat constantly being rendered when video time changes.

HTML example (quick and dirty, copy and save as a .html file to try) ``` TD player example Video: Chat: ```

The example is working but it's just a test, it can be improved a lot when it comes to performance and visuals (could be made to look and work similar to Twitch GUI). It could also rather than being a player where you load two files be outputted as a file with the VOD/chat files hard coded so you don't have to select them manually (it could be an alternative "render" option that creates one HTML file for each VOD). Might also be possible to embed the HTML into the GUI for use as a VOD viewer or just as a quick preview.

TheMadog24 commented 2 years ago

I was about to post this as a new issue/suggestion but I guess it's really similar to this one so I'll just add this here as a comment here instead.

HTML render/player/viewer (like Twitch VOD player)

I think it could be nice to have the option playback the VOD and chat as you would on Twitch. With video and chat next to each other where the chat is actual text rather than a rendered video so that you can easily click links, copy text or take advantage of the browser translate function.

The HTML file would just read the video and chat file and then output the chat according to the current time of the video. The following is an example that let's you load video and JSON separately with the chat constantly being rendered when video time changes. HTML example (quick and dirty, copy and save as a .html file to try)

The example is working but it's just a test, it can be improved a lot when it comes to performance and visuals (could be made to look and work similar to Twitch GUI). It could also rather than being a player where you load two files be outputted as a file with the VOD/chat files hard coded so you don't have to select them manually (it could be an alternative "render" option that creates one HTML file for each VOD). Might also be possible to embed the HTML into the GUI for use as a VOD viewer or just as a quick preview.

Is there any chance of this being developed further? This would be the perfect solution for me, and I assume others. I just don't know enough HTML/CSS/Javascript to do it properly, and make it look similar to Twitch.

On my end, using the chat render makes all the text pretty blurry and hard to read, regardless of the settings. this would be perfect.