[FFmpeg-user] problems padding with new version of ffmpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 3 00:42:28 CEST 2012


Kosta Vlotis <kosta.brazzers <at> gmail.com> writes:

> ffmpeg -i interlace_test.mpeg -c:v libx264 -vprofile main -level 30
> -refs 4 -b:v 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -s
> 480x270 -vf pad="480:480:0:0:black" -flags +ilme+ildct -top 1 -pix_fmt
> yuv420p -r 29.970 -vsync 1 -c:a ac3 -b:a 192k -ar 48k test1.ts
> 
> in the above command i'm trying to resize a 1080p video and add
> padding to make it 480p. this used to work in the past..

I did not test but it may be a bad idea to combine 
a video filter and "-s" (which is just another way 
to write -vf scale), so I suggest you try something 
with -vf scale=480:270,pad="480:480:0:0:black"
(untested).

Carl Eugen



More information about the ffmpeg-user mailing list