Skip to main content

A fast video cutter with preview support

Project description

Video Cutter

A fast video cutting tool with preview support.

Features

  • Fast Mode - Cut videos in seconds using stream copy (no re-encoding)
  • Preview - Drag the timeline to preview any frame
  • Precise Mode - Frame-accurate cutting with re-encoding
  • GUI & CLI - Both graphical interface and command-line tools

Installation

Requirements

  • Python 3.8+
  • ffmpeg (installed on your system)

Install ffmpeg:

# Windows
winget install --id=Gyan.FFmpeg

# macOS
brew install ffmpeg

# Linux
sudo apt install ffmpeg

Install from PyPI

pip install video-cutter

Install with GUI support

pip install video-cutter[gui]

Usage

GUI (Recommended)

video-cutter-gui
  1. Click "Browse" to select a video
  2. Drag the timeline to preview and find your start/end points
  3. Click "Locate" to set start/end times
  4. Click "Cut Video"

CLI

# Fast mode (default)
video-cutter input.mp4 00:00:30 00:02:00 output.mp4

# Precise mode
video-cutter input.mp4 30 120 output.mp4 --precise

# Show video info
video-cutter input.mp4 --info

Python API

from video_cutter import cut_video

success, message = cut_video(
    "input.mp4",
    "output.mp4",
    "00:00:30",
    "00:02:00",
    mode="fast"
)

Time Format

Format Description Example
HH:MM:SS Hours:Minutes:Seconds 00:01:30 = 1 min 30 sec
Seconds Plain seconds 90 = 1 min 30 sec

Modes

Mode Speed Accuracy Quality Use Case
Fast Seconds +/-1-2 sec Lossless Most scenarios
Precise Minutes Frame-accurate Adjustable Precision needed

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quick_video_clip-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quick_video_clip-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file quick_video_clip-0.1.0.tar.gz.

File metadata

  • Download URL: quick_video_clip-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for quick_video_clip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb5410b94c6a4449a71664b2725d8b4a371383c71f14006f8ce74152d39c76b4
MD5 ce63c5f28302ecf85686eebfa62a6082
BLAKE2b-256 9d95ff118d137f50a1c13cf7d12102c4ec669339a1532ddb5d51c2220b54e10d

See more details on using hashes here.

File details

Details for the file quick_video_clip-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quick_video_clip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 555c291bd659cd19655615eb929b7c2d600e2c093f3fd275a85615ac1acb6a6a
MD5 87cfaf120f8a0da0c402fab7bf3f3394
BLAKE2b-256 723a155561a30fa640066c2b6f60ef7e76e5a4094acda5be6e638aec542bded1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page