Log in

View Full Version : How to improve this VHS capture


nicmar
8th November 2010, 15:09
In this video, (i just use nnedi3 for the deinterlacing)
there's a regular default, like waves, wich we can see in the sky, but everywhere.

I don't know how to remove this !

http://www.nicmar.fr/media/vhs.avi

2Bdecided
8th November 2010, 15:22
Does it look like waves before nnedi3, or if you use a simple bob()?

If no, don't use NNEDI3 ;)

If yes, could be interference when capturing - trying different cables / connection (if you can re-capture).

smdegrain reduces it but doesn't eliminate it. Maybe frequency-based approach is better. Someone might suggest good fft3dfilt settings...

EDIT: btw, IME temporal denoising will work better before though throw away half the information - i.e. don't use same-rate (25fps) deinterlacing, but use double-rate (50fps) deinterlacing, then denoise, then selevertevery(2,0) to get 25fps.

If you want people to play with this, I think you should upload a raw clip (i.e. still interlaced - LAGs or DV or YuffYUV - however you captured it).

Cheers,
David.

nicmar
8th November 2010, 15:42
-> 2Bdecided
Thank you for your analyse.

Yes, waves exists before NNEDI3.
The source is a VHS SECAM, and i think it's an electronic problem with SECAM signal, but i cant' resolve it.
I never see this default on the PAL tape.
I don't think there's cables problem, but a default in the electronic signal on the tape.
Some VHS tapes are good, and some are not not good.

So, i'm looking for a good filter dedicated to this waves, and not for a general noise.

I re-post a raw clip.
http://www.nicmar.fr/media/vhs.avi

Mounir
10th November 2010, 02:09
Here (http://img231.imageshack.us/i/vhsf.jpg/) is the result i get (before/after)

I used SmoothCurve (http://forum.doom9.org/showthread.php?t=157279) and virtualdub (filters gradation curves, color mill)

If you want the .vcf for vdub download here (http://www.sendspace.com/file/infoyg)

pirej
10th November 2010, 03:42
Maybe this, or with less saturation.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DePanEstimate.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DePan.dll")
import("C:\Program Files\AviSynth 2.5\plugins\SeeSaw v0.3e.avs")
LoadVirtualDubPlugin("E:\INSTAL\Video INSTAL\VirtualDub\plugins\ColorMill.vdf ", "ColorMill", 1)
AVISource("C:\Documents and Settings\user\Desktop\vhs.avi")
orig=last
#....................
AssumeTFF()
SeparateFields()

ConvertToRGB32(matrix="Rec601", interlaced=true)
Colormill(25700, 29284, 25717, 25665, 25722, 25700, 29549, 25710, 25700, 25700, 25700, 25700, 25700, 1124, 5)
ConvertToYV12()

#.....................................................
maxstabH=30
maxstabV=30 #maximum values for the stabiliser (in pixels) 20 is a good start value
est_left=30 est_top=30 est_right=30 est_bottom=30 est_cont=1.6 #crop and contast values for special Estimate clip

mdata=DePanEstimate(trust=1.0,dxmax=maxstabH,dymax=maxstabV)
DePanStabilize(data=mdata,cutoff=1.0,dxmax=maxstabH,dymax=maxstabV,method=1,mirror=15)
#............................................................

a= last
b=a.Smdegrain(tr=3, thSAD=300, pel=4 )
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=3, Spower=5, Sdamplo=6, Szp=16)

Crop(14, 14, -14, -14)
Lanczos4Resize(720,288)
Weave()

StackHorizontal(orig,last)

nicmar
10th November 2010, 10:31
--> Mounir
Thank you, good idea, and your settings shade off the waves in the sky.
But the pirej settings (Colormill) allow to see a 'blue' sky, i didn't know this filter, and it's very usefull.

--> Pirej
Thank you, i can the see a blue sky with yous settings !
We can see some waves again in the sky, but it's better !

Mounir
10th November 2010, 18:54
I get an error with your script pirej:

DePanStabilize does not have a named argument called "method"

Any idea why?

pirej
10th November 2010, 22:16
What version of depan do you have?

DePan Version 1.10 beta, May 8, 2007 - DepanStabilize: added new average method,
small bug fixed in edge interpolation.
DePan Version 1.10.1, January 27, 2008 - fixed bug with blur mode for subpixel=1.