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)
- Host: GitHub
- URL: https://github.com/Mr-Z-2697/ddfi-rife
- Owner: Mr-Z-2697
- Created: 2020-11-17T09:50:29.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T12:09:10.000Z (over 1 year ago)
- Last Synced: 2024-07-30T18:28:44.149Z (about 1 year ago)
- Topics: frame-interpolation, rife, rife-ncnn-vulkan, video, video-processing
- Language: Python
- Homepage:
- Size: 14.6 MB
- Stars: 29
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.chi.md
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版:

svp版:
