Tool
To cut off the black bars above and below widescreen video, or on the left and right of 4:3 video, you need a crop=w:h:x:y value. Pick a file and the tool grabs frames from several places in the video, measures the bar thickness, filters out false detections from dark scenes, and gives you the values in ffmpeg and HandBrake format. The video is read only inside this browser.
After changing a setting, pick the file again to analyze it anew. The video is not sent anywhere.
crop=… out of -vf and put it into another command. When you combine it with other filters (such as scale), putting crop first is usually the way to go. To assemble a full command, see the ffmpeg command builder, and for CRF see the CRF recommender. The -crf 20 in the command is just an example value.--crop top:bottom:left:right; the crop options can differ by version, so check with HandBrakeCLI --help. HandBrake has its own automatic crop, but the values from this tool are useful when you want to check separately what was detected, or use the same values for many files.cropdetect command with your file name in it. If the crop=w:h:x:y lines in its output differ a lot from this tool’s values, the scenes in that section may be unusual. Change the -ss time and run it at a few places.The tool shows the percentage of pixels removed (arithmetic on the picture area) in the result. But that does not mean the file size, or the bitrate needed for the same quality, shrinks by the same percentage. Pure black bars have no motion and no texture, so they are an area that compresses very efficiently, and removing them may not save that much. This site has not measured file size or VMAF before and after cropping, so it gives no figure for the savings. How quality turns out at a given number of bits per pixel can be seen on the measured curve in the bits-per-pixel judge. To compare before and after on your own video, encode twice with the same CRF and measure the file size. Note that VMAF cannot be compared directly when the frame sizes differ, so you need to align both to the same region before measuring.
-c copy). Quality, file size and time were not measured.