Change Video Aspect Ratio Without Re-encoding FFmpeg

Changing the Display Aspect Ratio (DAR) of a video file without re-encoding is a quick way to fix stretched or distorted playback without losing quality or wasting time. By modifying the container metadata using FFmpeg’s stream copy feature, you can instantly update how media players stretch and display the video frames. This guide shows you the exact command-line syntax to achieve this for popular formats like MP4 and MKV.

The FFmpeg Command

To change the aspect ratio without re-encoding, use the -aspect option combined with -c copy. This instructs FFmpeg to copy the video and audio streams directly while only updating the metadata header.

Run the following command in your terminal:

ffmpeg -i input.mp4 -aspect 16:9 -c copy output.mp4

Parameter Breakdown

Container-Level vs. Stream-Level Aspect Ratio

When you use -c copy with the -aspect flag, FFmpeg changes the aspect ratio at the container level (the wrapper of the file, such as MP4 or MKV).