Posts: 16
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.553
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: 16
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.553
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.553
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.553
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: 16
Threads: 4
Joined: Feb 2024
Thank you for this, I hope to test this soon and let you know how I get on!