39

How does one remove a black border around a video. The input video has the size 720x576 and has the output video should be 720x480. I need to crop away 96 pixels from top and bottom.

I have gazed through this list of video tools for Mac, but I'm unsure which tools can do this. I have tried MPEG Streamclip and avidemux2, but they doesn't seem capable of it.

Preferable a free tool.

6 Answers 6

14

Handbrake is the way to go here, as mentioned by roguesys and canary_in_the_data_mine in the accepted answer.

I am using Catalina. MPEG Streamclip does not support this version of OSX, and iMovie's cropping tool is married to the 16:9 aspect ratio.

As soon as you open your clip, if it has black bars (which was my case), handbrake will crop them automatically and it will show you in its summary how the converted video will look like.

You can tweak out things in the other tabs (dimensions where you can do a fine tune of the cropping, video for the compression codec and other things, filters, audio, etc).

Once you're satisfied with the settings in the summary, go to the bottom of the App window, choose the folder where you will save the video, and press the green Start button at the top.

9

If you are using MacBook or iMac the best app is iMovie.

  1. Create new project in iMovie
  2. Import video to iMovie and then drag and drop it in your new project
  3. Select you video in project and use crop button in preview window
  4. Export your new video and use it

If it is a large file that you need a small part of then first trim the video by pressing command+t when the file is opened in quicktime. Import time to iMovie will decrease by a lot

7
  • Welcome to Ask Different! Can you add more detail to this answer? How do you crop a movie using iMovie? Please take a look at the FAQs for more info. Thanks. Commented Dec 8, 2011 at 14:57
  • 1- Create new project in iMovie. 2- Import video to iMovie and then drag and drop it in your new project. 3- select you video in project and use crop button in preview window. 4- export your new video and use it. Commented Dec 9, 2011 at 7:04
  • 4
    Yeah, iMovie is great if you want to spend 15 minutes waiting for it to generate thumbnails across a 30 minute movie that you only want to extract 30 seconds from. Commented May 24, 2012 at 3:53
  • 5
    In my case with iMovie 10.1.1, the crop tool won't let you change the aspect ratio - ie. if you want to remove 10% from the top, it'll also remove 10% from the side. Please post if you know a way around that.
    – Demis
    Commented May 2, 2016 at 23:34
  • 3
    Unfortunately, iMovie ONLY lets you work in 16:9 now.
    – Phoebe
    Commented Nov 26, 2017 at 17:42
9

You can do this on the command line using ffmpeg and the crop filter. Handbrake is a great tool, however it uses the same ffmpeg libraries that you can use directly from the command line.

The basic command is as follows:

% ffmpeg -i input_filename -filter:v "crop=w:h:x:y" output_filename
  • w = width of the output video
  • h = height of the output video
  • x:y = coordinate of the top left corner of the crop box (0,0 is top left)

Your specific example, since you want to remove just the top and bottom, you will crop using the center point and just specify the size of the crop box:

% ffmpeg -i input_filename -filter:v "crop=720:480" output_filename

Using some examples from the ffmpeg page

Crop area 100x100px starting at coordinate (12,34)

% ffmpeg -i input_filename -filter:v "crop=100:100:12:34" output_filename

Same as above, but using the named options

% ffmpeg -i input_filename -filter:v "crop=w=100:h=100:x=12:y=34" output_filename

Crop an area 100x100px from the center point

% ffmpeg -i input_filename -filter:v "crop=100:100" output_filename
7

It's kind of hacky, and probably not the best answer but works if you don't want to download any other tools and just use quicktime, and since I love hacks...

  1. Open video in Quicktime.
  2. Select new screen recording from file menu.
  3. Setup audio source to be built in input from the arrow next to the record button.
  4. After pressing the record button, Select the area you want to record (instead of doing full screen) in the original video.
  5. Start the recording.
  6. Start the original movie playback.
  7. When original movie finishes stop the recording by clicking the Stop button in the menu bar.
1
  • 5
    So I took a screen recording of a screen recording today. I don't get why Quicktime doesn't support cropping natively.
    – Allison
    Commented Aug 11, 2017 at 6:32
1

I've used all built-in video editors on mac. I found that

  • Quicktime cannot crop videos unless you upgrade it to Quicktime Pro. But it needs the assistance of a Photoshop mask. Moreover, Apple stopped selling Quicktime Pro since 2017.

  • iMovie can crop videos but at a fixed aspect ratio of 16:9.

  • The Photos app on Mac, which used to be ignored, now is upgraded to a decent video editor. It is able to crop the video at a free form. But note that, it is only available on Big Sur.

0

In my Macbook Pro (High Sierra), I did:

  1. Open "iMovie" application
  2. Click on "Create New"
  3. Choose "Movie"
  4. Click on "Import Media"
  5. Choose my video and click on "Import selected"
  6. Right click on video preview, click "Select entire clip"
  7. On the right, where the tool menu is shown, click the third icon (looks like a rectangle, with two diagonal 'Y's on its upper left and bottom right corners: enter image description here
  8. Click on "Crop" A dashed rectangle appears, resize it select the area you are interested in.
  9. When you are done, click on the checkmark above the upper right corner of the cropped video.
  10. On the upper left corner of the iMovie application, click the "< Projects" button.
  11. A pop up will ask you for the name of the new video.
  12. Type the name and click OK.
  13. Now you'll be redirected to the Projects page.
  14. There you can see your cropped video, and when you hover your mouse cursor, the three-dotted circled icon will appear next to its name - click that icon.
  15. Click on "Share Project" -> "File".
  16. Click "Next..."
  17. You will be prompted to select a name for the cropped video and a location to save (e.g. Desktop).
  18. Click "Save".
  19. Ready, the video is now located where you chose (e.g. Desktop).

PS: If you want to trim the video, use QuickTime Player application.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .