This guide shows how to scale a video to Full HD (1080p) with FFmpeg while keeping a widely compatible MP4 output.
Install FFmpeg (if not already installed):
sudo apt-get install ffmpegbrew install ffmpegOpen terminal in your folder
Open a command prompt or terminal and navigate to the folder containing your video file.
Scale to 1080p
Run this command:
ffmpeg -i input.mp4 -vf "scale=-2:1080" -c:v libx264 -crf 20 -preset medium -c:a copy output-1080p.mp4
scale=-2:1080-2-crf 20For 720p, replace
1080720