ffmpeg:video_resize
This is an old revision of the document!
Table of Contents
ffmpeg - Video resize
-vf scale=width:height
Upscaling Video to 1080p
ffmpeg -i input.mp4 -vf scale=1920x1080:flags=lanczos -c:v libx264 -preset slow -crf 21 output_compress_1080p.mp4
Downscaling Video
ffmpeg -i input.mp4 -vf scale=640x480:flags=lanczos -c:v libx264 -preset slow -crf 21 output_compress_480p.mp4
References
ffmpeg/video_resize.1714318209.txt.gz ยท Last modified: 2024/04/28 15:30 by peter