Re: [FFmpeg-user] How to add black bars as replacement for height?

2022-11-08 Thread Robin van der Linden via ffmpeg-user
Thanks for your reply, Moritz, I now came to the following cmd: -vf "scale={stream["width"]}:{stream["height"]}:force_original_aspect_ratio=decrease,pad={stream["width"]}:{stream["height"]}:(ow-iw)/2:(oh-ih)/2,setsar=1" {stream["height"]} and {stream["width"]} are just placeholders Thanks

Re: [FFmpeg-user] How to add black bars as replacement for height?

2022-11-07 Thread Moritz Barsnick
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

[FFmpeg-user] How to add black bars as replacement for height?

2022-11-07 Thread Robin van der Linden via ffmpeg-user
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. -- Grüße / Kind regards, Robin van der Linden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org