Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recorded a video using recordmydesktop, but have unfortunately chosen for capturing the whole screen (1600*896) instead of a small part with geometric 900*690.

How do I crop this video? Preferably in the editor I'm using, Kdenlive, to minimize quality loss. I've tried the Crop, Pan & Zoom and Scale0tilt effects, modifying the pixel ratio, movie size inside project settings options without success. A step-by-step guide would be preferred or at least some hints.

share|improve this question
Have you tried Blender? I could try to find a way and write a tutorial. – bntser Sep 22 '11 at 21:16
I haven't tried it with Blender, but for suddenly, the crop feature works as expected. I restarted the program after some modifications, but cannot remind the taken steps. – Lekensteyn Sep 23 '11 at 14:03
Would it be meaningful to add answers for other programs such as avidemux and openshot as mentioned in – N.N. Feb 25 '12 at 12:48
If a different editor is suggested, it's OK. – Lekensteyn Feb 25 '12 at 13:02

If nothing else works, you could use mencoder. It is not an interactive editor and will result in re-encoding of the video. If you can live with that, here's how: mencoder -oac pcm -ovc x264 -vf crop=900:690:0:0 -o output.mp4 input.mp4 where the :0:0 part is upper left coordinates of the cropped area. You may want to play around with -oac and -ovc options and see which codecs produce the best results. Use mencoder -ovc help -oac help to get a listing of available options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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