Log in

View Full Version : Need suggestestions regarding Avisynth filters


nitinpushpan
24th July 2009, 06:35
I've been ripping DVDs for a while now. I rip from the clean original DVDs I buy. I still can't get the quality that others have. The problems I still have are listed below:
1. I still have small amount of block artifacts even after using deblock.

2. The video looks washed out or there is loss of details (like details of a persons face in the video). I mostly use Deen(), Fluxsmooth() & WarpSharp().

3. Undot() don't seem to remove the grains near the edges properly.

Please suggest good script and filters to use or the one whichever you guys use. I'm open to any kind of suggestions.
The main part I've noticed in my rips is globe of the universal studios. There a awkward artifacts (I don't know what it's called) in the blue area of the globe but I don't notice them in the others' rips. It is more visible when you zoom into the images I have attached.

http://bayimg.com/NAcNPAacM

http://bayimg.com/oACNBAACm

http://bayimg.com/OACnEAAcM

Again, please suggest some good avisynth script and filters to use or the one whichever you guys use. I'm open to any kind of suggestions.

rkalwaitis
24th July 2009, 07:44
Try Lato's Mctemporaldenoise as a starting point.

shoopdabloop
24th July 2009, 09:37
the artifacts in the blue part of the globe are from compression.

m3mbran3
24th July 2009, 13:34
You should always test your avisynth script with virtualdubmod before you encode, that way you can tell what imperfections were introduced during the encoding process.

As rkalwaitis reccomended, search the forums for MCTemporalDenoise. It is almost a one-stop shop for most production DVD's. I run almost all of my encodes through it with "very low" settings to clean up the grain and improve compressability. It also uses LSFmod which is good for sharpening the picture afterwards and deblocking if your source needs it.

nitinpushpan
24th July 2009, 14:57
I'm getting an error stating FFTW3.DLL not found. I downloaded all the filters mentioned in the "MCTemporalDenoise.avsi" and saved it in my AviSynth plugins folder. Is it something missing in the FFT3Dfilter I downloaded?

