Splice similar frames from videos
Effortlessly shorten videos.
abridge can automatically shorten video files by removing parts from the video
where not much happens. This is great for making timelapse videos more engaging
and removes the need for manual editing to cut these dead spots from the videos.
pip install abridge
abridge makes use of
moviepy, which releys on
ffmpeg should be installed
when the package is installed, but this may not work on some systems.
adbridge can be run as a docker image, which gaurentees it will run
on all systems.
docker pull freshollie/abridge:latest
docker run freshollie/abridge
usage: abridge [-h] [-w workers] [-o outdir] [-t diff-threshold] [-r repetition-threshold] clip [clip ...] Effortlessly shorten videos positional arguments: clip Clip to cut or glob group optional arguments: -h, --help show this help message and exit -w workers Number of clip processors -o outdir -t diff-threshold Difference threshold required between frames for a frames to be considered different -r repetition-threshold Number of frames in a row required to make a cut
from abridge import abridge_clip abridge_clip("/path/to/clip")
abridge project is managed and packaged by
poetry install to download the required packages for development
poetry run pre-commit install should be run to install the pre-commit
scripts which help with ensuring code is linted before push.
Tests are written with
pytest and can be run with
abridge is linted with
pylint and formatted with
mypy is used throughout the project to ensure consitent types.
make lint will check linting, code formatting, and types
make format will format code to required standards
- Test coverage on processor
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size abridge-0.1.4-py3-none-any.whl (6.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size abridge-0.1.4.tar.gz (5.8 kB)||File type Source||Python version None||Upload date||Hashes View|