[FFmpeg-user] Crop from bottom only

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Jul 26 13:45:25 CEST 2011


On date Tuesday 2011-07-26 12:59:52 +0200, Alex Z encoded:
> Hi, I have a movie 640x480 and I need to cut 20px from bottom. It was
> easily done with previous ffmpeg versions with "-cropbottom 20", but
> with -vf "crop=x:y:x:y" I am puzzled.
> 
> Can someone help me out?

Crop syntax is:
crop=width:height:x:y

so you simply need to specify
crop=in_w:in_h-10:0:0

Read the manual for more details.
-- 
ffmpeg-user random tip #17
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


More information about the ffmpeg-user mailing list