Video Trim

Quickly trim video clips - extract segments from videos with fast, lossless processing

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: video/mp4, video/x-m4v, video/quicktime, video/x-msvideo, video/x-matroska, video/webm, video/x-flv, video/msvideo, video/avi

Start trimming from this time

End trimming at this time (empty = end of video)

Use stream copy for fast processing

Key Facts

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

Overview

The Video Trim tool allows you to quickly extract specific segments from your video files with fast, lossless processing. By supporting both high-speed stream copying and high-quality re-encoding, you can easily cut MP4, MOV, MKV, and other video formats down to the exact duration you need.

When to Use

  • When you need to extract a short highlight or clip from a long video recording without losing original quality.
  • When you want to remove unwanted intros, outros, or dead space from the beginning or end of a video file.
  • When you need to quickly trim a video down to meet file size or duration limits for social media uploads.

How It Works

  • Upload your video file in a supported format such as MP4, MOV, AVI, or MKV.
  • Specify the start and end times in seconds to define the exact segment you want to keep.
  • Choose your processing mode: select 'Fast' for instant stream copying without re-encoding, or 'Quality' to re-encode the clip.
  • Click the trim button to process the video and download your newly extracted segment.

Use Cases

Extracting a 30-second highlight clip from a recorded webinar for a social media post.
Cutting out the first 10 seconds of silence from a screen recording before sharing it with a team.
Splitting a long video into smaller, manageable segments under 100 MB for easier sharing.

Examples

1. Extracting a Webinar Highlight

Content Marketer
Background
A content marketer needs to extract a 30-second key takeaway from a 45-minute recorded Zoom webinar to post on LinkedIn.
Problem
The original video is too long and needs to be cut precisely from the 12-minute mark to the 12-minute and 30-second mark without losing quality.
How to Use
Upload the webinar MP4 file, set the Start Time to 720 seconds, set the End Time to 750 seconds, select 'Fast' mode, and keep 'Copy Original Codec' checked.
Example Config
Start Time: 720, End Time: 750, Mode: Fast, Copy Original Codec: True
Outcome
A high-quality 30-second MP4 clip is instantly generated and downloaded, ready for social media upload.

2. Trimming a Screen Recording Intro

Software Engineer
Background
An engineer recorded a product demo but spent the first 5.5 seconds setting up the window layout.
Problem
The demo video needs to start immediately at 5.5 seconds to look professional for the client presentation.
How to Use
Upload the demo MOV file, set the Start Time to 5.5 seconds, leave the End Time blank to keep the rest of the video, and select 'Quality' mode for a frame-accurate start.
Example Config
Start Time: 5.5, End Time: null, Mode: Quality, Copy Original Codec: False
Outcome
The trimmed video starts exactly at the 5.5-second mark, with the setup portion cleanly removed.

Try with Samples

video, file

Related Hubs

FAQ

What video formats does the Video Trim tool support?

It supports MP4, M4V, MOV, AVI, MKV, WEBM, and FLV formats.

What is the difference between Fast and Quality modes?

Fast mode uses stream copying to cut the video instantly without re-encoding, while Quality mode re-encodes the video to ensure precise cuts at exact frames.

Is there a file size limit for uploading videos?

Yes, the maximum supported file size for video uploads is 100 MB.

Can I trim a video without specifying an end time?

Yes, leaving the end time blank will trim the video from your start time all the way to the very end of the file.

Does trimming a video in Fast mode reduce its quality?

No, Fast mode copies the original video and audio streams directly, resulting in zero quality loss.

API Documentation

Request Endpoint

POST /en/api/tools/video-trim

Request Parameters

Parameter Name Type Required Description
videoFile file (Upload required) Yes -
startTime number No Start trimming from this time
endTime number No End trimming at this time (empty = end of video)
mode select No -
copyCodec checkbox No Use stream copy for fast processing

File type parameters need to be uploaded first via POST /upload/video-trim 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-trim": {
      "name": "video-trim",
      "description": "Quickly trim video clips - extract segments from videos with fast, lossless processing",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=video-trim",
      "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]