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

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th May 2006, 06:14   #1  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Is it possible to improve on Zulu using filters etc (sample and sceen shots included)

I have an old DVD copy of Zulu (1964). The quality of the DVD is shocking and i need to know if any filters for avisynth thet may improve it when i encode it to Xvid. Ive tried the noise filter in avisynth as well as vaguedenoiser but it didnt make much of a noticable difference at all

Heres a 1 min sample of the output with no filters but has been hit with smartbob for deinterlacing really considering the source it aint too bad but i would like to improve it. app 9.5Mb
http://rapidshare.de/files/21320092/...ilter.avi.html

Shots of source







As you can see the quality of the source is crap and any advice on getting a better output is greatly appreciated

Demonicos

Im hoping im not breaking any rules whilst posting this if so ill edit it

Last edited by demonicos; 25th May 2006 at 07:18.
demonicos is offline   Reply With Quote
Old 25th May 2006, 07:54   #2  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,547
my advice? kill it with fire.

the blur is too heavy to get any meaningful sharpening out of it. even the most sophisticated sharpeners we have (in avisynth and possible in pro stuff) will not do more than give a "warpsharp" effect that will make it look artificial.

try find a source that isn't ex-VHS... though on a lot of films that could be hard. another option is to find a real VHS of it and do your own capture with decent equipment. you'll have do a lot of hunting this way though...
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 25th May 2006, 08:02   #3  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Quote:
Originally Posted by Mug Funky
my advice? kill it with fire.
haha i had the same thought, thanks for the reply i guess ill just have to live with it i dont think they ever remastered it either

Looks like im gonna have to keep an eye out for an old VHS copy

LOL i just noticed it states DIGITALLY REMASTERED on the case, looking at those screenshots id have to disagree with that

Last edited by demonicos; 25th May 2006 at 08:18.
demonicos is offline   Reply With Quote
Old 25th May 2006, 10:11   #4  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,547
... i think by "digitally remastered" they mean it's been mastered to a digital format. so they're not _really_ lying.

but really, the quality of those shots is akin to a fansub from 6 years ago.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 25th May 2006, 10:22   #5  |  Link
mod
keep manzo
 
mod's Avatar
 
Join Date: Sep 2005
Location: Florence, IT
Posts: 528
Quote:
Originally Posted by demonicos
it states DIGITALLY REMASTERED on the case
Yes, with Paint.. It's a terrible "quality", imo I don't think you'll be able to get anything nice from that..
__________________
10 categories of persons exist : those who know the binary system and those who do not know it
mod is offline   Reply With Quote
Old 25th May 2006, 10:42   #6  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Yeah your right im thinking along the lines for digitally restored to think it was even a DVD9
demonicos is offline   Reply With Quote
Old 25th May 2006, 13:41   #7  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Maybe SeeSaw followed by LimitedSharpenFaster(SMode=4,LMode=3,Strength=1000,wide=true) and AddGrain(10,0,0) could work...
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 25th May 2006, 13:45   #8  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Quote:
Originally Posted by Mug Funky
... i think by "digitally remastered" they mean it's been mastered to a digital format.
But wouldn't that be just mastering (i.: doesn't remastering imply transferring the source to a different format and modify it as well)?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.

Last edited by Chainmax; 25th May 2006 at 14:28.
Chainmax is offline   Reply With Quote
Old 25th May 2006, 13:48   #9  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Thanks chainmax ill give it a shot, now off to learn how...
demonicos is offline   Reply With Quote
Old 25th May 2006, 14:22   #10  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
If you have any doubts, like where to find the filters/functions or how to create a script, don't hesitate to ask .
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 25th May 2006, 14:27   #11  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
By the way, I just noticed it has severe color bleeding, so you should probably use FixChromaBleeding() on it as well. And maybe it could benefit from some chroma smoothing (FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)) as well.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 25th May 2006, 22:54   #12  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,173
I gave it a shot with Deconvolution just to see what I'd get, but the combination jpeg and mpeg encoding renders the results too artifacty to be legible, although a png mpeg cap might be acceptible. It was wanking anyway, as deconvolution takes over 30 minutes on each cap on my high-end machine. (Seriously, with a lens blur of radius 1-2 like that, deconvolution is the only hope it could ever have, otherwise not worth wasting time with.)
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis is offline   Reply With Quote
Old 26th May 2006, 01:34   #13  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Chainmax i sat up till 1am lastnight and still im having no luck creating a script (im a n00b coming over from Gordian Knot so thats about the most experience ive had looking at an avs script) if possible could you give me a small example of how i would use seesaw

