← all repositories
nihui/rife-ncnn-vulkan

Turn 24fps into 48fps without installing CUDA

A portable, dependency-free tool that synthesizes intermediate video frames using Vulkan-accelerated neural networks.

rife-ncnn-vulkan
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

What it does

rife-ncnn-vulkan takes two consecutive frames and generates the frame that should exist between them, doubling (or otherwise scaling) your video’s frame rate. It wraps the RIFE interpolation model in a standalone executable that runs on Intel, AMD, and Nvidia GPUs via Vulkan — no PyTorch, no CUDA runtime, no Python environment required.

The interesting bit

The project sits on Tencent’s ncnn inference engine, which is aggressively cross-platform and mobile-friendly. That portability is the real trick: you get GPU-accelerated frame synthesis in a single binary that works on Windows, Linux, and macOS. The multi-device scheduling is unusually flexible — you can simultaneously throw work at CPU, discrete GPU, and integrated GPU with per-device thread counts.

Key highlights

  • Ships as a portable executable with models bundled; no external ML runtime
  • Supports 11 upstream RIFE variants including anime-tuned and UHD models
  • Multi-GPU and multi-device execution with granular thread control (-j load:proc:save)
  • Spatial and temporal TTA modes for quality-hungry users (-x, -z)
  • UHD mode (-u) for high-resolution content
  • FFmpeg workflow documented for full video pipeline

Caveats

  • The README warns that crashes may require GPU driver updates, suggesting Vulkan compatibility isn’t guaranteed on older or neglected systems
  • No built-in video I/O: you must extract frames with FFmpeg and re-encode afterward
  • Default model is rife-v2.3; newer models exist but you’ll need to check whether they suit your content

Verdict

Worth a look if you want frame interpolation without the typical Python/CUDA dependency headache — especially for batch processing or deployment on machines you don’t control. Skip it if you need an all-in-one video editor with preview and timeline; this is a sharp, narrow tool for frame generation only.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.