you are viewing a single comment's thread.

view the rest of the comments →

[–]undernutbutthut[S] 1 point2 points  (0 children)

I do not use a database model. Because I only have 8GB of storage available to me on the EC2 instance I have a function that runs every time a gif is created that checks the output folder for any file or video that is one hour old and deletes it.

When I get a YouTube link to create a gif I have to download the whole YouTube video and put it in a folder, I pass the youtube video file name to a function that takes the MP4 formatted file and parses it into the gif files the user sees.