cheers
demonicos is offline   Reply With Quote
Old 26th May 2006, 03:23   #14  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
First you need to know wether your source is interlaced or telecined and wether it's Top Field First (TFF) or Bottom Field First (BFF). In order to know what those terms are, I suggest you to read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide.Those are a great source of starter knowledge and will explain telecining and interlacing with detail. Also, take your time to read the readme of each filter you use, as they contain descriptions of the filters and lots of extremely useful knowledge.

Anyway, here's the script I suggest:

Code:
SetMemoryMax(yourmem/2)

LoadPlugin("X:\wherever\DGDecode.dll")

Load IVTCing/Deinterlacing filters

LoadPlugin("X:\wherever\MaskTools.dll")
LoadPlugin("X:\wherever\ChromaShift.dll")
Import("X:\wherever\FixChromaBleeding.avs")

LoadPlugin("X:\wherever\FFT3DFilter.dll")

LoadPlugin("X:\wherever\RemoveGrain.dll")
LoadPlugin("X:\wherever\VagueDenoiser.dll")
Import("X:\wherever\SeeSaw.avs")

LoadPlugin("X:\wherever\MT_MaskTools.dll")
Import("X:\wherever\LimitedSharpenFaster.avs")
Import("X:\wherever\Soothe_MT2.avs")

LoadPlugin("X:\wherever\AddGrain.dll")




MPEG2Source("X:\wherever\myfile.d2v")

IVTCing/Deinterlacing

Crop(whatever,align=true)

FixChromaBleeding()

FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)

Lanczos4Resize(whatever)

a = last
b=a.degrainmedian(mode=2).VagueDenoiser(threshold=0.8, method=1, nsteps=6, chromaT=0.8)
SeeSaw(a,b, NRlimit=6, NRlimit2=7, Sstr=1.5, Slimit=5, Spower=5, Sdamp=6, Szp=16)

dull=last
sharp=dull.LimitedSharpenFaster(SMode=4,LMode=3,Strength=1000,wide=true,soft=75)
Soothe(sharp,dull,30)

c=last
GrainU=c.UtoY().AddGrain(2,0,0)
GrainV=c.VtoY().AddGrain(2,0,0)
Return ytouv(GrainU,GrainV).MergeLuma(c).AddGrain(10,0,0)
Yes, it's very long and yes, it might not help at all, but then again your source is extremely crappy. Very few of the scripts you'll be making will probably be this long, so don't worry .
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.

Last edited by Chainmax; 26th May 2006 at 03:26.
Chainmax is offline   Reply With Quote
Old 26th May 2006, 03:43   #15  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
cheers, so its import for *.avs thats what i was missing as well as a few plugins. Ill see how it goes now, it was too late to be trying this last night ive actually made some progress today this what ive done so far not really much though. BTW its PAL (interlaced)

LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgbob.dll")
loadplugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\fft3dfilter.dll")

mpeg2source("C:\DVD\Rips\ZULU_VTS_01_PGC1\ZULU.d2v")

DGBob(order=1,mode=0)

crop(16,114,694,344)

LanczosResize(544,256)

FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)

EDIT Chainmax so far the script is going well its all done except for one little thing i cant find any reference to Soothe_MT2.avs could you help us with it

