i have a mkv file and its resolution is 1280x720. when i calculated the crop using Handbrake, it shows that i need to crop 40 from top and 30 from bottom. So far i know how to crop equal amount from top and bottom, but i cannot understand how to specify that the crop values for top and bottom are different

so far i tried crop=in_w:in_h-80 which cuts 40 from top and 40 from bottom, but i want to cut only 30 from bottom

thank you

1 Answer 1


Based on https://ffmpeg.org/ffmpeg-filters.html#toc-crop

should it be crop=in_w:in_h-70:0:40

  • can you please explain how you came to that solution.
    – duttasuraj
    Dec 10, 2021 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.