This is the script I've created. Added MDegrain2, but don't know what to do now. I have no idea what numbers i need to add where there are question marks.
a = LWlibavAudioSource("D:\Videos\Kung Fu Genius Project Files\New folder\DGIndex files\Kung Fu Genius T80 2_0ch 192Kbps DELAY 0ms.ac3") # get audio (decompressed to PCM)
v = Mpeg2Source("D:\Videos\Kung Fu Genius Project Files\New folder\DGIndex files\Kung Fu Genius.d2v", Info=3) # get video
AudioDub(v,a) # join audio and video together
import("C:\Users\akuma\AviSynth+\plugins64+\Remove DirtMC.avs")
TFM()
TDecimate(Cycle=6, CycleR=1) #returns 23.976fps progressive frames
ColorMatrix(mode="rec.601->rec.709")
Crop(0,82,0,-82) #
MDegrain2(?, ?, ?, ?, ?, thSAD=?, thSADC=?, plane=?, limit=?, limitC=?, thSCD1=?, thSCD2=?, isse=?, planar=?, lsb=?, mt=?, out16=?, out32=?)
Spline36Resize(640, 316) # 364 * 2.35 =
AssumeFPS(24000, 1001, sync_audio=true) # audio sample rate reduced from 48000 to 46080 (lossless)
SSRC(48000) # convert audio to 48000 Hz samples
prefetch(24)
+ Reply to Thread
Results 61 to 71 of 71
-
-
A quick attempt:
Code:Mpeg2Source("VTS_01_1.d2v") Crop(0,80,-0,-80) TFM(d2v="VTS_01_1.d2v") TDecimate(Cycle=6, CycleR=1) MergeChroma(RemoveDirtMC(30, false), RemoveDirtMC(60, false)) SMDegrain(thsad=300, tr=5, PreFilter=2, plane=0) SMDegrain(thsad=1000, tr=5, PreFilter=2, plane=3)
-
Thank you so much.
So I was trying - ready to run samples from the link you sent and testing with different numbers like trial and error kind of thing.
This is what i have on script:
a = LWlibavAudioSource("D:\Videos\Kung Fu Genius Project Files\New folder\DGIndex files\Kung Fu Genius T80 2_0ch 192Kbps DELAY 0ms.ac3") # get audio (decompressed to PCM)
v = Mpeg2Source("D:\Videos\Kung Fu Genius Project Files\New folder\DGIndex files\Kung Fu Genius.d2v", Info=3) # get video
AudioDub(v,a) # join audio and video together
import("C:\Users\akuma\AviSynth+\plugins64+\RemoveDirtMC.avs")
TFM()
TDecimate(Cycle=6, CycleR=1) #returns 23.976fps progressive frames
ColorMatrix(mode="rec.601->rec.709")
Crop(0,82,0,-82) # after this cropping you have a 704x364 frame
pre=fluxsmootht(3).removegrain(11)
SMDegrain(tr=6,thSAD=1000,contrasharp=30,prefilter =pre,str=4.8,refinemotion=true,lsb=true)
Spline36Resize(640, 316) # 364 * 2.35 = 855.4, round up to 856 for a mod 8 width
AssumeFPS(24000, 1001, sync_audio=true) # audio sample rate reduced from 48000 to 46080 (lossless)
SSRC(48000) # convert audio to 48000 Hz samples
prefetch(24)
I will add your lines to script as surely they will be better as I have no real clue what i was doing.
Once again thanks for your help. -
MDegrain2 is part of MVtools2
Scroll down to find the denoising examples in my link above and simply use one of those examples. If you are operating on your video after you deinterlaced it, the use this code (copy/pasted from above link):
Code:AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc super = MSuper(pel=2, sharp=1) backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4) backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4) forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4) forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4) MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)
-
-
MDegrain2 is part of MVtools2
Scroll down to find the denoising examples in my link above and simply use one of those examples. If you are operating on your video after you deinterlaced it, the use this code (copy/pasted from above link): -
Cosmetics only:
TDecimate(Cycle=6, CycleR=1) #returns 24.975fps progressive frames -
It's the comment only after the #
The framerate in your script:
TDecimate(Cycle=6, CycleR=1) #returns 23.976fps progressive frames
should be:
TDecimate(Cycle=6, CycleR=1) #returns 24.975fps progressive frames
It's not relevant for the function, it's just misleading. Never mind. -
Similar Threads
-
Is this bad interlacing or a poorly authored DVD?
By LaserBones in forum Newbie / General discussionsReplies: 12Last Post: 16th Oct 2023, 00:15 -
Decrypting DVD / de-interlacing workflow woes
By ArchLio in forum DVD RippingReplies: 25Last Post: 10th Feb 2023, 21:42 -
Use UsEac3To for 24fps to 23.976?
By digitalfreaknyc in forum AudioReplies: 2Last Post: 27th Mar 2022, 15:47 -
Dvd interlacing
By Johnnysh in forum DVD RippingReplies: 37Last Post: 6th Dec 2020, 14:34 -
Converting NTSC->PAL Interlaced DVD Back To NTSC 24FPS???
By SegaSonic91 in forum DVD RippingReplies: 7Last Post: 2nd Oct 2020, 23:55