Built to order

Desktop Video Editor with Trim Merge and Text Overlay

This project builds a desktop video editor in Python that trims clips, merges them in order, and burns text overlays into the finished video using FFmpeg. A timeline with draggable trim handles, a live preview that loops inside the kept range, and an export panel that shows the exact FFmpeg command before rendering make every edit visible before it is committed. The app reads clip facts with ffprobe and writes standard MP4 files with H.264 video and AAC audio. Suitable for B.E./B.Tech final-year projects in Computer Science and Information Technology.

Chat on WhatsApp — get a quotation

Computer / IT PythonGitH.264 AAC MP4Tkinter GUIFFmpeg 8.1ffprobe metadataHTML CSS JavaScript previewDejaVu Sans Bold fontSoftware
Desktop Video Editor with Trim Merge and Text Overlay — project thumbnail preview
More project photos (2)

The problem

A desktop video editor with trim, merge and text overlay solves a small, concrete problem: students and creators who record short clips on a phone have no simple offline tool that cuts the dull parts, joins the good parts in order, and stamps a title onto the finished video without uploading anything online. Free online editors need an account and an upload, phone apps bury export behind subscriptions, and professional suites hide a five-minute job behind days of learning. This project builds the missing middle: a Python desktop app where a clip is imported, the kept range is marked by dragging two handles on a timeline, a text overlay is typed and placed, and trimmed clips are queued in a merge list. FFmpeg then does the rendering — its trim filter cuts frame-accurately, its concat filter joins the kept segments, and its drawtext filter burns the title into the frames — and the finished file is a standard MP4.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
userStudent

Imports clips, drags the trim handles and types the title for the overlay.

Follow the working sequence

How it works

Editing a video in this project follows one straight pipeline from import to finished file. The student imports one or more clips into the media bin, where ffprobe reads each file's resolution, frame rate and duration so the app knows what it is working with. Selecting a clip loads it into the preview, which plays only inside the marked in-to-out range and draws a strip of real frames along the timeline for navigation. Dragging the two handles sets the kept range, typing in the overlay panel places a title on the preview, and adding clips to the merge list fixes their play order. When the student presses export, the app assembles one FFmpeg filter graph — trim and setpts for each kept segment, atrim for its audio, concat to join them, and drawtext to burn the title — and runs it, writing a standard MP4 file with H.264 video and AAC audio.

  1. The student imports MP4 or MOV clips into the media bin; ffprobe reads each file's resolution, frame rate, duration and codecs and shows them beside the clip name.
  2. Selecting a clip loads it into the preview and draws a filmstrip of real decoded frames along the timeline, with time ticks every 2 seconds for navigation.
  3. The student drags the two blue handles (or moves the sliders) to set the in and out points; frame-step buttons nudge either point by exactly 1 frame at 30 frames per second.
  4. In the text overlay panel the student types the title, picks its size from 24 to 72 points, its position and colour, and whether it shows for the whole clip or only the first 3 seconds; the preview draws it live.
  5. Trimmed clips are added to the merge list in play order, each carrying its own in and out points; the list can be edited until the sequence reads right.
  6. Export assembles the FFmpeg filter graph from the merge list and overlay settings, shows the exact command for review, runs it, and writes the finished MP4 file with H.264 video and AAC audio.

Tech stack:

  • Python 3, Tkinter desktop GUI
  • FFmpeg 8.1 (trim · concat · drawtext filters)
  • ffprobe (clip resolution · frame rate · duration)
  • MP4 container · H.264 video · AAC audio
  • HTML · CSS · JavaScript (browser preview)
  • DejaVu Sans Bold (overlay font file)
  • Git (version control)
Parameter Value
Input formats MP4 and MOV containers (design target)
Output format MP4 with H.264 video and AAC audio
Sample clip 1 1280 × 720 pixels, 30 fps, 10.0 s duration (measured)
Sample clip 2 1280 × 720 pixels, 30 fps, 8.0 s duration (measured)
Trim precision 1 frame (1/30 s at 30 fps)
Text overlay size 24–72 pt (design range)
Text overlay positions 3 positions (top, centre, bottom)
Overlay colours 4 colours (white, yellow, light blue, coral)
Clips merged in one export 2 clips (tested in the demo build)
Verified render Two 4.0 s segments plus a text overlay rendered to an 8.000 s MP4 in 4.1 s wall time (measured on the demo-build machine, single render)
Default encode CRF 23, preset veryfast (FFmpeg settings used by the app)
Engine FFmpeg 8.1 (verified in the demo build)
Runtime Python 3 with FFmpeg installed on the same machine

Project features

