I need the rainbows removed. I'm not liking what I'm doing, it still has rainbow bits.
What are your ideas here?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 19 of 19
Thread
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
well hard to test something with such a odd frame size 220 x339
try this
AVISource("C:\flying era head noise.avi")
assumetff()
addborders(0,0,0,1)
#spline36resize(404,last.width)
ConvertToYV16(interlaced=true)
orig=last
ev=orig.assumetff().separatefields().selecteven()
od=orig.assumetff().separatefields().selectodd()
ev
ue_chroma = UToY(ev).blur(0,1.5).ttempsmooth(maxr=6,lthresh=15 0, strength=6).KNLMeansCL(d=3,a=8,s=2,h=6)
ve_chroma = VToY(ev).blur(0,1.5).ttempsmooth(maxr=6,lthresh=15 0, strength=6).KNLMeansCL(d=3,a=8,s=2,h=6)
YToUV(ue_chroma, ve_chroma)
MergeLuma(ev)
ev_filtered=last
od
uo_chroma = UToY(od).blur(0,1.5).ttempsmooth(maxr=6,lthresh=15 0, strength=6).KNLMeansCL(d=3,a=8,s=2,h=6)
vo_chroma = VToY(od).blur(0,1.5).ttempsmooth(maxr=6,lthresh=15 0, strength=6).KNLMeansCL(d=3,a=8,s=2,h=6)
YToUV(uo_chroma, vo_chroma)
MergeLuma(od)
od_filtered=last
interleave(ev_filtered,od_filtered)
assumefieldbased().assumetff().weave()
Last edited by themaster1; 22nd Apr 2024 at 10:02.
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Themaster, I'm getting this on your script:
[Attachment 78540 - Click to enlarge] -
Spotless only applied to chroma probably works.
users currently on my ignore list: deadrats, Stears555 -
I had good luck with Spotless when I used it on chroma rainbows. Scroll down to my post (#8) to see the before/after, along with the script I used.
https://forum.videohelp.com/threads/398864-Need-help-on-Avisynth#post2595644 -
Alwyn, thanks for trying. This task is probably beyond what NeatVideo can do.
__________________
john, I get this on your script
line 3 is
Code:output = SpotLess(ThSAD=1000,ThSAD2=1000,RadT=4,Chroma=true,BlkSz=8,OLap=4,Tm=true)
__________________
themaster1, and oldie but goodie, I forgot to try that, thanks.
Well, only 3 hours left for a 6 minute clip.
But I'm running it now.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
LS, I got a warning about being divisible by 4, so I cropped it to 336. Might be the same issue?
-
Alwyn, I tried running it on the full 720x480 clip.
themaster1, that did the trick.
I have several KNLmeansCL scripts in my toolbox, forgot about that one It took forever, about 4.5 hours for 6 minutes of footage. I probably could have lowered some of the values, for better speed, but I needed to get off the computer for a while anyway. Let it crunch!
@all, appreciate it.
However, I'm still curious why john's script won't load.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
With latest release of vsTTempSmooth with 'large radius median' mode - https://github.com/Asd-g/AviSynth-vsTTempSmooth/releases/tag/1.2.6
Code:LoadPlugin("ffms2.dll") LoadPlugin("vsTTempSmooth.dll") FFMpegSource2("flying era head noise.avi") assumetff() addborders(0,0,0,1) noproc=last ConvertToYV16(interlaced=true) orig=last ev=orig.assumetff().separatefields().selecteven().vsttempsmooth(maxr=10,uthresh=55, vthresh=55, y=2, u=3, v=3, pmode=1, opt=0) od=orig.assumetff().separatefields().selectodd().vsttempsmooth(maxr=10,uthresh=55, vthresh=55, y=2, u=3, v=3, pmode=1, opt=0) interleave(ev,od) assumefieldbased().assumetff().weave() StackHorizontal(noproc.Subtitle("input"), last.Subtitle("proc"))
Last edited by DTL2023; 23rd Apr 2024 at 12:25.
-
My script is only five lines (the rest is just the Spotless code). Looking at it, I used implicit variables from one line to the next, so I think the only thing which would cause an invalid argument call in line 4 (the line which calls Spotless) is from the file open statement on line 1.
You obviously need to use your own file name instead of "fs.avi" which is the file server stub that I use to serve out of Vegas and into AVISynth. You also may need to use something other than AVISource, depending on the format of your original video file. You can test this out by temporarily changing "Return Output" to "Return Source." That reduces it to a two-line script. If the script is having a problem reading the file, you'll still get an error.
I don't think the script cares whether the rainbowing happened from head switching or something else. The script acts on what it sees, not on what caused it. However, since there is a luma component as well, Spotless will probably only remove the rainbow, although if you turn up the settings high enough, it might get rid of the vertical bars as well. -
Edit: Ah, it's something different than I thought
Check this thread:
https://forum.videohelp.com/threads/413191-How-to-remove-horizontal-lines-noise
especially this post:
https://forum.videohelp.com/threads/413191-How-to-remove-horizontal-lines-noise#post2721152
+ TemporalDegrain2 (or Neat)
Last edited by rgr; 24th Apr 2024 at 10:06.
-
@lordsmurf: try, applying SpotLess with temporal radius 3, 3 times in a row (and take the chroma from that), it's not perfect, but seems like a good start.
Cu SelurLast edited by Selur; 24th Apr 2024 at 11:13.
users currently on my ignore list: deadrats, Stears555 -
Median filtering with temporal radius of 3 frames reduces defect but not clean completely.
I think it is equal to
ev=orig.assumetff().separatefields().selecteven(). vsttempsmooth(maxr=3,uthresh=55, vthresh=55, y=2, u=3, v=3, pmode=1, opt=0)
od=orig.assumetff().separatefields().selectodd().v sttempsmooth(maxr=3,uthresh=55, vthresh=55, y=2, u=3, v=3, pmode=1, opt=0)
Spotless() is a motion-compensated version of the same processing (but MedianBlurTemporal in Spotless() run as a median filtering without any limiting of difference between filtered and current sample value). So I recommend the authours of Spotless() replace MedianBlurTemporal with new vsTTempSmooth or may be add it as an option because MedianBlurTemporal is faster at special cases of tr=1 and 2 (?).
Also in the description of 3-frames temporal median Clense() it was noted running several times equal to temporal median with larger tr (initial tr or Clense is 1 for 3 frames total). It may be also tested.
"applying SpotLess with temporal radius 3, 3 times in a row"
Can you check single run of Spotless() with RadT of 10 (I do now see the limits of temporalradius in the MedianBlurTemporal at http://avisynth.nl/index.php/MedianBlur2) ?Last edited by DTL2023; 24th Apr 2024 at 11:35.
-
Can you check single run of Spotless() with RadT of 10users currently on my ignore list: deadrats, Stears555
-
What mean 3xSpotless in filename ? Is it an error ? Is it a single call to Spotless with RadT 10 only ?
*after updating ffms2.dll to latest RC5.0 to read that strange AV01 format* - yes - it looks clear enough too,Last edited by DTL2023; 24th Apr 2024 at 14:09.
-
Sorry, that that was a mistake during the file naming, only applied Spotless with radT 10 once in that file.
users currently on my ignore list: deadrats, Stears555
Similar Threads
-
How can I erase this interlace line?
By dvdcodek in forum Video ConversionReplies: 5Last Post: 15th Mar 2024, 16:12 -
Remove noise having a noise file
By Bwaak in forum EditingReplies: 6Last Post: 27th Jan 2024, 17:47 -
fixing standard noise (as well as MOSQUITO noise) issues with anime
By tomotakino in forum RestorationReplies: 11Last Post: 31st Dec 2022, 09:52 -
How to capture with no head-switching noise (certain VCRs)
By Brad in forum CapturingReplies: 8Last Post: 25th Jun 2021, 16:11 -
Is LP VHS being read by SP head or EP head?
By digicube in forum CapturingReplies: 2Last Post: 16th Feb 2021, 16:44