Video Crop

Crop video to specified dimensions and position

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: video/*

Key Facts

Category
Images, Audio & Video
Input Types
file, number, select
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Video Crop tool allows you to easily crop your video files to precise pixel dimensions and positions. By specifying the width, height, and X/Y coordinates, you can remove unwanted outer areas, focus on specific subjects, and export the cropped video in MP4, WebM, MKV, or its original format.

When to Use

  • When you need to remove black bars, borders, or unwanted background elements from a video.
  • When you want to focus on a specific subject or region of interest within a video frame by defining precise pixel coordinates.
  • When preparing video clips for social media or specific display layouts that require exact aspect ratios or dimensions.

How It Works

  • Upload your video file (up to 500MB) into the designated file input area.
  • Enter the desired crop width and height in pixels, along with the X and Y starting coordinates from the top-left corner.
  • Select your preferred output format (MP4, WebM, MKV, or keep original) and click the crop button to process and download your video.

Use Cases

Cropping out a watermark or timestamp located at the corner of a recorded video.
Reframing a landscape video to a square or vertical layout by defining specific pixel dimensions and offsets.
Isolating a specific screen region from a software demo or screen recording.

Examples

1. Removing Black Borders from a Screen Recording

Content Creator
Background
A content creator recorded a software tutorial but ended up with black bars on the left and right sides of the video.
Problem
The black bars look unprofessional and need to be cropped out to focus solely on the software interface.
How to Use
Upload the recorded video, set the crop width to 1280 and height to 720, set the X coordinate to 120 to skip the left border, and select MP4 as the output format.
Example Config
Width: 1280, Height: 720, X: 120, Y: 0, Output Format: mp4
Outcome
The black borders are successfully removed, leaving a clean 1280x720 video focused entirely on the software tutorial.

2. Isolating a Mobile UI Mockup from a Desktop Capture

UX Designer
Background
A UX designer captured a desktop screen recording that contains a mobile emulator running in the center of the screen.
Problem
The designer needs to extract only the mobile emulator screen (360x740 pixels) from the larger desktop recording.
How to Use
Upload the desktop recording, set the crop width to 360 and height to 740, set the X coordinate to 780 and Y coordinate to 170 to align with the emulator's position, and choose WebM as the output format.
Example Config
Width: 360, Height: 740, X: 780, Y: 170, Output Format: webm
Outcome
The output video is cropped precisely to the mobile emulator's boundaries, ready to be shared as a clean mobile UI demo.

Try with Samples

video, file

Related Hubs

FAQ

What video formats can I upload for cropping?

You can upload any standard video file format, provided the file size does not exceed 500MB.

How do the X and Y coordinates work?

The X coordinate sets the starting point from the left edge of the video, and the Y coordinate sets the starting point from the top edge.

Can I change the file format of the cropped video?

Yes, you can choose to export the cropped video as MP4, WebM, MKV, or retain the original file format.

What happens if I leave the width and height fields blank?

If left at their default values, the tool will not apply any cropping dimensions, so it is best to specify your target pixel dimensions.

Is there a file size limit for the video I want to crop?

Yes, the maximum supported video file size for upload is 500MB.

API Documentation

Request Endpoint

POST /en/api/tools/video-crop

Request Parameters

Parameter Name Type Required Description
videoFile file (Upload required) Yes -
width number No -
height number No -
x number No -
y number No -
outputFormat select No -

File type parameters need to be uploaded first via POST /upload/video-crop to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-video-crop": {
      "name": "video-crop",
      "description": "Crop video to specified dimensions and position",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=video-crop",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]