FriendTeamInc / VodBot

A command line interface VOD and Clip manager for Twitch.
MIT License
14 stars 1 forks source link

Thumbnail generation #42

Closed NotQuiteApex closed 1 year ago

NotQuiteApex commented 2 years ago

This will require a new program dependency, ImageMagick, to be in the PATH environment variable, like FFmpeg.

This feature will allow VodBot to generate thumbnails based on inputs from the configuration (see #40) and staging process. For staging, there will be an additional prompt for a timestamp to take a screenshot of to use as the background, another prompt for what game is being played (for the logo), and lastly what text should go beside the game logo (like a part number, #69). The process will also use the info from what streamers are a part in the stream to generate the heads.

NotQuiteApex commented 2 years ago

https://stackoverflow.com/a/27573049

Method for extracting a specific frame, from Stack Overflow. Seems simple enough.

Also mentions the starting time being before the input is better optimized, which would be important to introduce to VodBot. However, it appears that this will use a soft scrubbing rather than a very accurate timestamp.

NotQuiteApex commented 1 year ago

Forgot to mention, but it was brought to my attention that the Pillow library is probably a better fit, faster, and eliminates an external dependency. So far, at least on the current branch, it works just as well as ImageMagick, if not faster and more efficient than shelling out.