ffmpeg - Video - Resize - Basic resize of a video

-vf scale=width:height 

Example

ffmpeg -i input.mp4 -vf "scale=1920:1080" -c:a copy output.mp4

NOTE: This will produce a video with a resolution of 1920×1080 pixels (1080p).

  • -i input.mp4: Specifies the input video file.
  • -vf “scale=1920:1080”: Applies the scale filter to resize the video to 1920×1080 pixels.
  • -c:a copy: Copies the media streams without re-encoding.
  • output.mp4: Name of the output file.