Cut sponsor segments from videos using SponsorBlock
Project description
zncut
the fastest command line tool for removing ads from pre-downloaded youtube videos with frame-accurate cuts
Dependencies
- Python 3.7+
- ffmpeg + ffprobe (
brew install ffmpegon macOS)
Usage
python3 zncut.py --input path/to/video.mp4 --id VIDEO_ID --output path/to/output.mp4
Arguments
| Argument | Description | Required |
|---|---|---|
--input |
Path to the video file | Yes |
--id |
YouTube video ID | Yes |
--output |
Output file path | No (defaults to <input>_zncut.<ext>) |
Example
python3 zncut.py --input path/to/video.mp4 --id dQw4w9WgXcQ --output out.mp4
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
zncut-0.1.0.tar.gz
(4.2 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
zncut-0.1.0-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file zncut-0.1.0.tar.gz.
File metadata
- Download URL: zncut-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
639e53cbf42aaca1b0270e7611f198b0f421a3fcd446db4c94a3d5ac5fec6488
|
|
| MD5 |
d5ab9e7455bfa3bceab66e7edce10a01
|
|
| BLAKE2b-256 |
05507a881f48af4c60d96b20751c9320063f0bcdfcfc82c16a4ec3a36c6de779
|
File details
Details for the file zncut-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zncut-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be91738623ac32beaea90596d5e66dfc38e3b5be5e1e1b3a4ea05279afb330ba
|
|
| MD5 |
dd1cd287147e445406936ef7fae8ffca
|
|
| BLAKE2b-256 |
7c847d18fb077793376d7ba1810d99e01ebccc0e7d65e0762961e068b594a6c0
|