User Tools

Site Tools


ffmpeg:video:resize:basic_resize_of_a_video

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.
ffmpeg/video/resize/basic_resize_of_a_video.txt · Last modified: 2025/01/29 22:19 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki