Skip to main content

Simple and fast video clip cutting by start and end time

Project description

qlip

Simple and fast video clip cutting by start and end time.

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 quick-video-clip

Install with GUI support

pip install quick-video-clip[gui]

Usage

GUI

qlip
  1. Click "Browse" to select a video
  2. Drag the timeline to preview and find your start/end points
  3. Click "Set" to set start/end times
  4. Click "Cut"

CLI

# Fast mode (default)
qlip input.mp4 00:00:30 00:02:00 output.mp4

# Precise mode
qlip input.mp4 30 120 output.mp4 --precise

# Show video info
qlip 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.3.0.tar.gz (10.8 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.3.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quick_video_clip-0.3.0.tar.gz
  • Upload date:
  • Size: 10.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c1462287a3a576165afe17594765aceef4898ddcdc49182f988bde4a7f3344af
MD5 77f63ba38010ad56afc93494f1e9d3c7
BLAKE2b-256 aadfff8e2a2e9237d9057772b8bfd2ab454d8562ab3993128757b5a17100f2ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quick_video_clip-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 897a64749f9572f321dff7c4f9587c4aabad741752b8d06cd4a443e31ead4281
MD5 610e40a1395e9e14c4b42872ce6ee4b1
BLAKE2b-256 7c2f2bcaba0bd4c3bd6afa3b2313b49ab5e7d8b30e5d22c61638821f3d92f5e9

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