Nightshiver
24th July 2009, 16:36
Yes. Not only do you need the FFT3DFilter.dll, you also need FFTW3.dll and you must put that .dll in the windows/system32 folder. Click here (http://avisynth.org/warpenterprises/files/fftw3_20040130.zip) And if you want better suggestions, post an unprocessed video sample.

nitinpushpan
24th July 2009, 21:13
I can't upload unprocessed video files because all my sources are DVDs and each vob is 1GB which will take a decade to upload with the connection speed I've got. I have original DVDs so I suppose you can guess the quality of the video I'm working on. I managed to get MCTemporalDenoise using "very low" setting to work and I tested it on a vob file. To be honest I don't see any great improvement over my previous rips, plus this thing is too slow. But I was surprised to see through the thumbnails the quality that Lato managed to get with his rips (To be honest it was more like a Jaw dropping quality rip). I noticed the huge set of parameters he mentioned. Am I supposed to enter the entire thing manually? Is there more tweaking to it? Am I supposed to apply more filters over this? I'm ready to spend the time but I need better quality.

thewebchat
24th July 2009, 21:37
You can demux small portions of your clip by marking it off in DGIndex and then doing "save and demux video." Also, most DVDs look like total garbage so I'm not sure if that's what you want us to take from "typical original DVD quality."

10L23r
24th July 2009, 23:01
What encoder do you use? And at what bitrate?

MC_spuds also works well for degraining old/very noisy videos.

nitinpushpan
25th July 2009, 05:29
I used Gordian Knot at a bitrate of 752kbps.

nitinpushpan
25th July 2009, 05:32
You can demux small portions of your clip by marking it off in DGIndex and then doing "save and demux video." Also, most DVDs look like total garbage so I'm not sure if that's what you want us to take from "typical original DVD quality."

By original DVD quality I meant the DVDs bought from a video store and not the pirated ones from the streets. I know that the quality of the DVDs are like shit compared to BlueRay Discs. I'll try to upload the video as soon as I can.

nitinpushpan
25th July 2009, 08:01
Here is the link to the sample of the unprocessed video

http://rapidshare.com/files/259775529/VTS_01_3.demuxed.m2v.html

m3mbran3
25th July 2009, 15:36
why dont you post your avisynth script you are using as well.

m3mbran3
25th July 2009, 16:03
I can't upload unprocessed video files because all my sources are DVDs and each vob is 1GB which will take a decade to upload with the connection speed I've got. I have original DVDs so I suppose you can guess the quality of the video I'm working on. I managed to get MCTemporalDenoise using "very low" setting to work and I tested it on a vob file. To be honest I don't see any great improvement over my previous rips, plus this thing is too slow. But I was surprised to see through the thumbnails the quality that Lato managed to get with his rips (To be honest it was more like a Jaw dropping quality rip). I noticed the huge set of parameters he mentioned. Am I supposed to enter the entire thing manually? Is there more tweaking to it? Am I supposed to apply more filters over this? I'm ready to spend the time but I need better quality.

I think you will find it beneficial to study up a bit on the basics of video compression. You are trying to compress video file with a bit-rate of almost 5000kbps to a xvid file of only 750kbps.

It doesn't take a genius to work out that this will result in a severe loss of quality, especially if you are compressing using xvid and not x264. Any blocking / artifacts you are getting in your output are solely due to your low quality encode, and no amount of filters will fix this.

I'm not sure what you expect throwing an abundance of filters at the problem is going to achieve? An old programming adage of Garbage In - Garbage Out resonates with me in your case. You are inputting standard DVD quality output, I'm not sure why you expect the output to be suddenly better quality.

Also you somewhat contradict yourself when you say you willing to spend more time for a better quality encode yet still complaint that MCTemporalDenoise is too slow. If you are backing up for your own personal use then I reccomend you try out encoding to x264 using megui. Something like the 1pass constant quality profile with a crf range of 18-22 should give you pretty transparent results.

Your source is pretty good and besides removing some of the grain (which in turn removes some of the fine details) there is nothing major you would want to change.

Nightshiver
25th July 2009, 17:10
Wow, what are you going on about OP. This source is actually very clean. It needs next to no denoising at all, and very little sharpening. You should also read the post above me. Go for x264.
If anything, I might just run a light:

source = last
vectors = source.MVAnalyseMulti(refframes=3, pel=2, overlap=4, sharp=1, idx=1)
source.MVDegrainMulti(vectors,thSAD=300,idx=1)
LimitedSharpenFaster(ss_x=1.7, ss_y=1.7, smode=3, strength=160, overshoot=1, undershoot=1)

You honestly have a clean source, and I believe the movie is Fast&Furious: Tokyo Drift.

m3mbran3
25th July 2009, 17:45
I think you are right about the movie Nightshiver. The script you posted is pretty similar to MCTemporalDenoise on the very low setting, just a light degrain and sharpen. If anything it should help the movie compress better.

nitinpushpan
25th July 2009, 18:43
Your right m3mbran3. I may be asking for too much. I was just trying to get the best out my rips. I'll definitely try x264 using megui. And thanks Nightshiver for the script. I'll try that too. Thanks for the suggestions.

m3mbran3
26th July 2009, 08:09
If you're interested the avs script I used is below. Basically if you load your file into megui it will crop the black bars and set the correct resolution / aspect ratio and handle the deinterlacing. The only thing I added was slightly brighten the picture and light grain removal. Both you could probably skip though if you want a faster encode.


# Set DAR in encoder to 192 : 79. The following line is for automatic signalling
global MeGUI_darx = 192
global MeGUI_dary = 79
DGDecode_mpeg2source("C:\familyvids\test\VTS_01_3.demuxed.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate()
crop( 0, 60, 0, -60)

HDRAGC(coef_gain=0.3, max_gain=0.5)
MCTemporalDenoise(settings="low", GPU=true)

thewebchat
26th July 2009, 14:39
Why are you decimating twice?

m3mbran3
26th July 2009, 17:54
sorry, copy and paste error. fixed in orig. post.