Last edited by demonicos; 26th May 2006 at 08:01.
demonicos is offline   Reply With Quote
Old 26th May 2006, 13:13   #16  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Ok heres my script

Code:
SetMemoryMax(768)

LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\MaskTools-v1.5.8\MaskTools-v1.5.8\masktools.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\chromashift27\ChromaShift.dll")
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\FixChromaBleeding.avs")

loadplugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\fft3dfilter.dll")

loadplugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\RemoveGrain\Removegrain.dll")
loadplugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Vaguedenoiser\vaguedenoiser.dll")
import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\seesaw.avs")

LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\masktools-v2.0a28\mt_masktools.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\DeGrainMedian\Degrainmedian.dll")
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\LimitedSharpenFaster\LimitedSharpenFaster.avs")
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Soothe.avs")

LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\AddGrain\AddGrain.dll")

mpeg2source("C:\DVD\Rips\ZULU_VTS_01_PGC1\ZULU.d2v")

FieldDeinterlace()

crop(16,114,694,344)

LanczosResize(544,256)

FixChromaBleeding()

FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)

a = last
b=a.degrainmedian(mode=2).VagueDenoiser(threshold=0.8, method=1, nsteps=6, chromaT=0.8)
SeeSaw(a,b, NRlimit=6, NRlimit2=7, Sstr=1.5, Slimit=5, Spower=5, SdampLO=6, Szp=16)

dull=last
sharp=dull.LimitedSharpenFaster(SMode=4,LMode=3,Strength=1000,wide=true,soft=75)
Soothe(sharp,dull,30)

c=last
GrainU=c.UtoY().AddGrain(2,0,0)
GrainV=c.VtoY().AddGrain(2,0,0)
Return ytouv(GrainU,GrainV).MergeLuma(c).AddGrain(10,0,0)
Im not too sure about Soothe (if ive done it right) Also i keep getting this error ive gotten a few along the way but cant fix this one

Avisynth open failure:
Script error: there is no function named "repair"
(C:\PROGRA~1\GORDIA~1\AviSynthPlugins\seesaw.avs, Line 78)
(C:\Documents and Settings\Admin\Desktop\Test.avs, Line 36)

EDIT, Sorry about the double post

Last edited by demonicos; 26th May 2006 at 13:15.
demonicos is offline   Reply With Quote
Old 26th May 2006, 14:42   #17  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,287
Don't use FieldDeinterlace - try with AssumeTFF().Telecide(), the material could be field shifted which will be fixed by Telecide. If that doesn't fix it, you probably need to use Restore24 to get the original progressive frames back.

You need the correct Repair dll.

http://home.pages.at/kassandro/Remov...emoveGrain.zip (official)
I don't remember the URL for the unofficial release but you might find it by using removegrain.rar as the search term.

Extract the correct dll file to your plugins folder, the one you need depends on your CPU, that is, what instruction sets it can use.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...

Last edited by Boulder; 26th May 2006 at 14:45.
Boulder is offline   Reply With Quote
Old 26th May 2006, 15:10   #18  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Oops, I forgot about Repair.dll. It's a part of the latest RemoveGrain package which you can download here.

Boulder is right (although I'd recommend TIVTC's TFM instead), this might not need to be deinterlaced, read the documents I linked to in order to know how to identify what kind of PAL stream you haveand how to deal with it. About Soothe_MT2, you can find it here.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 27th May 2006, 01:34   #19  |  Link
demonicos
Registered User
 
Join Date: Jul 2005
Location: Australia
Posts: 26
Thanks for that im just about to double check the interlacing ive gotten repair.dll from remove grain package now its asking for mt_edge so ill have a look fo it then get on the interlacing and see if its done right

cheers
demonicos is offline   Reply With Quote
Old 27th May 2006, 03:17   #20  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
mt_edge is a part of the MT_MaskTools (MaskTools v2.x) suite.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Reply

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 18:36.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.