Automatically cut video clips based on CSV input

Jakub Valenta da2a329a5c Update requirements.txt 4 months ago
video_composer 39bc7e7ee9 Clean up print output 4 months ago
.gitignore 5cddea2f4b Initial commit 3 years ago
LICENSE 5cddea2f4b Initial commit 3 years ago
NOTICE 5cddea2f4b Initial commit 3 years ago
README.md 0c9187e497 Update README 4 months ago
requirements.txt da2a329a5c Update requirements.txt 4 months ago
setup.py 5f17916c24 Bump version to 1.0.1 4 months ago
video-composer 5cddea2f4b Initial commit 3 years ago

README.md

Video Composer

Batch cut and compose video clips.

Installation

  1. Install Python 3.
  2. Install Video Composer as a pip package:
pip install --user --upgrade .

This will make the executable video-composer available globally.

Usage

Create a semicolon-separated CSV file describing the desired video clip composition. Example:

my_composition.csv:

Dune.avi;00:12:24,677;00:12:40,860
Foo bar.mp4;01:00:03,000;01:05:00,000

Then call Video Composer:

video-composer --input my_composition.csv --clips src --output export

This will:

  1. Search for video Dune.avi in directory src.
  2. Cut a part from this video starting at time 00:12:24,677 and ending at 00:12:40,860.
  3. Render the cut clip into directory export.
  4. Then the same will be done for the video Foo bar.mp4.

Help

See the full list of available options:

video-composer -h

Contributing

Feel free to remix this piece of software. See NOTICE and LICENSE for license information.