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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 20th January 2021, 12:10   #1  |  Link
knack_liek
Registered User
 
Join Date: Jan 2021
Posts: 1
Avisynth script to remove grain, spots, lines, scratches and dirt.

I am new to the world of Avisynth coding, but I have managed to create (by reading guides to find and download the various necessary plugins), through AvsPmod, a script for removing grain, dirt, lines, scratches and spots.
I did a lot of research to make sure that I have included in the source code sheet everything necessary for the script to work in the correct order, also thanks to the powerful AvsPmod debugging tool.
However, I see no difference in the output of the scripted video file.
Did I write something wrong or is the script missing some basic commands (I attach the script I write below)?
Let me know!



Code:
import("C:\Program Files (x86)\AviSynth\plugins\RemoveDirtMC.avs")
DirectShowSource("videosource", fps= 29.97, convertfps=true)
ConvertToYV12(matrix="rec709")
RemoveDirt(20,false)


DirectShowSource("videosource", fps= 29.97, convertfps=true)
ConvertToYV12(matrix="rec709")
RemoveGrain() 
TurnRight() 
RemoveGrain() 
TurnLeft()


DirectShowSource("videosource", fps= 29.97, convertfps=true)
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\despot.dll")
ConvertToYV12(matrix="rec709")
DeSpot(p1=35, p2=14, mthres=25)


DirectShowSource("videosource", fps= 29.97, convertfps=true)
ConvertToYV12(matrix="rec709")
even = SelectEven().RemoveDirt(80, false)
odd = SelectOdd().RemoveDirt(80, false)
Interleave(even, odd).RemoveDirt(80, false)
knack_liek is offline   Reply With Quote
 

Tags
despot, errors, lines, removedirt, removegrain

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 21:52.


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