#1  
12-21-2024, 01:55 PM
Bogiesmokes Bogiesmokes is offline
Free Member
 
Join Date: Nov 2024
Posts: 17
Thanked 4 Times in 4 Posts
Hi all,

Despite my endless reading of various threads (including the information overload volumes) as well as AviSynth+ Wiki Guides, I am having trouble understanding what to include in my scripts and which VirtualDub filters to use. I've tested a few scripts, but I am still feeling lost. I'm more of a visual learner, so at this point I'm hoping that if I can get users' expertise and advice on two separate samples avi files, posting both the unedited (post-capture) and edited (with the below script) versions of both. I'm hoping this way I can better understand what I'm doing here. I really appreciate your help so far and thank you in advance for any help and guidance you could give me.

I used the same basic script for both of the attached edited videos:

Code:
AVISource("Source File.avi")
AssumeTFF()
QTGMC(preset="fast",SourceMatch=3,Lossless=2,MatchEnhance=0.75,TR2=1,Sharpness=0.1)
Spline64Resize(720,540)
A couple of additional questions:

Should video compression be set to Huffy (like I did during capture) since I'll be encoding to x264 using Hybrid?

Other than choosing the video compression setting (and adding VDub filters as needed, which I'm still trying to understand what works), VirtualDub should be on 'Full Processing Mode', then I go to File > Save Video to run the script and export, correct?

I've downloaded a host of optional plugins, but after AviSynth+ / VDub stopped working yesterday, I've been careful to add only a few at a time to try. Having said that, I thought I'd try Deblock with "Sample 1" attached here, but have been getting the error message (Deblock uses planar).

Thank you for taking the time to take a look, I always appreciate your valuable time and invaluable help...

All attached files belong to this post.

-- merged --

I came up with better results so far using this script:

Code:
AVISource("C:\Users\srvalen1\Documents\VHS\Sample Clip 3.avi")
AssumeTFF()
ConvertToYV12(interlaced=true)
SmoothUV2(radius=3, threshold=270, interlaced=-1, opt=-1, dither=-1)
QTGMC(preset="fast",SourceMatch=3,Lossless=2,MatchEnhance=0.75,TR2=1,Sharpness=0.1)
RemoveGrain(mode=2, modeU=2, modeV=2)
Spline64Resize(720,540)
For some reason, LSMod and MCTemporaldenoise won't work despite me double checking I put all the required files in the plugins folder. Maybe something to do with Win 64? Thanks

-- merged --

Ok, I finally got TemporalDegrain2 to work - my nth attempt to fix the script error worked - what I had to do was download the 64-bit libffw3f-3.dll file - duplicate it, do the rename trick again using FFTW3.dll, and add the two files to the System32 folder. After that, it worked.

I'm going crazy trying to get MCTemporalDenoise or LSFMod to work, nothing is working no matter what I try. I get the same error when using either in a script: "There is no function named (MCTemporalDenoise / LSFMod).

I have all the required files for LSFMod (including the awarpsharp2.dll which I saw mentioned by Sanlyn as a required file, and warpsharp.dll per the requirements listed on Wiki).

For MCTemporalDenoise, the only file I don't have from the requirements list is Sangnom. I cannot find a Sangnom dll file for 64-bit OS. Every Sangnom I've downloaded and placed in the Plugins folder has led to a script error that the Sangnom is for 32-bit.

Can anyone confirm whether LSFMod and MCTemporalDenoise can be used on a 64-bit Win OS? Many Thanks!

-- merged --

Should lsfmod and mctemp both be a text file that opens with notepad rather than a-pod? Still ends in avsi but both are text files, as opposed to TemporalDegrain2. Thanks.

-- merged --

I finally got it working. By downloading the 'raw file' from github for both LSFmod and MCTemporalDenoise, the file extensions dropped the .txt that followed the .avsi. I was unable to change it myself (or didn't do it right), but downloading directly from github as opposed to Wiki has got both working...

With one minor caveat...

MCTemporalDenoise showed a new error after the download from github. "There is no function named gradfun2db3." I did some more online searching and found a post way down in a Doom9 thread where someone mentioned a similar problem and found a fix (copying and pasting their verbage here):

"Solved adding: fixband=false
But still can't use multi-threading."

This indeed worked for me. By changing the script line to MCTemporalDenoise(fixband=false) - the script finally loaded successfully.

Having said that, is it ok to just have 'fixband=false' in the parenthesis? Will MCTemp run with default settings otherwise? I realize most scripts have many 'inputs?' within the parenthesis of a given function, something I still have to wrap my head around fully. I'm not sure if the 'still can't use multi-threading' applies to me or not.

Thanks again.


Attached Files
File Type: avi Unedited Sample 1.avi (59.23 MB, 4 downloads)
File Type: rar Edited Sample 1.part1.rar (99.00 MB, 2 downloads)
File Type: rar Edited Sample 1.part2.rar (94.82 MB, 2 downloads)
File Type: avi Unedited Sample 2.avi (17.55 MB, 4 downloads)
File Type: avi Edited Sample 2.avi (72.54 MB, 3 downloads)
Reply With Quote
The following users thank Bogiesmokes for this useful post: lordsmurf (01-11-2025)
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
12-23-2024, 04:54 PM
Bogiesmokes Bogiesmokes is offline
Free Member
 
Join Date: Nov 2024
Posts: 17
Thanked 4 Times in 4 Posts

This question was asked in a private message. Rather than hide our tech advice in private conversations, Site Staff will often answer PMs (from any site) here in the digitalFAQ.com forum, so that others may read and benefit from our expertise. Please continue the conversation here. Either login or join as a Free Member, and we can continue troubleshooting your video, photo or web related issue. Thanks for understanding our tech Q&A policies.


Hi lordsmurf,

I realize you are a very busy man...would there be any way you could possibly look at a sample clip of mine (raw capture) and one (of many many) scripts I've run through VDub2, and give me just a quick opinion on what you see, and/or possibly take a glance at the raw video sample and offer a quick example script that you would try if you were working on this video yourself?

I simply want my videos to look 'good', they don't have to be perfect or 'great', I've just spent so many hours the last 6-7 weeks (including the wasted days spent in the library using the Magnavox VCR to Clearclick3.0 until I found this awesome site/you in particular), and I just feel completely lost with the script process.

If you have a few minutes to take a look, it would be the greatest Christmas gift I could ever receive...I realize there is a learning curve with AviSynth+, but I am going crazy spending day and night trying to work different scripts.

Example scripts include:
Code:
AVISource("C:\Users\srvalen1\Documents\VHS\Busch Fantasy Test.avi")
ConvertToYV12()
AssumeTFF()
QTGMC(preset="medium",SourceMatch=3,Lossless=2,Mat chEnhance=0.75,TR2=1,Sharpness=0.1)
TemporalDegrain2()
Deblock()
Spline64Resize(720,540)
as well as

Code:
AVISource("C:\Users\srvalen1\Documents\VHS\Mike Schmidt Retirement_Clip.00.avi")
ConvertToYV12()
AssumeTFF()
SmoothUV2()
MCTemporalDenoise(settings="medium", fixband=false)
QTGMC(preset="fast",SourceMatch=3,Lossless=2,Match Enhance=0.75,TR2=1,Sharpness=0.1)
LSFmod(strength=100, Smode=3, Smethod=2, kernel=11)
Deblock()
Spline64Resize(720,540)
...And many things in between. I don't have the eye (as of yet) to judge VHS tape restorations, or how much quality can actually be restored/when to stop. If you wouldn't mind taking a quick look and possibly an example script to try, just to get me headed in the right direction, would mean the world to me.

*(Sidenote: I can only use MCTemporalDenoise if the inputs within the parenthesis are limited to a 'settings="xyz"' followed by 'fixband=false'. If I don't include fixband=false, I get an error message importing into Vdub. MCTemporalDenoise won't work regardless if I also add TemporalDegrain2, though as you've written in many threads, don't overdue it - so maybe I shouldn't be using both in the same script anyway).

If I can send a sample clip to you, please let me know at your convenience...I cannot thank you enough for the help thus far. Thank you, lordsmurf.
Reply With Quote
The following users thank Bogiesmokes for this useful post: lordsmurf (01-11-2025)
  #3  
01-11-2025, 04:50 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 14,604
Thanked 2,654 Times in 2,259 Posts
Merged all your posts.

And I got your PM asking for my help. I've CC'ed it here because it gives more context to the post and my replies.

Some quick observations:

ConvertToYV12 reduces color. Try to stick to using ConvertToYV16 these days.

Yes, add plugins slowly, sometimes even just 1 at a time.

When it comes to QTGMC, never copy/paste scripts from others. Read the wiki, and open the .avs file to read it as well. Lots of .avs files are verbose, something most people do not realize.

If "not worried about quality" is actually true, then just use preset=faster for QTGMC, don't screw around with the override switches like T2=X.

I recently tried to get LSFplus to work,. but could not. I'm still using LSFmod. I keep hearing how *plus is better, but I have yet to see how, exactly, it's better over the *mod.

LSFmod is fine in 64-bit Avisynth, I've used it before. Offhand, not sure about the other.

.avsi file are like .bat DOS scripts. Those are run like the .dll Avisynth scripting files. The .avsi are a separate sub-program/batch that uses the .dll, which is why all of them have prerequisites.

The .rar pair is corrupted.

Your "edited" sample 2 has lots of issues still, notably chroma noise. Use CCD in VirtualDub to fix that.
You didn't crop 8px from each side, nor mask overscan.
This clip can look vastly better with minimal effort, with these few crop/mask and CCD chroma NR.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AVIsynth script problem with AVIsource tbird97 Capture, Record, Transfer 0 06-12-2023 10:56 AM
Can't run Avisynth script, FFindex failed? chrisbati Restore, Filter, Improve Quality 4 04-03-2021 10:45 AM
Perfect my Avisynth script? geordie10 Restore, Filter, Improve Quality 7 10-23-2020 10:31 AM
Line TBC with Avisynth script? jjdd Restore, Filter, Improve Quality 3 11-14-2019 01:43 AM
Avisynth script to fix offset interlacing? lordsmurf Restore, Filter, Improve Quality 4 02-10-2018 05:34 PM

Thread Tools Search this Thread
Search this Thread:

Advanced Search



 
All times are GMT -5. The time now is 12:52 PM