Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools
  #21  
08-12-2014, 11:27 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,663
Thanked 2,461 Times in 2,093 Posts
@Bobban: What was your final script?

@themaster1: Where can I download RemoveSpotsMC? I don't seem to have it anymore. Mind sharing yours?

- 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
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
08-13-2014, 07:53 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,308 Times in 982 Posts
Quote:
Originally Posted by lordsmurf View Post
@themaster1: Where can I download RemoveSpotsMC? I don't seem to have it anymore. Mind sharing yours?
I guess theMaster1 is on vacation today. Attached .avs contains RemoveSpotsMC, RemoveSpotsMC2 (calls the same routines twice), and ye old original RemoveSpots, which is called by RemoveSpotsMC and MC2. Script can be used to execute any of the 3 functions.

Don't recall exactly where I found this, but it's from a long thread in videohelp where the functions were tweaked by jagabo and poisondeathray to avoid some minor bugs.


Attached Files
File Type: avs RemoveSpotsMC.avs (1.6 KB, 35 downloads)
Reply With Quote
  #23  
08-22-2014, 06:51 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,663
Thanked 2,461 Times in 2,093 Posts
Thanks sanlyn.

That last script of yours was useful for me as well. I incorporated it (and something themaster1 did on VH some years ago) into a script that was able to fix a really ugly problem. I'm going to try and share that one here soon, and see if anybody else can do better.

You can thank premiumcapture for the content idea here. We'll try to use it.

- 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
  #24  
08-23-2014, 11:54 AM
themaster1 themaster1 is online now
Free Member
 
Join Date: Feb 2011
Location: France
Posts: 509
Thanked 104 Times in 88 Posts
Quote:
Originally Posted by lordsmurf View Post
Thanks sanlyn.

That last script of yours was useful for me as well. I incorporated it (and something themaster1 did on VH some years ago) into a script that was able to fix a really ugly problem. I'm going to try and share that one here soon, and see if anybody else can do better.
Now you got my attention
Reply With Quote
  #25  
02-17-2015, 01:16 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,663
Thanked 2,461 Times in 2,093 Posts
sanlyn, themaster1,

It took a while to reply here, as I had some serious follow-up health issues last year (that have since subsided) that hit me in early August (just a few days later). I'm only now, 6 months later, resuming some of what I was doing at the time.

Anyway, this is what I did (as of today):

Code:
AVISource("c:\.avi")
ChromaShift(C=10, L=-6) # align chroma over luma

ConvertToYUY2
AssumeTFF()
a=last
e=a.SelectEven().DePulse(h=20, l=1, d=1, debug=false) .DePulse(h=10, l=255, d=15, debug=false) # white, then black
o=a.SelectOdd().DePulse(h=20, l=1, d=1, debug=false) .DePulse(h=10, l=255, d=15, debug=false) # white, then black
Interleave(e,o)

ConvertToYV12 
AssumeTFF() # optional, BFF for DV source
QTGMC(Preset="Slow") # best deinterlacer - balances speed + quality
SelectEven() 

Spline36Resize(240,480).Santiag().Spline64Resize(720,480) # remove broken pixel noise
return last
I removed the decimate, and injected a QTGMC before the pixel noise cleanup.

What you called "sharpening" was interesting, as it (mostly) removed or hid pixel loss due to the overaggressive depulse. Trying to find a balance between "good picture" loss and "bad picture" (lines) loss was hard -- if not impossible. The splineResize and the anti-aliasing script line allows me to not just maintain aggressiveness, but double down on it. By lowering the resize to 240, thereby slightly softening the image (but still tolerable), it was better yet.

When the current encode is done, I'll post some samples. It would be really nice if you were able to improve on this yet again.

This video was a massively damaged S-VHS tape (signal-wise) and required 3 captures to acquire all the footage in stable condition. The hour-long video was then split into 11 parts for processing, based on scene.

It's getting where I think this is the best that can be done. It's an unusual error, and one I've never seen before.

After Avisynth is done, it was fed into VirtualDub for a 2x median filter at 100% each. Some masking, some CCD to remove chroma noise to clean it up a bit more for DVD-ready processing.

- 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
Removing black bars on TV shows for DVD? Superstar Edit Video, Audio 12 03-12-2014 11:55 PM
DVD-R with black spots? Neves Blank Media 3 03-02-2014 11:13 PM
What settings to scan old photos in black & white ? Sossity Photo Processing, Scanning & Printing 7 02-20-2012 02:34 PM
9800 AIW black & white prob manthing Capture, Record, Transfer 6 06-26-2005 06:48 PM
Why Black & White capture ? Sujit Capture, Record, Transfer 4 05-23-2005 08:27 AM




 
All times are GMT -5. The time now is 01:08 PM