Skip to main content

Command line tools for quick video editing.

Project description

video-cli

Command line tools for quick video editing.

Video-cli is made aiming at editing video with a one-line command on a terminal. More detailed video editing can be done with other Python tools (e.g., MoviePy) and GUI video editors (e.g., iMovie), which is not the goal of this tool.

Installation

pip install video-cli

Commands

video-retime: Video Retiming (Speed Up/Down)

video-retime data/2018-11-02_14-44-14.mp4 --retime 2
video-retime data/2018-11-02_14-44-14.mp4 --retime 2 --inplace

video-togif: Create a GIF

video-togif data/2018-11-02_14-44-14.mp4 --fps 2 --duration 5
video-togif data/2018-11-02_14-44-14.mp4 --fps 2 --duration 5 --resize 0.5

video-trim: Video Triming

video-trim data/2018-11-02_14-44-14.mp4 --start 3 --duration 5

video-tile: Video Tiling

video-tile data/2018-11-02_14-44-14.mp4 data/2018-11-02_14-44-14.mp4 --shape 1x2 -o tile.mp4

video-toimg: Convert a Video to Images

video-toimg data/2018-11-02_14-44-14.mp4 --per 10 --start 3 --duration 10

video-tovideo: Convert to Video

video-tovideo data/2018-11-02_14-44-14.mp4

video-resize: Video Resizing

video-resize data/2018-11-02_14-44-14.mp4 --scale 0.5

video-fromimg: Create a Video from Images

video-toimg data/2018-11-02_14-44-14.mp4
video-fromimg --input-files "data/2018-11-02_14-44-14/*.jpg" --fps 30 out.mp4

video-crop: Crop a region of a Video

video-crop data/2018-11-02_14-44-14.mp4

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

video-cli-1.3.3.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file video-cli-1.3.3.tar.gz.

File metadata

  • Download URL: video-cli-1.3.3.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for video-cli-1.3.3.tar.gz
Algorithm Hash digest
SHA256 ad0a3bd2c03d89475077892067cb001880a7c645fe500c925cf86025194dbf2d
MD5 626684e4a5ded29076c6a6f61e21e291
BLAKE2b-256 c6159f57afcf644922e41264208eaa492ef4c50cbb6c687462b075e00a921b6f

See more details on using hashes here.

Provenance

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