Code Monkey home page Code Monkey logo

twitchchatvideo's People

Contributors

cairthenn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

twitchchatvideo's Issues

Add Command Line Utility

I'm not sure how easy this would be, as I have very little experience with C#, but it would be extremely useful if there was a way to use this program from the command line. Like if you could just call the program from the command line and feed it a parameter for the twitch VOD URL (along with optional parameters customizing chat colour, background colour, etc) and then it spits out a file when it's done. It wouldn't even need to run the GUI at all, although if it's better/easier that it did then that's fine as well.

I'm looking into automating the process of downloading twitch VODs and uploading them to YouTube for archival purposes, and unfortunately, as this program stands right now, it would not be useful in that scope unless I wanted to start adding in AutoHotkey scripts or something (which I definitely would like to avoid doing).

Anyway, I would like to know if this is possible/how difficult this would be to add, and whether or not you have any intention to add it or something similar.

Thanks,

Ben

Linux Support

Would it be possible to support Linux with .net Core? This has been the only repository that I could find that records twitch chat into a video while keeping the visuals.

I've been looking for a method in recording streams lives with chat but none exist. Does this require a GUI to run? Could it be command line?

Scale emotes and emojis with font size

  • Comes at cost of downloading higher res images, which is probably fine, since they are still pretty small.
  • Scale image to one of 3 sizes depending on the selected font size.

Support for Twitch Clips

I really like this program for archival purposes. However, for more casual uses, I'd like Twitch Clips to be supported as well if possible.

Made some usability changes on my fork

https://github.com/alyssadev/TwitchChatVideo

  • Set the default font style to Bold, this was more readable with fonts like Inter which is what Twitch uses for their chat in their web UI. Ideally font style would be another dropdown choice.
  • Add fix for crash if user enters width/height that is not a multiple of two. This fix subtracts 1 from the user's entered resolution so the resulting resolution won't cause ffmpeg to exit unexpectedly
  • Commented out BTTV/FFV emote functions; these don't appear to work at the moment.
  • Added taskbar progress to match the progress bar on the app (adds dependency on WindowsAPICodePack)

Feel free to pull any changes to here if you like.

Video rendering fails with certain resolutions

When trying to render a video with a custom resolution of 400x725 for a highlight video, the process goes to 'Idle' after 'Determining Drawing Information' with no video produced.

Possibly related to certain aspect ratios?

The content of error.log is as follows

01:40:56 PM : System.NullReferenceException: Object reference not set to an instance of an object.
   at Accord.Video.FFMPEG.VideoFileWriter.Flush()
   at Accord.Video.FFMPEG.VideoFileWriter.Close()
   at Accord.Video.FFMPEG.VideoFileWriter.Dispose(Boolean A_0)
   at Accord.Video.FFMPEG.VideoFileWriter.Dispose()
   at TwitchChatVideo.ChatVideo.<>c__DisplayClass47_0.<WriteVideoFrames>b__0() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 157
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TwitchChatVideo.ChatVideo.<WriteVideoFrames>d__47.MoveNext() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 116
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at TwitchChatVideo.ChatVideo.<>c__DisplayClass46_0.<<CreateVideoAsync>b__0>d.MoveNext() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 92

Started crashing when downloading BTTV emotes on a specific channel

I regularly download chat VODs from clintstevens but the app has been crashing for the past few days when downloading BTTV emotes on any VOD that belongs to clintstevens. I've asked others to download specific clintstevens clips that have worked in the past but it crashes for them currently as well. So the problem seems to be associated with the app attempting to connect to the specific channel rather than an issue with my software specifically. I've tried reinstalling the software but currently my only workaround is using version 1.15 that leaves the BTTV emotes as plain text.

This is a super useful app so I'm hoping the bttv emotes won't be lost on clint's channel. Thanks for your hard work!

ssl error

This program has some really unique capabilities.

Right now whenever I try to access a video I get this error:

"Unable to reach https:.....
The request was aborted: Could not create SSL/TLS secure channel."

I am on win7 ultimate and can access the vids and chat logs with other applications including twitchleacher, chatty, and VCD. I'm mainly interested in the chat video feature.

Thank you.

[Future Support] Twitch is deleting the endpoint that allows for this data collection.

For a myriad of reasons, personal and practical, development of this application has been on hold. One of these includes the long-standing issue that will be finalized later this month:

  • The deprecation of Twitch API v5 and transition to Helix API means that there is no end-point for Twitch chat vods.

Going forward, this means a few things:

  • It is impossible to retrieve chat for a vod unless it is logged during the stream
  • The burden of recording chat will fall on a user
  • Something will need to be created to monitor live streams and store chat in a compatible format

There have also been a great deal of updates to .NET that should let me make this app platform independent. I'm going to set aside some time prior to this change and see what can be improved and prepared such that this is salvageable after the changes.

Add Outline option around text

It would be nice to have an outline option that puts a black outline around text (username and message), a 2 or 3px outline would be suffice.

I'm trying to chroma key the video generated by Twitch Chat Video, but the text would be far more visible with an outline.

Something like this: https://i.imgur.com/x3KJ9u6.png

Long vod fails about 2/3 in

A 9h21m vod fails to complete the 'download chat history' part, and the application just closes around 2/3 in. No error file is produced. Shorter vods have worked for me. It's worth noting that I've reproduced this around 6 times and it always fails at the same %, which is around 66%.

Wrong frame rate

Using youtube-dl to download the video retrieves a correct frame rate of 30 fps. TwitchChatVideo, however, encodes the chat comments at 24 fps.

Empty output folder

Hello, i set up everything, click make video but then it only download chat logs.

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.