Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.11 KB

CutLang

Language describing how to cut up videos. Capable of very basic video editing on a single file.

Requirements

Usage

Using a built executable from the ICut project (icut.exe):

icut VIDEO PROGRAM [flags?]

Example:

icut video.mp4 "00:30-01:00"

Output would be saved to video_cut.mp4.

Flags

  • --vertical: crops output video to a 9:16 ratio.

Queries

Currently supports the following:

  • Cutting
    • Extract video between 30 seconds and 1 minute: 00:30-01:00
    • Extract video between a precise time and the end of the video: 32:12.325-END
      • Note: this will only cut on a video keyframe, so may appear inaccurate.
  • Concatenating
    • Join two cuts together: 00:30-01:00 + 02:00-03:00
  • Speeding up
    • 5x speed: 00:30-01:00 >> 5
  • Slowing down
    • 0.2x speed (5 times as slow): 00:30-01:00 << 5
  • Brackets
    • Concatenate two cuts, then speed them up by 2x: (00:30-01:00 + 02:00-03:00) >> 2