FluidFrames.RIFE
FluidFrames.RIFE copied to clipboard
FluidFrames.RIFE | video AI frame-generation app
What is FluidFrames.RIFE?
FluidFrames.RIFE is a Windows app powered by RIFE AI to create frame-generated and slowmotion videos.
Other AI projects.🤓
- https://github.com/Djdefrag/QualityScaler / QualityScaler - image/video AI upscaler app
- https://github.com/Djdefrag/RealScaler / RealScaler - image/video AI upscaler app (Real-ESRGAN)
Credits.
- RIFE - https://github.com/megvii-research/ECCV2022-RIFE
- PraticalRIFE - https://github.com/hzwer/Practical-RIFE
How is made. 🛠
FluidFrames.RIFE is completely written in Python, from backend to frontend. External packages are:
- AI -> torch / onnxruntime-directml
- GUI -> customtkinter
- Image/video -> OpenCV / moviepy
- Packaging -> Nuitka
Requirements. 🤓
- [ ] Windows 11 / Windows 10
- [ ] RAM >= 8Gb
- [ ] Any Directx12 compatible GPU with >= 2GB VRAM
Features.
- [x] Elegant and easy to use GUI
- [x] Video frames generation x2 / x4 / x8
- 30fps => x2 => 60fps
- 30fps => x4 => 120fps
- 30fps => x8 => 240fps
- [x] Video slowmotion x2 /x4
- 30fps => x2_slowmotion => 30fps - 2 times slower
- 30fps => x4_slowmotion => 30fps - 4 times slower
- 30fps => x8_slowmotion => 30fps - 8 times slower
- [x] Resize video before interpolation
- [x] Multiple gpu backend
- [x] Compatible video - mp4, wemb, gif, mkv, flv, avi, mov, qt
Next steps. 🤫
- [x] 1.X versions
- [x] Switch to Pytorch-directml to support all Directx12 compatible gpu (AMD, Intel, Nvidia)
- [x] New GUI with Windows 11 style
- [x] Include audio for processed video
- [x] Optimizing video frame resize and extraction speed
- [x] Multi GPU support (for pc with double GPU, integrated + dedicated)
- [x] Python 3.10 (expecting ~10% more performance)
- [x] Slowmotion function
- [x] 2.X versions
- [x] New, completely redesigned graphical interface based on @customtkinter
- [x] Fluidify multiple videos at once
- [x] Save AI generated frames as files
- [x] Support RIFE AI model updates
- [x] Support for RIFE_Lite AI model (a faster and lighter version of RIFE)
- [ ] 3.x versions (now under development)
- [x] New AI engine powered by onnxruntime-directml (https://pypi.org/project/onnxruntime-directml/)
- [x] Python 3.11 (~10% performance improvements)
- [x] Display frame-generated videos info in the GUI
- [ ] FFMPEG 6.1.1 (latest release)
- [ ] Python 3.12
- [ ] Video frame-generation pause and restart
Some Examples.
Videos
- Original / x4 / x2-slomotion
https://github.com/Djdefrag/FluidFrames.RIFE/assets/32263112/e8e728b4-a2f5-4a74-8f04-5a5977c69fc4
https://github.com/Djdefrag/FluidFrames.RIFE/assets/32263112/21007233-b7ff-4836-a207-cfe3ed23ed28
- Original / x4 / x4-slomotion
https://user-images.githubusercontent.com/32263112/235297757-5daf129e-4e19-4b8b-b6c8-b661ac1028db.mp4
https://user-images.githubusercontent.com/32263112/235297763-26bf9fdd-3d40-4aba-8688-5ef85a532ed0.mp4
https://user-images.githubusercontent.com/32263112/235297767-0adc4635-a43e-4c37-bd15-a24e1dd47f32.mp4
- Original / x2
https://user-images.githubusercontent.com/32263112/222885925-a28122e8-92f8-4e53-b287-4ae17bb177c7.mp4
https://user-images.githubusercontent.com/32263112/222885933-f2e13869-984c-4192-8020-1668035e5cd3.mp4
- Original / x2
https://user-images.githubusercontent.com/32263112/221165739-71dfd957-5d3d-481b-9a26-bb08d5affa6f.mp4
- Original / x2 / x2-slomotion
https://user-images.githubusercontent.com/32263112/228229016-8b26c8f3-8a68-4b5e-b1ff-d52f9be76a03.mp4
https://user-images.githubusercontent.com/32263112/228229044-9d267a66-543e-43ca-890b-db6a70c29d0b.mp4
https://user-images.githubusercontent.com/32263112/228229083-d29a313f-3d28-4cdb-9d97-63410f28a608.mp4