View Full Version : An Alternative to Srestore?
parbruek
8th July 2016, 19:54
Pardon my asking, but how feasible would it be to build a plugin to remove ghosting like Srestore, which would require no frame rate information? I was hoping for something that could handle weird frame blending, or changes between blending patterns within the same video.
I was thinking the plugin could subtract frame 1 from frame 2 in increasing percentages, until the differences between adjacent pixels in frame 2 were at a minimum. Then it could take the new frame 2 and subtract it from frame 3, etc.
Would such a plugin be ridiculously slow, or just not as effective as Srestore?
wonkey_monkey
8th July 2016, 20:28
The first problem is that an Avisynth filter must output a fixed number of frames. If you don't know in advance how many frames you're going to end up with, you're already off to a rocky start. It should also allow random access to frames in any order, and should (in an ideal world) always give the same result for any frame.
srestore itself already doesn't do this - if you jump to a different point on the timeline, for a second or two you might get a slightly different result than if you'd played all the way through.
parbruek
9th July 2016, 02:31
Could the filter leave the generated duplicates intact then, and give a count of them at the end?
hello_hello
10th July 2016, 01:32
You're not confusing the double-blend-removal (similar to FixBlendIVTC) with the normal deblending are you?
SRestore doesn't delete the duplicate frames for double-blend-removal. You need to follow it with TDecimate for that.
I'm not sure I've come across much video containing a mixture of blending types, although maybe I just don't do a lot of deblending, but if there's different blending in different sections can you split the encode into sections and apply SRestore differently for each one? Although that does sound tedious.....
Not that I'm complaining, as SRestore is pretty good, but I still have the odd problem with bad frames when using SRestore for double-blend-removal. This time though, I discovered disabling post processing helps as post processing tends to make a bad frame worse. Not that there's a lot of them, but for the occasional job there's a bad frame where the blending pattern changes, or sometimes it's just in a portion of the image. Fading to/from black/white can induce a bad frame too. I just happened to be encoding this one a couple of days ago, so it was still fresh in my mind.
I've tried FixBlendIVTC and another double-blend-removal filter (I can't remember which off the top of my head) and if anything, SRestore is least likely to produce bad frames, but they all do it occasionally. Maybe it's a plugin issue?
Before
https://s32.postimg.org/ila8enukl/before.jpg
After
https://s31.postimg.org/f5n4ede7f/after.jpg
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.