videobeaux

Logo

The friendly multilateral video toolkit built for artists by artists.

View the Project on GitHub schwwaaa/videobeaux

frame_interpolate

:contentReference[oaicite:1]{index=1}

Description

Generates smooth slow-motion or higher-FPS video by creating intermediate frames using motion-compensated interpolation.

Purpose

frame_interpolate creates additional frames between existing frames to produce:

It supports multiple interpolation engines (RIFE, DAIN, FFmpeg Minterpolate), allowing both high-quality deep-learning interpolation and traditional optical-flow methods.

How It Works

  1. Engine Selection
    Choose interpolation backend:
    • rife (AI-based, fast, high quality)
    • dain (AI-based, depth-aware interpolation)
    • ffmpeg (classical minterpolate optical flow)
  2. Interpolation Strategy
    • fps: Defines the exact output frame rate.
    • multiplier: Doubles, triples, or otherwise multiplies the existing frame count.
  3. Optical Flow Configuration (FFmpeg engine)
    • mi_mode, me_mode, mc_mode configure interpolation, motion estimation, and motion compensation logic.
    • vsbmc enables virtual scene-based motion compensation.
    • scd toggles scene-change detection to prevent warping across hard cuts.
  4. AI Engine Configuration
    • rife_bin and dain_bin specify executable paths or binaries for AI interpolation engines.
  5. Encoding Output is encoded using CRF + preset settings, with optional audio copying.

Program Template

videobeaux -P frame_interpolate \
  -i input.mp4 \
  -o output.mp4 \
  --outfile VALUE \
  --engine VALUE \
  --fps VALUE \
  --multiplier VALUE \
  --mi_mode VALUE \
  --me_mode VALUE \
  --mc_mode VALUE \
  --vsbmc VALUE \
  --scd VALUE \
  --x264_preset VALUE \
  --crf VALUE \
  --copy_audio VALUE \
  --rife_bin VALUE \
  --dain_bin VALUE

Arguments

Real World Example

videobeaux -P frame_interpolate \
  -i myvideo.mp4 \
  -o frame_interpolate_styled.mp4 \
  --outfile EXAMPLE \
  --engine EXAMPLE \
  --fps EXAMPLE \
  --multiplier EXAMPLE \
  --mi_mode EXAMPLE \
  --me_mode EXAMPLE \
  --mc_mode EXAMPLE \
  --vsbmc EXAMPLE \
  --scd EXAMPLE \
  --x264_preset EXAMPLE \
  --crf EXAMPLE \
  --copy_audio EXAMPLE \
  --rife_bin EXAMPLE \
  --dain_bin EXAMPLE

Technical Notes

Quality Tips