On Tue, Nov 08, 2022 at 03:02:36 +0100, FFmpeg user discussions wrote: > Can I use ffmpeg to convert a 1920x800 resolution clip to 1920x1080? The > goal is to fill the remaining pixels with a true black bar.
Have a look at the pad filter: https://ffmpeg.org/ffmpeg-filters.html#pad-1 Something like $ ffmpeg -i inputfile -vf "pad=h=1080:y=(oh-ih)/2" outputfile The "y" expression is for centering the video vertically. Cheers, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".