ZeroHackz/OpenFlowFrames

插件Plugin 原生Native ⭐ 4 GPL-3.0 其他Other

This project is a fork of the original Flowframes by n00mkrad. Huge thanks to him for creating and maintaining the powerful core of this application!

catalog 简介 / catalog descriptioncatalog description:Video Frame Interpolation for Windows

项目介绍Project Overview

OpenFlowFrames 是 DSH 插件,基于 RIFE 模型提供视频与帧序列的帧率插值。支持 2x/4x 等多倍插值,输出 H.264 MP4 或 PNG 序列,运行于 AMD、Intel 或 NVIDIA GPU(通过 Vulkan,无需 CUDA),模型已随仓库打包。提供 flowframes_probeflowframes_interpolate 两个工具,适合代理在脚本或流水线中执行无头插值。注意:插值质量受原视频帧间运动与分辨率影响,运动模糊或大幅遮挡场景可能产生伪影。

OpenFlowFrames is a DSH plugin for video and frame-sequence interpolation using RIFE models. It supports 2x/4x factors, outputs H.264 MP4 (with audio) or PNG sequences, and runs on AMD, Intel, or NVIDIA GPUs via Vulkan without CUDA, with models bundled in the repo. Two tools, flowframes_probe and flowframes_interpolate, let agents run headless interpolation from scripts or pipelines. Note: output quality depends on source motion and resolution; heavy motion blur or large occlusions may introduce artifacts.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin add github:ZeroHackz/OpenFlowFrames

ZeroHackz/OpenFlowFrames 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

OpenFlowFrames - Video Frame Interpolation for Windows

This project is a fork of the original Flowframes by n00mkrad. Huge thanks to him for creating and maintaining the powerful core of this application!

This fork is a lean, fully free and open reimagining: a modern Python GUI around the latest RIFE models — no Patreon tiers, no paid builds, no legacy codebase.

Screenshot

Main interface: pick a video or a folder of frames, choose a model and factor, interpolate.

Main interface

✨ Features

  • Latest RIFE Models: RIFE 4.9 through 4.26 bundled in the repo — no external model server, fully self-contained.
  • Any GPU: Runs on AMD, Intel, and NVIDIA via rife-ncnn-vulkan — no CUDA or PyTorch required.
  • Modern GUI: A clean CustomTkinter dark-mode interface — no install needed beyond Python.
  • Video or Frame-Folder Input: Interpolate a video file, or a directory of PNG/JPG/WebP frames with a custom input framerate.
  • MP4 or PNG Output: Encode to H.264 MP4 (audio preserved) or export the interpolated frames as a PNG sequence.
  • Robust Frame Handling: Mixed resolutions and alpha/16-bit PNGs (common in AI-generated frames) are normalized automatically.
  • Portable Windows Executable: Build a self-contained portable app with one script — no Python needed on the target machine.
  • No Monetization: Fully free; no Patreon/PayPal integrations.

💻 How to Use (Easy Way)

Python GUI (recommended):

  1. Clone this repository:
    git clone https://github.com/ZeroHackz/OpenFlowFrames.git
    
  2. Double-click launcher-gui.bat — it sets up a virtual environment on first run and launches the GUI.

Portable build:

Run build-portable.bat. The result in dist/ is fully self-contained:

dist/
  OpenFlowFramesPortable.exe
  packages/av/           (ffmpeg)
  packages/rife-ncnn/    (interpolator + bundled RIFE models)

Copy the dist folder anywhere and double-click the exe.

How It Works

  1. ffprobe reads the input framerate and frame count (or you provide the FPS for a frame folder).
  2. ffmpeg extracts frames (skipped for frame-folder input).
  3. rife-ncnn-vulkan interpolates to frames × factor.
  4. ffmpeg encodes H.264 at the multiplied framerate, copying the original audio — or the frames are exported as PNGs.

⌨️ Headless CLI

The same engine runs without the GUI — from scripts, CI, or agents:

python cli.py --probe --input C:\clips\dance.mp4
python cli.py --input C:\clips\dance.mp4 --factor 2 --model "RIFE 4.9" --output out.mp4
python cli.py --input C:\clips\frames --fps 24 --factor 4 --out-mode png --output out_frames

🤖 DeepSeek Harness Plugin

This repository is also a DeepSeek Harness (dsh) plugin bundle — install it into a dsh profile and an agent can interpolate video directly through two tools:

  • flowframes_probe — inspect a video or frame directory (resolution, fps, frame count, audio).
  • flowframes_interpolate — run RIFE interpolation headless (MP4 with audio, or PNG frames). Works on CPU or any GPU — AMD, Intel, or NVIDIA, no CUDA needed.
dsh plugin add github:ZeroHackz/OpenFlowFrames

Requirements on the machine running dsh: Python 3.10+ (or set OPENFLOWFRAMES_PYTHON). The bundled packages/rife-ncnn model files ship with the repo, so no model downloads are needed.

Example prompts for the agent

  • Interpolate E:\clips\dance.mp4 to 60fps with RIFE 4.9 and save it as dance-60fps.mp4
  • This folder of AI-generated frames is at 24fps — make a smooth 4x version, then export it as an MP4
  • Probe every video in E:\clips and list their fps and frame counts
  • Convert this 24fps clip to 120fps slow-motion footage and matte out the foreground afterwards (pairs with the GUI-SAM2Matting plugin)

Credits

上一个 Prev dsh-pluginmanager 下一个 Next dsh-remote-ssh