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

Thread Tools Search this Thread Display Modes
Old 17th April 2021, 10:52   #1  |  Link
Registered User
Join Date: Oct 2018
Location: Italy
Posts: 4
Restore old vhs

Hi all,
I'm trying restore old vhs and this is the code I used

clip="C:\Users\alojal\Desktop\sample disk\ZIA ROSA\ZIAROSA-IN\zia rosa.mov"
video=FFMpegSource2(clip, atrack=-1).Crop(240,18,-240,-18).ConvertToYV12(interlaced=true)
FFMpegSource2(clip, atrack=-1)
ConvertToRGB(matrix="Rec601", interlaced=false)
FFT3DFilter(sigma=8, beta=1.0, plane=4, bw=16, bh=16, ow=8, oh=8, bt=3, kratio=3.0, sharpen=1.0, scutoff=0.3, svr=1.0, smin=4.0, smax=30.0, measure=true, interlaced=false, wintype=0, degrid=1.0, dehalo=1.0, hr=2.0, ht=50.0)
DeHalo_Alpha(rx=2.0, ry=2.0, darkstr=1.0, brightstr=1.0, lowsens=50, highsens=50, ss=1.5)
LSFmod(defaults="slow", strength=39, kernel=12, preblur="OFF", secure=false, Szrp=2, Spwr=4, SdmpLo=4, SdmpHi=48, overshoot=1, undershoot=1, overshoot2=2, undershoot2=2, soothe=true, keep=20, edgemode=0, show=False, screenW=720, screenH=576)

return last
after GamMac I see light blu haloing around the hair and in the wall
I would like, more shapness and some suggestion
thank you in advance
algia is offline   Reply With Quote
Old 24th April 2021, 16:06   #2  |  Link
Registered User
Arx1meD's Avatar
Join Date: Feb 2021
Posts: 117
You need a color denoiser. Try using one of these: Veed, Cnr2 or CCD (Camcorder color denoise for VirtualDub).
As for me CCD gives the best result.
For example:
LoadVirtualDubPlugin("...\ccd_32bit.vdf", "ccd", 0)
AddBorders(10,0,0,0) #The source frame size (height and width) must be a multiple of 16.
Or try:
MiniDeen(radiusY=1, radiusUV=2, thrY=1, thrUV=20, y=2, u=3, v=3)
f3kdb(preset="medium/nograin", sample_mode=2)

Last edited by Arx1meD; 24th April 2021 at 16:09.
Arx1meD is offline   Reply With Quote
Old 25th April 2021, 08:11   #3  |  Link
Registered User
Join Date: May 2006
Posts: 3,954
Also, you may want to try MCDegrainSharp. It denoises and fixes other typical VHS issues without requiring tons of settings and tweaks. The defaults are good for most cases in my experience.
Sharc is offline   Reply With Quote
Old 26th April 2021, 10:05   #4  |  Link
Registered User
Join Date: Nov 2006
Posts: 765
you're doing it wrong to begin with

You should crop only at the end of the script especially if you deinterlace right after

assumetff (or bff) # TFF for vhs unless you have captured in DV !!
~Other filters~

Last edited by Mounir; 26th April 2021 at 15:51.
Mounir is offline   Reply With Quote
Old 26th April 2021, 11:36   #5  |  Link
Registered User
lollo2's Avatar
Join Date: Aug 2017
Location: Italy
Posts: 83
You should crop only at the end of the script espcially if you're deinterlace right after
Am I wrong or I read something different here?


What is right?
lollo2 is offline   Reply With Quote
Old 26th April 2021, 11:56   #6  |  Link
HeartlessS Usurer
StainlessS's Avatar
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,571
You should use eg AssumeTFF() if necessary, as AssumeBFF() is the default.
Almost always TFF in PAL land, when interlaced, if PAL BFF interlaced, then problably done in error.

If cropped off part contains valid image, then may be useful to crop later and so
have a bit more image to use during deinterlace, however I would mostly crop first.
I'm not saying that Mounir is wrong, but perhaps he/she can give a reason for crop last.

EDIT: As your crop is left only (not top nor bottom) I dont see it making much difference,
although if crop first, then must comply with vertictal interlaced cropping restrictions due to
colorspace (chroma granularity) and interlacing. [ie multiples of 4 where interlaced YV12]
If cropping first makes you lose some image due to crop restrictions on interlaced,
might then be better to crop last. (So I would say not a concrete rule either way).
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 26th April 2021 at 12:15.
StainlessS is offline   Reply With Quote

restore, vhs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:59.

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