the fastest command line tool for removing ads from pre-downloaded youtube videos with frame-accurate cuts
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
Publishing to PyPI
First time only: pipx install build twine
pyproject-build && twine upload dist/*
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.1.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.1-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file zncut-0.1.1.tar.gz.
File metadata
- Download URL: zncut-0.1.1.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 |
0977297deea1725bc32a35d096945bcde46640b267b1aa5c16382eedf09f84e2
|
|
| MD5 |
aaa0284693510ff0bb6b5e946cc94a8a
|
|
| BLAKE2b-256 |
30ea86fbb7c05d1fcefeecacc634e898fd3b986a5c0acb397ee0095c7555cfb7
|
File details
Details for the file zncut-0.1.1-py3-none-any.whl.
File metadata
- Download URL: zncut-0.1.1-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 |
1957967596fb9eb09417fe1b8fbdb7f1e642149721e69dd87c0fe4628034236e
|
|
| MD5 |
2f73dd4190999343b7d1c3ebf5cbb8ff
|
|
| BLAKE2b-256 |
4ce01765bbf1f8647a372e47bc961cbc2ce10c9a651de6b58d45034e760005a3
|