Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th July 2016, 19:54   #1  |  Link
parbruek
Registered User
 
Join Date: Aug 2015
Location: Virginia
Posts: 5
An Alternative to Srestore?

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?
parbruek is offline   Reply With Quote
Old 8th July 2016, 20:28   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,456
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.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 9th July 2016, 02:31   #3  |  Link
parbruek
Registered User
 
Join Date: Aug 2015
Location: Virginia
Posts: 5
Could the filter leave the generated duplicates intact then, and give a count of them at the end?
parbruek is offline   Reply With Quote
Old 10th July 2016, 01:32   #4  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,711
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


After

Last edited by hello_hello; 10th July 2016 at 19:03.
hello_hello is offline   Reply With Quote
Reply

Tags
newbie., plugins, srestore

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.