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

Kosta Vlotis kosta.brazzers at gmail.com
Wed Oct 3 16:51:53 CEST 2012


On Tue, Oct 2, 2012 at 6:42 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


that worked!


More information about the ffmpeg-user mailing list