06.06.2024, 18:28
Supposing that SCDetect() detected the scene changes at frames 81 and 121.
Propainter will use a frame buffer of 80, 40 and 279.
There is a sanity check inside the code that requires that there are at least 4 frames in the buffer before switch to a new buffer.
Supposing that there is a scene change at frame 303. In this case ProPainter will use a first buffer of length 300. The second buffer should contain only the frames 301 and 302 because at frame 303 there is a scene change. Since I consider that only 2 frames are not enough to performer any good estimation (frankly I'm not sure that even 4 frames are enough, I didn't test it), the second batch will contain 300 frames as well.
Dan
Propainter will use a frame buffer of 80, 40 and 279.
There is a sanity check inside the code that requires that there are at least 4 frames in the buffer before switch to a new buffer.
Supposing that there is a scene change at frame 303. In this case ProPainter will use a first buffer of length 300. The second buffer should contain only the frames 301 and 302 because at frame 303 there is a scene change. Since I consider that only 2 frames are not enough to performer any good estimation (frankly I'm not sure that even 4 frames are enough, I didn't test it), the second batch will contain 300 frames as well.
Dan