Cropping and Compressing Video with VirtualDub and Xvid

The Video

Cropping a video seems like a fairly common task for anyone creating video demos or guides. To help you out, I created a video that walks you through how to use VirtualDub and the Xvid codec to crop and compress a video. Its all quick, simple, and free. If you don’t feel like sitting through a video and think you can manage it yourself, follow the steps below the video.

Download the video here: virtualdub_xvid_crop.avi



The Steps

  1. Download and extract VirtualDub
  2. Download and install the Xvid codec
  3. Open your video in VirtualDub
  4. Goto Video -> Filter…
  5. Because you can’t crop without a filter, click Add…
  6. Select brightness/contrast from the list and click OK twice
  7. Click Cropping…
  8. Change to your desired offset values for the X1, X2, Y1, Y2 which are left, right, top and bottom respectively. Make sure your final dimensions are a multiple of 2 or you will get an error when you attempt to save.
  9. Click OK to finish, then OK again to set your filter and cropping.
  10. Goto Video -> Compression…
  11. Select the Xvid Codec from the list of video compression methods. No settings need to be changed. Click OK when done.
  12. Goto File -> Save as AVI…
  13. Select the name and path for your cropped and compressed video and click Save
  14. Wait for the resulting video compression and saving operations to finish
  15. Congrats! You now have your video cropped and compressed to the specifications you need.

The Result

And here’s an example of an original video and its cropped version. As you can see, the original was a capture from my desktop and the cropped version shows only the Youtube video.

Original Video

cropped Video


One Response to “Cropping and Compressing Video with VirtualDub and Xvid”

  1. kii says:

    it worked flawlessly for me, thx!