baspub.blogg.se

Ffmpeg crop off lower
Ffmpeg crop off lower













ffmpeg crop off lower

You'll probably have to do some bash scripting to automatically determine what the output width should be depending on the input. It doesn't always work however (with libx264) if the value interpolated by -1 is not an even number.

ffmpeg crop off lower

The scale filter, with the -1 value, can automatically determine the correct width or height and keep the aspect ratio. (Note that there is some turmoil in FFmpeg-land right now and the Git repository in the guide may not be up to date)įfmpeg -i input -vcodec libx264 -vpre medium -vpre ipod640 -vf scale=640:-1 -threads 0 -acodec libfaac -aq 100 output.mp4

ffmpeg crop off lower

HOWTO: Install and use the latest FFmpeg and x264 () Unfortunately you would have to compile FFmpeg because the repository version currently does not have any filter support.















Ffmpeg crop off lower