[FFmpeg-user] Automatically scaling videos and adding padding

Francesco Turco fturco at fastmail.fm
Mon Jun 13 10:07:50 CEST 2011


> Why don't calculate with other tool? "bash" or "bc"? Ffmpeg is a video
> processing tool, calculating shouldn't its main function, I think.

Yes, I could do as you suggest, but that way I have to manually tell the
bash script the resolution of the source video. FFmpeg, instead, is able
to determine it automatically, and provides the iw/ih variables which
are very handy.


More information about the ffmpeg-user mailing list