Skip to main content

FFCut: Cutting Video with FFMpeg for Human Beings

Project description

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

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

ffcut-0.1.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

ffcut-0.1.2-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page