#!/bin/bash # Automatically generate a sample MP4 video file with some random animation and background # This is a simulated version of what might be found in a Discord CDN # Generate a simple animated GIF using python3 python3 -m gif --frame=10 --loop=0 --fps=10 /tmp/test.gif # Convert the GIF to an MP4 video ffmpeg -i /tmp/test.gif -c:v libx264 -preset ultrafast -b:v 2500k -f mp4 /home/discordbot/78.mp4 # Clean up temporary files rm /tmp/test.gif echo "Sample MP4 file created: /home/discordbot/78.mp4"