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 14th March 2019, 11:31   #841  |  Link
Natty
Noob
 
Join Date: Mar 2017
Posts: 219
can someone help me in removing ghosting/blending in this clip ? i dont understand exactly what type of artifact is this. i tried plain qtgmc + srestore and

QTGMC(Preset = "Slower", InputType=0, NoiseProcess=0)
srestore(mode=4, thresh=44)

but cant fix it completely or reduce it to minimum. heres the sample source and encoded clip

https://www34.zippyshare.com/v/wpy3Lzha/file.html
Natty is offline   Reply With Quote
Old 14th March 2019, 20:11   #842  |  Link
SaurusX
Registered User
 
Join Date: Feb 2017
Posts: 65
I didn't look, but I can immediately recommend not using QTGMC as your detection clip for sretore. The best results come from simpler bobs. However, you can still using the frames generated by QTGMC by running both at the same time like so:

FFmpegSource2("....")
d=TDeint(mode=1, type=2, full=false, tryWeave=true)
QTGMC(Preset = "Slower", InputType=0, NoiseProcess=0)
srestore(frate=23.976, speed=-1, thresh=1, dclip=d, mode=4)

Yes, these are aggressive srestore parameters, so I'd suggest bumping up the thresh value until the filter stops working well. You might want to try mode=-4 also, since sometimes srestore will work better by analyzing the chroma instead of the luma. It's kind of an art using srestore since no one method seems to work best all the time.
SaurusX is online now   Reply With Quote
Old 14th March 2019, 20:26   #843  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,621
I've also had better results sometimes by downscaling the analysis clip with ReduceBy2() after bobbing it.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 15th March 2019, 11:27   #844  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,621
Here's one strange case I've been trying to fix.

https://drive.google.com/open?id=1oI...PD71KtYKHKyZsp (original clip)
https://drive.google.com/open?id=1O1...dNAplNFP5oUVnw (bobbed clip)

I tried figuring out a pattern with a that bobbed clip and it looks like 4 good frames, 2 blended ones. Then if you look closer, it looks more like 3 good frames and 3 blended ones where the middle one is a real blended mess and the surrounding frames much less so Is it something that cannot be handled by SRestore as the origins seem to be an interlaced clip?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 4th August 2019, 22:49   #845  |  Link
simple_simon
Registered User
 
Join Date: Feb 2003
Posts: 24
I'm using the latest version of the script (2.796) with the latest avisynth+ x64 and all the latest necessary plugins (masktools, etc) and I'm getting an error complaining "I don't know what 'avsplusversionnumber' means". I tried usiing 2.795 but with that one it complains about not knowing what 'dm' means. I looked at the script and both things are specified so it should 'know' what it means. What am i doing wrong? I can't find any mention of this in the previous entries of this thread.
simple_simon is offline   Reply With Quote
Old 4th August 2019, 22:56   #846  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,288
Quote:
Originally Posted by simple_simon View Post
I'm using the latest version of the script (2.796) with the latest avisynth+ x64 and all the latest necessary plugins (masktools, etc) and I'm getting an error complaining "I don't know what 'avsplusversionnumber' means". I tried usiing 2.795 but with that one it complains about not knowing what 'dm' means. I looked at the script and both things are specified so it should 'know' what it means. What am i doing wrong? I can't find any mention of this in the previous entries of this thread.
you need SMDegrain.avsi (v3.1.2.101s or up)
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 5th August 2019, 00:03   #847  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 3,980
Quote:
Originally Posted by simple_simon View Post
I'm using the latest version of the script (2.796) with the latest avisynth+ x64 and all the latest necessary plugins (masktools, etc) and I'm getting an error complaining "I don't know what 'avsplusversionnumber' means". I tried usiing 2.795 but with that one it complains about not knowing what 'dm' means. I looked at the script and both things are specified so it should 'know' what it means. What am i doing wrong? I can't find any mention of this in the previous entries of this thread.
The functions for checking the Avisynth version don't come with SRestore. They come with SMDegrain. Given it's only a few lines, I'd also include the functions with the SRestore script myself, so people won't have this problem, but that's just me and it's not up to me.

Here's what you're missing if you don't want to download the latest SMDegrain, you could add it to the end of the SRestore script if you have it in the auto-loading Avisynth plugins folder, or you could create a separate avsi file etc.

Code:
function IsAvsNeo(){ FindStr(VersionString, "AviSynth Neo") != 0 }
function IsAvsPlus(){ FindStr(VersionString, "AviSynth+") != 0 || IsAvsNeo }
function AvsPlusVersionNumber(){ \
IsAvsNeo ? eval(MidStr(VersionString(),20,4)) : \
IsAvsPlus ? val(MidStr(VersionString(),17,4)) : 0 }

Last edited by hello_hello; 7th August 2019 at 18:13.
hello_hello is offline   Reply With Quote
Old 5th August 2019, 20:29   #848  |  Link
simple_simon
Registered User
 
Join Date: Feb 2003
Posts: 24
Thanks for letting me know. I thought I had latest one (smdegrain_v3.1.2.100s) but guess not. Downloading SMDegrain v3.1.2.104s solved the 'avsplusversionnumber' error but now it's throwing up "I don't know what 'dm' means" error. Anyone know what that one's about?
simple_simon is offline   Reply With Quote
Old 5th August 2019, 21:03   #849  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,288
Quote:
Originally Posted by simple_simon View Post
Thanks for letting me know. I thought I had latest one (smdegrain_v3.1.2.100s) but guess not. Downloading SMDegrain v3.1.2.104s solved the 'avsplusversionnumber' error but now it's throwing up "I don't know what 'dm' means" error. Anyone know what that one's about?
what is your full srestore line?
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 5th August 2019, 23:29   #850  |  Link
simple_simon
Registered User
 
Join Date: Feb 2003
Posts: 24
srestore(frate=24.975, thresh=14, cache=8)
simple_simon is offline   Reply With Quote
Old 6th August 2019, 02:40   #851  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,288
Quote:
Originally Posted by simple_simon View Post
srestore(frate=24.975, thresh=14, cache=8)
work fine for me

edit: are you using MT Prefetch() in avs+? if yes then that known thing that mt not work (yet) with real-time functions like srestore
__________________
My Avisynth Stuff

Last edited by real.finder; 6th August 2019 at 03:02.
real.finder is offline   Reply With Quote
Old 6th August 2019, 03:24   #852  |  Link
simple_simon
Registered User
 
Join Date: Feb 2003
Posts: 24
Ahhh! That's what it was. Thank you.

What's it mean that a filter is a realtime filter and how do i tell to avoid using prefetch with them?
simple_simon is offline   Reply With Quote
Old 6th August 2019, 06:46   #853  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,288
Quote:
Originally Posted by simple_simon View Post
Ahhh! That's what it was. Thank you.

What's it mean that a filter is a realtime filter and how do i tell to avoid using prefetch with them?
http://avisynth.nl/index.php/Runtime_environment
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Tags
mrestore, 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 20:08.


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