I have a video that shows the following
and I would like to crop it to this:
How can I do it?
Cropping with FFmpeg
Where the options are as follows:
So, for example, to crop a 640×480 window, starting from position (100, 100), you'd do:
Be aware that FFmpeg will re-encode the video using x264, when the MP4 container is selected. With no additional options, this defaults to a constant quality factor (CRF) set to 23. To increase the quality—which could be necessary for screen recordings with sharp edges and text—use a lower value, maybe go down to 18:
Note that on Ubuntu, if you
Cropping with Handbrake
Handbrake is a free and open source cross-platform tool with a GUI. Load the input file, then use the Picture Settings to specify the crop:
You can use the Preview Window to visually adjust the crop.
Here, you can also adjust the output quality with the Constant Quality slider:
Did you use Ubuntu's default recordMyDesktop tool? If so, click "Select Window" and then draw a rectangle on the thumbnail it shows of your current desktop. This area will be recorded. This is not "cropping a video" but "cropping a scene" but I think it should solve your problem at hand...