[FFmpeg-user] Adding Borders

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 31 03:30:35 CET 2013

Indian Maiden <theindianmaiden <at> gmail.com> writes:

> This command runs with out errors but does not pad 
> the tiff to 1920x1080
> ffmpeg -y -i ./1080bars.mov -s 1728x864 
> -vf 'pad=1920:1080:0:0:gray' -ss 5.00 
> -vcodec tiff ./test1/file%4d.tiff

Sorry, Lou is of course right, the way you 
combine "-s" with "-vf pad" is ambiguous, 
merge the scaling into your filter command 
to allow the padding to work:
ffmpeg -i input -vf scale=1728x864,pad=1920:1080:0:0:gray out.tif

Carl Eugen

More information about the ffmpeg-user mailing list