FFCut: Cutting Video with FFMpeg for Human Beings
FFMpeg is a great tool, but cutting several parts of a video with it can become a complex task. This small script serves to help with it.
Install it from PyPI:
pip install --user ffcut
Then use like:
~/.local/bin/ffcut -i file1.mp4 -s ..0:10 -s 0:30..+20 -s 1:30..2:30 -s 3:00.. -i file2.mp4 -s 5:00.. -o final.mp4
Here you first specify input files with -i, then slices to take from each file with -s using format [begin]..[end] (both parts being optional).
You can also merge two or more files in one:
~/.local/bin/ffcut -i file1.mp4 -i file2.mp4 -o result.mp4
Use --copy flag to avoid re-encoding (may cause problems with playback).
Use built-in help for more details:
~/.local/bin/ffcut -h
Metadata
Release files for ffcut 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ffcut-0.1.2.tar.gz | 5.5 kB | Without provenance | Details for ffcut-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ffcut-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for ffcut-0.1.2-py2.py3-none-any.whl |
Total release size: 12.2 kB
Release files / ffcut-0.1.2.tar.gz
| Download URL | ffcut-0.1.2.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5369713b6bbdaa1be7807574ea327f305653ba52d738cf77da8ef230b281b767
|
|
BLAKE2b-256 checksum How to use checksums |
83a28cb40535c43949d18540633b6e72578ce5643902df9a418b7cf5a2500531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ffcut-0.1.2-py2.py3-none-any.whl
| Download URL | ffcut-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
18804fb5eb0f2f5b430c6f1fb3cb2f81e8b6b5510b8beb660a579eee23b1b686
|
|
BLAKE2b-256 checksum How to use checksums |
465ad6afd5bdc25d0b26db5092e31ecb08cf0621b49dfa004dd7f6dfdcef1bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ffcut 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.