SlowMo CLI Reference

Overview

SlowMo.Cli is a command-line tool for batch processing videos to create slow-motion effects using frame interpolation. It provides all the functionality of the UI version with additional automation capabilities.

Syntax

SlowMo.Cli <input> <output> [options]

Arguments

Argument Description
<input> Path to the input video file
<output> Path to the output video file

Options

Option Description Default
-i, --interpolate <count> Number of frames to interpolate between each original frame. Higher values = slower video.
  • 1 = 2x slower (1 interpolated frame)
  • 2 = 3x slower (2 interpolated frames)
  • 3 = 4x slower (3 interpolated frames)
  • etc.
1
-f, --framerate <fps> Output video framerate. If not specified, the framerate is calculated based on interpolation count to maintain smooth playback. Auto
-c, --codec <codec> Output video codec:
  • H264 - H.264/AVC (recommended)
  • HEVC - H.265/HEVC
  • Avi - AVI container
H264
-b, --bitrate <bitrate> Output video bitrate in bits per second. Use for quality control. Auto

Examples

Basic Usage

Slow down a video by 2x (interpolating 1 frame between each original frame):

SlowMo.Cli "C:\Video\input.mp4" "C:\Video\output.mp4" -i 1

4x Slow Motion

Create a dramatic 4x slow-motion video:

SlowMo.Cli "C:\Video\action.mp4" "C:\Video\slow_action.mp4" -i 3

With Custom Framerate

Specify output framerate explicitly:

SlowMo.Cli "C:\Video\input.mp4" "C:\Video\output.mp4" -i 2 -f 60

With HEVC Codec

Use H.265 codec for better quality at smaller file sizes:

SlowMo.Cli "C:\Video\input.mp4" "C:\Video\output.mp4" -i 1 -c HEVC

With Custom Bitrate

Set specific bitrate for consistent quality:

SlowMo.Cli "C:\Video\input.mp4" "C:\Video\output.mp4" -i 1 -b 8000000

High Quality Output

Combine options for highest quality:

SlowMo.Cli "C:\Video\input.mp4" "C:\Video\output.mp4" -i 3 -c HEVC -b 20000000

Processing Multiple Files

Process multiple files using a batch script:

for %%f in ("C:\Videos\*.mp4") do ( SlowMo.Cli "%%f" "C:\Videos\Slow\%%~nxf" -i 2 )

Exit Codes

Code Description
0 Success - video processed successfully
1 Error - general error occurred
2 Invalid arguments

Notes

  • The interpolation uses RIFE (Real-Time Intermediate Flow Estimation) AI model for high-quality frame interpolation.
  • Processing time depends on video resolution and interpolation count.
  • Output bitrate is automatically adjusted to maintain quality if not explicitly specified.
  • Supported input formats: MP4, AVI, MKV, MOV (depends on installed codecs)