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

meino.cramer at gmx.de meino.cramer at gmx.de
Sat Oct 27 15:27:10 CEST 2012


Boštjan Strojan <bostjan.strojan at gmail.com> [12-10-27 15:20]:
> 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.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 

Hi Boštjan,

thank you for your reply ! :)

Here is 800 (width) and the height is calculated, which is only
the 

    if( ) then....

but not the

    else ...

case of the problem...

Have a nice weekend !!! :)

Best regards,
mcc





More information about the ffmpeg-user mailing list