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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2024, 16:45   #281  |  Link
coolgit
Registered User
 
Join Date: Apr 2019
Posts: 223
This will do the whole video.

Code:
src=FFVideoSource("your dir\sample.mkv")

v1=Trim(src,0,394).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1)
v2=Trim(src,394,405).FrameArea(600, 0, 700, 1080, "SpotLess(BlkSz=8, OLap=8/2, pel=2, Tm=true, Bblur=0.0, ThSAD=10000, RadT=3).SpotLess(BlkSz=8, OLap=8/2, pel=2, Tm=true, Bblur=0.0, ThSAD=10000, RadT=3)").
\ SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1)
v3=Trim(src,406,457).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1)
v4=Trim(src,457,540).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=700, RadT=1)
v5=Trim(src,541,543).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=3000, RadT=1)
v6=Trim(src,544,559).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=500, RadT=1)
v7=Trim(src,560,980).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=2000, RadT=1).SpotLess(BlkSz=12, OLap=8/2, pel=2, Tm=False, Bblur=0.0, ThSAD=2000, RadT=1)

alignedsplice(v1,v2,v3,v4,v5,v6,v7).Deleteframe(394,457)

return last
Using Vdub2, open script editor, needs both spotless.avsi and framearea.avsi in avisynth plugins folder.

Last edited by coolgit; 12th April 2024 at 17:38.
coolgit is offline   Reply With Quote
Old 12th April 2024, 18:08   #282  |  Link
Bluedraft
Registered User
 
Join Date: Jan 2015
Posts: 27
Thanks coolgit! I'll try it
Bluedraft is offline   Reply With Quote
Old 12th April 2024, 21:32   #283  |  Link
Bluedraft
Registered User
 
Join Date: Jan 2015
Posts: 27
@coolgit RadT=3 certainly completely remove the scratches but it removes also the fine grain and it blur the picture

Last edited by Bluedraft; 12th April 2024 at 23:56.
Bluedraft is offline   Reply With Quote
Old 13th April 2024, 15:47   #284  |  Link
coolgit
Registered User
 
Join Date: Apr 2019
Posts: 223
RadT=3 only works in the specified framearea and not the whole picture. What i did was removed the defects. After that it is your choice. You can use sharpening and addgrainc or whatever your intention is.
coolgit is offline   Reply With Quote
Reply

Tags
denoise, despot, prefilter


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 11:29.


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