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
- Click "Browse" to select a video
- Drag the timeline to preview and find your start/end points
- Click "Set" to set start/end times
- 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
Release history Release notifications | RSS feed
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.2.5.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quick_video_clip-0.2.5.tar.gz.
File metadata
- Download URL: quick_video_clip-0.2.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a49ba6dd22a40a79bd1d0926ba5e6866758c15923ee8dfd659393ffa9882e3
|
|
| MD5 |
74fda4f2a805354e5c1350f72e734828
|
|
| BLAKE2b-256 |
ded8f0de87cef04b5a1e49e22dbdd17ead3f64c0d42a2914718fea58d9bf5ac0
|
File details
Details for the file quick_video_clip-0.2.5-py3-none-any.whl.
File metadata
- Download URL: quick_video_clip-0.2.5-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47990bd252023590404bb8caca9ee5c6fcdf58671739c4695675d00c9adcf507
|
|
| MD5 |
f03f0fcff13284e97d50c32117e0f2c8
|
|
| BLAKE2b-256 |
8e82cfec4942c0ac42b51ea66f217522dc801e3950d576c2ef35d34965dee973
|