[FFmpeg-user] Misson, impossible?, Prescaling, a, video...

Boštjan Strojan bostjan.strojan at gmail.com
Sat Oct 27 15:18:47 CEST 2012


On Sat, Oct 27, 2012 at 2:16 PM,  <meino.cramer at gmx.de> wrote:
> Carl Eugen Hoyos <cehoyos at ag.or.at> [12-10-27 13:36]:
>>  <meino.cramer <at> gmx.de> writes:
>>
>> > When scaling to the size of the LCD screen of my embedded
>> > Linux board, which is 800x480 pixels, I either can do a
>> >
>> >  -vf scale=iw*sar:ih,scale=800:-1
>> >
>> > or a
>> >
>> >  -vf scale=iw*sar:ih,scale=-1:480

maybe
-vf "scale=800:floor(400*ih/iw/sar)*2,setsar=1:1"

(somebody on irc got me this ..., so dont ask me what it means ..)

b.


More information about the ffmpeg-user mailing list