digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: DVD source/mosquito noise problem (http://www.digitalfaq.com/archives/avisynth/9547-avisynth-dvd-source.html)

Jimblob 05-09-2004 08:40 PM

DVD source/mosquito noise problem
 
Hi

I have a DVD which has a lot of mosquito noise. When I encode it with the MA script, the result is blocky. Different levels of blockbuster do not solve my problem.
Does FaeryDust or PixieDust work with AviSynth 2.5.x? Will this help? From other postings I've read, this would seem the case. Where would I insert it into the MA script? If not, is there something similar I can use? Perhaps VagueDenoiser? Anyway, I will try the denoised until I get better advice.

Thanks

Fluffbutt 05-10-2004 04:47 AM

Try deen, one of these

#deen("c3d",1,10,12)
deen("a3d",1,10,12)
#deen("a2d",2,10,12)

I prefer the a2d for frame muck, a3d for scratches (time span effect)

Dialhot 05-10-2004 08:10 AM

You also have filters more specifics for mosquitoes : fluxsmooth and undot.

Jimblob 05-10-2004 01:19 PM

Thank you for the responses.
I am trying Vague Denoiser at the moment. It is impressive and promising. I placed it just before resizing. I borrowed it from a script by Dialhot for AVI sources(see end of post). I need to find the right threshold though...1.0 or 1.5...

VagueDenoiser(threshold=1.5,method=1,nsteps=6,chro ma=true)

I will try your suggestions afterward.
For sure, the MA script was not sufficient. Since undot is in the MA script, more noise filtering is needed. I noticed that someone posted a script with Undot appearing 3 or 4 times...?

Thanks again

AviSource("PATH\NAME.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =5,variance=0.1,seed=5823)
VagueDenoiser(threshold=1.5,method=1,nsteps=6,chro ma=true)
GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
Blockbuster(method="noise",detail_min=1,detail_max =10,variance=0.3,seed=5623)
GripBorders()

Dialhot 05-10-2004 04:07 PM

Your subject talk about DVD source and your script deal with avi :!:

Jimblob 05-10-2004 08:21 PM

Quote:

Originally Posted by Dialhot
Your subject talk about DVD source and your script deal with avi :!:

Yes, I am using a DVD source and the MA script. That script is a script you made for AVI. That is where I got the idea to use Vague Denoiser. I imported the line for Vague Denoiser into the MA script. Didn't mean to confuse.

Jellygoose 05-11-2004 07:44 AM

:?: The script you posted has nothing to do with the MA script though...

Jimblob 05-11-2004 10:18 AM

Either English is your second language or you guys are not taking the time to read my posting. Otherwise, you should know that I am using the MA script with VagueDeNoiser.
I copied the line for VagueDeNoiser from the Dialhot script I showed you in the previous post. That is all.
Anyway, I have had enough time to try different permutations of VagueDeNoiser and Deen. I am happy with the job VagueDeNoiser does. A lot of the mosquito noise is filtered out without losing too much detail.

Thanks...The End

kwag 05-11-2004 10:41 AM

Quote:

Originally Posted by Jimblob
Otherwise, you should know that I am using the MA script with VagueDeNoiser.

There's no "MA" part on your script :!:
In order to do motion adaptive filtering, you must have this:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

And I don't see that anywhere on your script.

-kwag

Jimblob 05-11-2004 01:30 PM

I'm sorry to say, but none of you guys are reading my previous post carefully. The script in the previous post is not the script I am using. It says so in the post. Go back and read it carefully. Are you all playing some kind of joke with me?
Anyway, my source has a lot of mosquito noise and the following script is what I am using...

Mpeg2Source("D:\TMPGEnc\movie.d2v")
#
#undot()
#asharp(1, 4)
VagueDenoiser(threshold=1.5,method=1,nsteps=6,chro ma=true)
GripCrop(480, 480, overscan=2, source_anamorphic=true)
GripSize(resizer="BicubicResize")
Undot()
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#

GripBorders()

### Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

##############################

kwag 05-11-2004 01:53 PM

Quote:

Originally Posted by Jimblob
Yes, I am using a DVD source and the MA script.

Quote:

Originally Posted by Jimblob
Yes, I am using a DVD source and the MA script.

Quote:

Originally Posted by Jimblob
Yes, I am using a DVD source and the MA script.

Quote:

Originally Posted by Jimblob
Yes, I am using a DVD source and the MA script.

Did I read wrong :?: :?: :?:

Dialhot 05-11-2004 02:14 PM

Gentlemen Jimblob is right : you don't read his posts carefully enougth :-)

He explaiend that the script he posted ISN'T the one he use. He posted the script where HE TOOK the vaguedenoiser line that he PUT into the MA script.

Jellygoose 05-11-2004 02:40 PM

8O
ok, right. however it's kind of confusing to post a script that you DON'T use and let the people guess how you implemented the VagueDenoiser line into the MA script. :mrgreen:

rds_correia 05-11-2004 06:49 PM

Quote:

...let the people guess how you implemented the VagueDenoiser line into the MA script.
:rotf:

Jimblob 05-11-2004 09:18 PM

Quote:

Originally Posted by rds_correia
Quote:

...let the people guess how you implemented the VagueDenoiser line into the MA script.
:rotf:

Guessing is not necessary. The 2nd post says how it is implemented. Take another look and don't just skim thru it.

This thread is just a comedy of errors. :roll:

Anyway, I will test what Deen can do tonight.

Later

kwag 05-11-2004 09:33 PM

Quote:

Originally Posted by Jimblob
This thread is just a comedy of errors. :roll:

But you know we're all kidding, right :?: :D

-kwag

Prodater64 05-11-2004 09:58 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by Jimblob
This thread is just a comedy of errors. :roll:

But you know we're all kidding, right :?: :D

-kwag

Then move it to the "Joke Forum".

:lol:

kwag 05-11-2004 10:00 PM

:lol:

Jellygoose 05-12-2004 05:56 AM

Jimlob, don't feel offended. you're right, I did just skim through your posts, and you already explained where you did put it. however it would help if you'd post the final script you used to get rid of your mosquito problem... :wink:

Jimblob 05-12-2004 09:41 AM

Sheeesh..Ha Ha.

It's time for this thread to expire.

Cheers


All times are GMT -5. The time now is 12:40 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.