An open API service indexing awesome lists of open source software.

https://github.com/Mr-Z-2697/ddfi-rife

A clumsy video auto duplication remove and frame interpolate script (mainly for 24fps cfr animation with dup-frames)
https://github.com/Mr-Z-2697/ddfi-rife

frame-interpolation rife rife-ncnn-vulkan video video-processing

Last synced: 7 months ago
JSON representation

A clumsy video auto duplication remove and frame interpolate script (mainly for 24fps cfr animation with dup-frames)

Awesome Lists containing this project

README

          

# ddfi
#### dedup frame interpolate
一个视频自动去重插帧的沙雕脚本 (主要用于有重复画面的恒定24fps动画 (重复画面指一拍二之类的技术带来的结果)

## 基本思路:
1. 去除重复帧 (得到一个理论上最低8fps的vfr视频)
2. 插帧到8倍 (保证最低的8fps也能插到60fps以上)
3. 从去重的视频提取timestamps,计算插入的帧的timestamps
4. 使用计算出的timestamps“校正”视频流
5. 转换到60fps输出

*(对,基本上除了计算新timestamps的部分以外就只是自动执行命令行)*

## 用法:
运行 `ddfi2.py -h` 或 `python ddfi2.py -h` 查看详细

## 例子:
左:此脚本 (rife版) | 右:直接rife (两次,配合mvtools以达到24->96->60)

https://user-images.githubusercontent.com/74594146/142829178-ff08b96f-9ca7-45ab-82f0-4e95be045f2d.mp4

## 缺点:
更多可见瑕疵

rife版:
![IMG](example/artifacts2.webp)
svp版:
![IMG](example/artifacts.webp)