Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wkentaro/moviepy-cli
Command line interface for MoviePy.
https://github.com/wkentaro/moviepy-cli
cli command-line python video
Last synced: 12 days ago
JSON representation
Command line interface for MoviePy.
- Host: GitHub
- URL: https://github.com/wkentaro/moviepy-cli
- Owner: wkentaro
- Created: 2021-07-02T05:55:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-06T11:19:53.000Z (about 3 years ago)
- Last Synced: 2024-11-01T10:35:09.638Z (19 days ago)
- Topics: cli, command-line, python, video
- Language: Python
- Homepage:
- Size: 1.21 MB
- Stars: 26
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Moviepy-cli is designed to **apply several video editing in a single command**
with [Moviepy](https://github.com/Zulko/moviepy) as an alternative to [Video-cli](https://github.com/wkentaro/video-cli).## Installation
```bash
pip install moviepy-cli
```## Usage
```bash
moviepy --start 8 --retime 2 data/annotation.mp4# edit video files in 4 processes maximum
echo *.mp4 | xargs -n1 -P4 moviepy --start 8 --retime 2
``````bash
usage: moviepy [-h] [--start START] [--end END] [--retime RETIME] [--inplace]
[--scale SCALE] [--height HEIGHT] [--width WIDTH] [--fps FPS]
[--output-file OUTPUT_FILE]
input_filepositional arguments:
input_file input fileoptional arguments:
-h, --help show this help message and exit
--start START start time (default: None)
--end END end time (default: None)
--retime RETIME retime (default: None)
--inplace, -i inplace (default: False)
--scale SCALE scale (default: None)
--height HEIGHT height (default: None)
--width WIDTH width (default: None)
--fps FPS fps (default: None)
--output-file OUTPUT_FILE, -o OUTPUT_FILE
output file (default: None)
```