Log in

View Full Version : Suggestion to improve/denoise an video ripped from DVD?


yunapolaris
24th March 2012, 06:53
Hi folks,
I'm a newbie in encoding & using Avisynth/MeGUI. I often rip video from DVDs for a subbing group as a hobby.
Recently I've been trying to rip a video [Shine We Are - BoA] from the original DVD, I bumped into a problem I've faced before: the VOB is very grainy =/ , and it's progressive in scans, not interlaced as I often see in DVD.
I am trying to denoise the video using MeGUI .

This is the script I tried to use without much success :(

LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\Vickie\Desktop\Shine We Are\vts_01_d2v.d2v", cpu=4, info=3)
LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#denoise

ConvertToYV12

LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\FFT3DFilter.dll")
FFT3DFilter(sigma=6,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)

LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\DeBlock.dll")
DeBlock(quant=35)

LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\degrainmedian.dll")
DeGrainMedian(LimitY=5,LimitUV=7,mode=0)

LoadPlugin("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\aWarpSharp.dll")
aWarpSharp(depth=16,cm=1)

import("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\DeHalo_alpha.avsi")
DeHalo_Alpha()

import("C:\Users\Vickie\Downloads\Programs\MEGUI\MeGUI_2008_x86\tools\avisynth_plugin\LimitedSharpenFaster.avsi")
dull=last
sharp=dull.LimitedSharpenFaster(SMode=4,Strength=150)
Soothe(sharp,dull,25)
crop( 0, 56, 0, -48,align=true)

LanczosResize(720,400) # Lanczos (Sharp)

ChangeFPS(29.97)
Tweak(hue=0.0,sat=1.2,bright=0.0,cont=1.0)
Levels(16, 1, 235, 0, 255, coring=false)
I know that I must have done did something wrong in the code cuz it's not working...
The dehalo_alpha : error "there is no function named 'expand' " <<< I put the masktool.dll into System32 folder, it still didn't work.
LimitedSharpenFaster <<< didn't work at all.
I wanted to try the MCTemporalDenoise but it returned the "syntax error" , I have no clue how to fix that :(

Any suggestion in how to improve this video would be highly appreciated :)
Here the sample in VOB: http://www.mediafire.com/?sk60eas7tsroajw

Thank you in advance

Pulp Catalyst
25th March 2012, 05:06
sounds like a problem with "masktools.dll"

usually caused by wrong version being used with version of plugin or AVISynth (maybe a combination of both)

now I don't know for sure why your getting the error, but "expand" function is definitely related to "masktools"

latest version of masktools is 1.5.8 I believe, check and make sure you have that version. (although there maybe other modded versions, as there sometimes are which can lead to confusion, I have not checked, i'm only posting link to official version)

http://manao4.free.fr/MaskTools.htm

HAD a quick check,

there is another version (v2), however it's ALPHA and it's the MT version (multi-threading)

http://manao4.free.fr/mt_masktools.html

LoRd_MuldeR
25th March 2012, 13:11
I often rip video from DVDs for a subbing group as a hobby.

~ Closed for rule #6 ~