This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

RIFE Manual Scene Cut
#11
If you want morphing on scene changes instead, simply disable the scene change detection.
About the seeing what misc.SCDetect does, you could add some custom code to show whether the current frame is tagged as _SceneChangePrev=1 or not and thus is the last frame before a scene change.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#12
(24.11.2024, 14:11)Selur Wrote: If you want morphing on scene changes instead, simply disable the scene change detection.

No! I would like to not have that doubled frame there, so later I just delete that and do another encode.

And having custom code doesn't sound like a me thing, hardly know what I am doing here. Big Grin
Reply
#13
Hi selur, the dev worked perfectly and did a perfect job of identifying the scene cuts.

My question now, when RIFE detects a scene cut it repeats the frame to prevent a garbled frame between the scene change. However, on a panning shot, it comes across as a stutter as the final frame is duplicated (or very similar). 

Is there a way for the system to anticipate the final frame and interpolate into it the same as it does with all the other frames? So that a panning shot ends with the same rate of movement rather than slowing down abruptly on the last frame? Currently using RIFE 4.15  (ensemble false) for reference. I've seen there is a blend function rather than duplicate on a scene cut, does that blend the final frame of the scene to the penultimate frame, or the final frame to the next scene frame?
Reply
#14
Nope, RIFE itself is blindly interpolating between frames.
The scene change detection basically just cuts the scene into chunks, feeds these chunks into RIFE and then adds duplicates around the scene changes to meet the desired frame rate.
You would have to ask https://github.com/styler00dollar/Vapour...cnn-Vulkan to add something like what you want to the code. Smile

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#15
Thank you for explaining, I'll reach out and see if they have a magic solution for my use case Smile

Just a thought Selur, if RIFE is just blindly interpolating between two frames, what if the frame rate I set was just enough to generate an extra frame? I can't think off the top of my head exactly how that would work but though't I'd propose it if it could generate an idea.
Reply
#16
You would have to read the code to know for sure what exactly happens in which edge case.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)