how to compress video files to less than 25 mb every time pyhton code example Example: ffmpeg shrink video size ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4