The editor's four capabilities that matter most are the trim timeline, the text overlay studio, the merge list, and the export command preview. The trim timeline shows the clip as real frames with two draggable handles marking the in and out points, plus frame-step buttons that nudge either point by one frame, so a cut lands exactly where the speaker starts or stops. The text overlay studio types a title, sets its size from 24 to 72 points, places it at the top, centre or bottom, and picks one of four colours, with an option to show it for the first 3 seconds. The merge list queues trimmed clips in the order they should play, each with its own in and out points. And the export panel prints the exact FFmpeg command the app is about to run, so the student can read and explain every step of the render before committing to it.

  • [Drag-to-trim timeline] Two draggable handles on a filmstrip of real frames set the in and out points; sliders mirror the same values, and frame-step buttons nudge either point by exactly 1 frame at 30 frames per second.
  • [Text overlay studio] Type the title, set its size from 24 to 72 points, place it at the top, centre or bottom of the frame, and pick white, yellow, light blue or coral, with a dark box behind the text for readability.
  • [Overlay timing window] Show the title across the whole kept clip or only for the first 3 seconds, so it works as an opening title card instead of sitting on the entire video.
  • [Multi-clip merge list] Queue trimmed clips in the order they should play, each keeping its own in and out points; remove or re-add clips until the sequence reads right.
  • [Loop preview inside the kept range] The preview plays only between the in and out points and loops there, so the student hears and sees exactly what the export will contain — nothing outside the range.
  • [FFmpeg command preview] Before rendering, the export panel shows the exact FFmpeg command the app will run, with a one-click copy button, so the pipeline is visible and explainable.
  • [One-click MP4 export] Export writes a standard MP4 file with H.264 video and AAC audio at CRF 23 (design default) with the veryfast preset, and the app reports progress while FFmpeg runs.

What is included

  • Complete Python desktop app source code (Tkinter GUI, FFmpeg subprocess calls, ffprobe metadata reading)
  • Working browser preview of the editor with the 2 sample clips, draggable trim handles and export command generator
  • Sample clips: fest-opening (10.0 s) and desk-work (8.0 s), both 1280 × 720 at 30 fps
  • User guide: installation, importing clips, trimming, text overlays, merging, exporting
  • Project report PDF (background, FFmpeg pipeline, methodology, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (trim filter, concat filter, drawtext, keyframes, codecs)

Limitations & prerequisites

  • Merging clips with different resolutions or frame rates forces a re-encode, so mixed phone and screen recordings take longer to export than matching clips.
  • Frame-accurate trims re-encode the kept range; the faster stream-copy shortcut with -ss and -t can only cut at keyframes, so it is not used for the final render.
  • Text overlays use one installed font file per export; a different font needs its font file present on the machine.
  • No transitions, colour grading, effects or audio mixing — the app keeps each clip's own audio track as recorded.
  • Very large 4K source files render slowly on a basic laptop; the bundled sample clips are 720p by design.
  • The browser preview cannot render or download a video file; rendering needs the desktop app with FFmpeg installed.

Frequently Asked Questions

What does this desktop video editor actually do?

It trims video clips to a chosen in-to-out range, joins several trimmed clips in a chosen order, and burns a text title onto the finished video, all through FFmpeg. The Python desktop app gives you a timeline with draggable handles, a live preview, a text overlay panel, and an export step that shows the exact FFmpeg command before it renders the MP4. The finished file is a standard MP4 that plays on phones, laptops and browsers without any special player.

Does the browser demo export finished video files?

No. The browser demo is a working preview of the editor interface: it plays the two sample clips, lets you drag the trim handles, renders the text overlay on the preview, and writes the exact FFmpeg command for your edit. It does not render or download a video file; the delivered Python desktop app runs that command with FFmpeg and writes the finished MP4. The preview exists so you can try the editing flow before the app is installed.

Which video formats can it open and export?

It opens MP4 and MOV files and exports MP4 files with H.264 video and AAC audio, the combination that plays on practically every phone, laptop and browser. Clips that differ in resolution or frame rate are normalised by re-encoding during the merge, because the concat filter needs matching streams, so mixed phone and screen recordings still join cleanly. Other containers can be added on request if FFmpeg can decode them.

How accurate is the trimming?

Trims are frame-accurate: the app uses FFmpeg's trim filter with setpts to reset timestamps, so a cut can land on any single frame, and the frame-step buttons move either point by exactly one frame at 30 frames per second. The faster stream-copy shortcut with -ss and -t is not used for the final render, because it can only cut at keyframes and would shift the cut by a few frames. A builder note from the demo build: that keyframe limit is the single most common reason a quick trim lands in the wrong place.

Can the text overlay be styled and timed?

Yes. You type the title, choose a size from 24 to 72 points, place it at the top, centre or bottom of the frame, and pick white, yellow, light blue or coral, with a dark box behind the text for readability. You can also limit the overlay to the first 3 seconds of the kept clip, so it works as an opening title card that appears only at the start. The overlay is burned into the frames by FFmpeg's drawtext filter, so it shows in every player.

Is this project suitable for a final-year project?

Yes, for Computer Science and Information Technology programmes. It demonstrates desktop GUI design, media file handling, process control through FFmpeg subprocess calls, and filter-graph thinking, all in a project a student can demo live in a viva by trimming a real clip, adding a title, and exporting the finished MP4. The report documents the FFmpeg pipeline step by step, and the PPT and Q&A sheet cover the viva questions on filters, keyframes and codecs.

Components & software requirements
  • Python 3, Tkinter desktop GUI
  • FFmpeg 8.1 (trim · concat · drawtext filters)
  • ffprobe (clip resolution · frame rate · duration)
  • MP4 container · H.264 video · AAC audio
  • HTML · CSS · JavaScript (browser preview)
  • DejaVu Sans Bold (overlay font file)
  • Git (version control)
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation