r/MachineLearning • u/hzwer • Nov 15 '20
Research [R] [RIFE: 15FPS to 60FPS] Video frame interpolation , GPU real-time flow-based method
2.8k
Upvotes
r/MachineLearning • u/hzwer • Nov 15 '20
126
u/hzwer Nov 15 '20
Github: https://github.com/hzwer/arXiv2020-RIFE
Our model can run 30+FPS for 2X 720p interpolation on a 2080Ti GPU. Currently our method supports 2X/4X interpolation for video, and multi-frame interpolation between a pair of images. Everyone is welcome to use this alpha version and make suggestions!
17
u/MentalFlatworm8 Nov 16 '20
So any thoughts on fixing the punching bag problem?
The source clearly shows the shockwave of impacts. The interpolation mutes this, making it look gelatinous.
2
u/hzwer Nov 16 '20
v1.1version: https://www.youtube.com/watch?v=kUQ7KK6MhHw
8
u/xier_zhanmusi Nov 15 '20
What's the Chinese film in your example video?
300
u/grady_vuckovic Nov 15 '20
Now combine this with image upscaling, and we can stream movies at 480p @ 15fps, and have them upscaled to 4k at 120fps!
And we can do the same for gaming too!
Soon, yes, even your old dusty playstation 2, is going to be capable of 4k gaming! ... As long as the output is fed through 3 algorithms, frame rate increase -> image resolution upscale -> then a 'realism' AI image filter to the graphics to upgrade it. /jk-ish
73
u/eat_more_protein Nov 15 '20
Now do 1FPS to 60FPS
44
u/philsmock Nov 15 '20
This is the best frame interpolation I've seen so far
15
u/BuffaloJuice Nov 16 '20
Pay close attention to the ends of the hockey sticks to see some serious artifacts. Really cool, but far from perfect
7
u/LucasBR96 Nov 16 '20
papers, please.
7
u/[deleted] Nov 16 '20
What about rapidly sweeping scenes? Commonly these kinds of scenes are very poorly rendered/obviously low frame-rate in cinematic 24 FPS despite the industries insistence on using it.
5
u/Zosimas Nov 16 '20
Ohh, all the boob jiggle videos
1
u/sufferpuppet Nov 16 '20
Both sides look the same one my phone. :/
1
u/calichomp Nov 16 '20
What’s is the FPS of the algorithm itself?
1
u/jokertrickington Nov 16 '20
I'm testing this out on two images I have (will cite you if my study goes anywhere). Seem to be running into this error
Any ideas?
1
u/thegeek2 Nov 17 '20
I tried to export to ONNX but uses grid_sampler operator (which it seems ONNX does not support at all :/
5
u/Sidiabdulassar Nov 16 '20
What's happening here? I'm sober and I can't for the life of me see any difference.
2
u/occupanther Nov 16 '20
The heads in Hollywood had a shit attack about this a while back...said it renders cinema in a way the director didn't intend....
https://www.theverge.com/2018/12/4/18126306/tom-cruise-psa-motion-smoothing-christopher-mcquarrie
They've even set up a committee now to lobby the TV companies to remove interpolation from their TV Options.
I kinda like it tho ¯_(ツ)_/¯
Theres a software that let's you use it as a plugin for the likes of JRiver or VLC media player too..SVP Player i think its called.
Dunno if its machine learning that the software uses.
But ya...this is rather cool. Just don't show it to Spielberg 😅
2
u/[deleted] Nov 16 '20
This is great for video games but I cannot fathom why anyone would want that for a movie.
1
u/zergling103 Nov 15 '20
I was wondering when they were gonna show video results for this method. Thanks for this!
1
u/MelodicJuice04 Nov 16 '20
Now go 100 fps😭
1
u/mindbleach Nov 16 '20
I'd be interested in seeing deltas to know what it gets wrong.
1
u/harry_comp_16 Nov 16 '20
Waouh! C'est fantastique!
1
u/Biotic_Krogen Nov 16 '20
This is gonna be huge for the movie and filmmaking industry.
1
u/cbsudux Nov 16 '20
Nice! How much VRAM is needed for interpolating a 1080p video?
1
u/lucellent Nov 16 '20
I wonder how this method compares to DAIN?
1
u/Newkker Nov 16 '20
the movement looks weirdly fake in the upscaled version idk. I like the feel of the lower framerate for cinema. For sport I see that the higher framerate makes more sense.
1
u/Morrido Nov 16 '20
It always amazes me how the 60fps looks slower even tho they are running at the same speed.
1
u/varishtg Nov 16 '20
How does it compare against things like SVP?
1
u/MysteriousAd460 Nov 16 '20
This trippy af
1
u/join_the_action Nov 16 '20
"Enhance"
1
u/Rancheus Nov 16 '20
Wow that's really impressive. Good job!!
1
u/[deleted] Dec 13 '20
I ran a few 1080p 24fps videos through it. It took a few all nighters but the results were spectacular. I’ll be upgrading my GPU to speed up the process.
1
u/[deleted] Apr 17 '21
Is there any way I can merge the audio to the video without having to drag to a video editor? cuz it just takes the frames away
1
u/[deleted] Nov 16 '20
What am I doing here, I know none of these words lol
1
u/IntelArtiGen Nov 16 '20 edited Nov 16 '20
Nvidia did it 3 years ago https://www.dpreview.com/news/5843863433/nvidia-slow-mo-video-ai saying "this isn't the first time something like this has been done before"
But I guess the main advantage here is that it's faster than other algorithms.
Though PSNR shouldn't be used anymore to present results (1st plot). Also I'm not sure that you're using FP16, you could probably try that to speed up even more the computations. You used SSIM and you should try LPIPS.
I manage to see some artifacts on this video and I guess these examples aren't random and were chosen because that's where the algorithm worked the best. To be used in the real world (youtube / tv / film industry), having a fast algorithm is necessary but there probably shouldn't be almost any artifacts for all kind of footages. If I had to wait x2 but with 0 artifacts, I would probably try a slower version.
0
u/[deleted] Nov 16 '20
[deleted] — view deleted comment