Simply, scale it back to 4:3 and set a unit aspect ratio. r/ffmpeg. I tried several configuration to convert my video to flv format. But, later I got video which aspect is not 4:3, but 16:9 and so on. First, I cropped the video to 11/12th its original width, centering the crop rectangle horizontally. Download your video to share it with your audience on social media channels. Search within r/ffmpeg. Changing the aspect ratio at constant resolution using ffmpeg This adds the overlay, but it stretches it to the same aspect ratio of the video which is what I'm trying to avoid: ffmpeg -y -i video.mov -i watermark.png -filter_complex "scale=-1:1280:flags=bicubic,overlay=(main_w-overlay_w)/2:main_h-overlay_h" -crf 0 -preset ultrafast -c:v mpeg4 -qscale:v 10 -c:a: copy out.mp4 To retain the aspect ratio of your video, you first need to input your video width specifics. ffmpegオプション: 8K: 7680: 4320-s 7680x4320: 4K: 3840: 2160-s 3840x2160: WQHD: 2560: 1440-s 2560x1440: FHD: 1920: 1080-s 1920x1080: WXGA++: 1600: 900-s 1600x900: HD: 1280: 720-s 1280x720: 1024: 576-s 1024x576: 768: 432-s 768x432: 640: 360-s 640x360: 480: 270-s 480x270: 320: 180-s 320x180: 160: 90-s 160x90 It will change the resolution of your video from 1920 X 1080 pixels to 640 X 360 pixels. Pad the video so that it fits in the 700:400 space. If you want to adjust either DAR or PAR, you should be able to use. For example: ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4 When going from BGR (not RGB) to yuv420p the conversion is broken (off-by-one). works great until you will encounter error. FFmpeg - Change resolution of the video with aspect ratio | 易学教程 The above answers are great, but most of them assume specific video dimensions and don't operate on a generic aspect ratio. Using FFmpeg to scale or change the resolution of a video is done by the scale filter in FFmpeg. To use the scale filter, use the following command – where, $w and $h denote the required width and height of the destination video. For example, you could use -vf scale=640:480 to resize your video to 480p. That’s it! So, to obtain a given DAR, say 4/3, you have to calculate the appropriate SAR. 3. Where 'www' is the desired width of the video you want. Ich versuche, eine Video-AR mit ffmpeg wie folgt zu ändern: ffmpeg -i in.mp4 -aspect 16:9 -c copy out.mp4 ...und während dies im Grunde funk... Super User Kontakte.