Posts: 18
Threads: 4
Joined: Feb 2024
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
Posts: 10.565
Threads: 57
Joined: May 2017
19.11.2024, 18:25
(This post was last modified: 19.11.2024, 20:11 by Selur.)
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 18
Threads: 4
Joined: Feb 2024
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
Posts: 10.565
Threads: 57
Joined: May 2017
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.565
Threads: 57
Joined: May 2017
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.
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
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.565
Threads: 57
Joined: May 2017
Uploaded a new dev version, which should support instead of using misc.SCDetect specifying the scene changes manually.
Cu Selur
Posts: 18
Threads: 4
Joined: Feb 2024
Thank you for this, I hope to test this soon and let you know how I get on!
Posts: 40
Threads: 8
Joined: Dec 2023
(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?
Posts: 10.565
Threads: 57
Joined: May 2017
Using the preview,..
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 40
Threads: 8
Joined: Dec 2023
(23.11.2024, 19:33)Selur Wrote: Using the preview,..
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.