IshanManchanda / DeepFryBot

Discord bot for all your deep frying needs. Cookbook included.
MIT License
5 stars 0 forks source link

Implement GIF/Video Frying #24

Open IshanManchanda opened 3 years ago

IshanManchanda commented 3 years ago

Currently only images are fried. Look into downloading and extracting frames from videos and gifs.

After each frame has been fried, create a gif out of it with the desired fps. Ideally the fps can be found by metadata or otherwise calculated by number of frames and duration.

Look into compression or other ways of reducing memory footprint so as to not have to use swap memory, which will immensely slow down the bot. Another possibility is to get the resolution and number of frames from the metadata, and refuse to even download the larger files and/or queue them for frying when there's no load.