Resizing and shrinking videos with ffmpeg

ffmpeg resizing

You can reduce the size of a video by reducing the resolution with the ffmpeg program.


sudo apt install ffmpeg


ffmpeg -i original-title.mp4 -r 30 -s 640*360 result-title.mp4

Explanation of -r and -s options:

$ man ffmpeg
-r[:stream_specifier] fps (input/output,per-stream)
   Set frame rate (Hz value, fraction or abbreviation).

-s[:stream_specifier] size (input/output,per-stream)
   Set frame size.