A simple bash and batch script that uses ffmpeg to compress videos to fit under 25 MB (Discord free upload limit)
./discord-video.sh <video-file>
discord-video.bat <video-file>
Output will then be a file ending with -compressed.webm