Selur's Little Message Board

Full Version: RIFE Manual Scene Cut
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
As you may have seen, another user of RIFE proposed to specify a list of frames corresponding to scene changes instead of relying on automatic scene detection. Is there a way to inject these frame numbers using Hybrid? The automatic scene cut is not particularly reliable over a long show.

https://forum.doom9.org/showthread.php?t=185379
For me, personally, using 0.10 usually works fine, and I prefer adjusting the scene change detection than having to manually search for all key frames.
I could write code for it, but it seems like an awful lot of trouble. (Hybrid would basically use the code that was posted in the thread.)
Got an example where adjusting the threshold doesn't work?

Cu Selur
I've attached a clip with glitches at the following timecodes
00:00:14:02
00:00:19:02
00:00:27:03

https://we.tl/t-bWGEuIfvkK
Will look at it after work. (I assume that is a source that will create glitches even with adjusted scene threshold and not some already messed up content.)

Cu Selur
Ah, I see the problem you have.
You are not cropping your source and you have large black bars and additionally large portions of the image do not change, thus most of the image stays unchanged. Smile
You would have to lower the scene threshold way more.
0.08 works fine here for all but the last scene change, the one would require 0.04. (without cropping)
=> will added a new option Smile

Cu Selur
Uploaded a new dev version, which should support instead of using misc.SCDetect specifying the scene changes manually.

Cu Selur
Thank you for this, I hope to test this soon and let you know how I get on!
(19.11.2024, 18:25)Selur Wrote: [ -> ]and I prefer adjusting the scene change detection

Is there a way to check easily how it goes?
Using the preview,.. Huh
(23.11.2024, 19:33)Selur Wrote: [ -> ]Using the preview,..  Huh

To be honest, I never used the preview before and don't know what it can do for me. But regarding doing RIFE with TensorRT, it will take a long time doing the preview on my machine. So my thought was, maybe I can somehow check what misc.SCDetect does on my content, without doing the frame-interpolation, as an easy understandable preview as first step?

And besides that, I would like to not have the doubled same frame at a scene change. Right now I have to delete it later with another program and do another encode.
Pages: 1 2