ffmpeg is a CLI programming for editing and manipulating videos.
From this stackoverflow question, resizing the video frame size is an easy and fast way to reduce video file size. I’ve found it especially useful for reducing file size of screencasts from my phone.
ffmpeg -i input.mkv -vf "scale=iw/2:ih/2" half_the_frame_size.mkv will reduce a 2x retina-sized video down to non-retina size.
ffmpeg -i input.mkv -vf "scale=iw/3:ih/3" a_third_the_frame_size.mkv will reduce a 3x retina-sized video down to non-retina size.
This is awesome. From this stackoverflow question, it’s more-or-less a combination of the
-framerate $X and
-r $Y to get what you want. You can also use
-vf fps=$X to specify the fps of the video.