Quantcast Avisynth: DVD Source/Mosquito Noise Problem - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
05-09-2004, 08:40 PM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-10-2004, 04:47 AM
Fluffbutt Fluffbutt is offline
Free Member
 
Join Date: Apr 2004
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
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)
__________________
|
Meeow!
Reply With Quote
  #3  
05-10-2004, 08:10 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You also have filters more specifics for mosquitoes : fluxsmooth and undot.
Reply With Quote
  #4  
05-10-2004, 01:19 PM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
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()
Reply With Quote
  #5  
05-10-2004, 04:07 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Your subject talk about DVD source and your script deal with avi
Reply With Quote
  #6  
05-10-2004, 08:21 PM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #7  
05-11-2004, 07:44 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
The script you posted has nothing to do with the MA script though...
__________________
j3llyG0053
Reply With Quote
  #8  
05-11-2004, 10:18 AM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #9  
05-11-2004, 10:41 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10  
05-11-2004, 01:30 PM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
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
}

##############################
Reply With Quote
  #11  
05-11-2004, 01:53 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #12  
05-11-2004, 02:14 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #13  
05-11-2004, 02:40 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts

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.
__________________
j3llyG0053
Reply With Quote
  #14  
05-11-2004, 06:49 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
...let the people guess how you implemented the VagueDenoiser line into the MA script.
__________________
Rui
Reply With Quote
  #15  
05-11-2004, 09:18 PM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Quote:
...let the people guess how you implemented the VagueDenoiser line into the MA script.
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.

Anyway, I will test what Deen can do tonight.

Later
Reply With Quote
  #16  
05-11-2004, 09:33 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Jimblob
This thread is just a comedy of errors.
But you know we're all kidding, right

-kwag
Reply With Quote
  #17  
05-11-2004, 09:58 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Jimblob
This thread is just a comedy of errors.
But you know we're all kidding, right

-kwag
Then move it to the "Joke Forum".

Reply With Quote
  #18  
05-11-2004, 10:00 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Reply With Quote
  #19  
05-12-2004, 05:56 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
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...
__________________
j3llyG0053
Reply With Quote
  #20  
05-12-2004, 09:41 AM
Jimblob Jimblob is offline
Free Member
 
Join Date: Mar 2004
Location: Canada
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Sheeesh..Ha Ha.

It's time for this thread to expire.

Cheers
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
ACM Problem - Audio Source isn't supported? CaLaFaT Video Encoding and Conversion 12 05-05-2004 01:57 PM
Bitrates: Source range problem Paul0889 Video Encoding and Conversion 1 02-08-2004 05:36 PM
Avisynth: noise reduction, lot of mosquito noise? yauman Avisynth Scripting 8 02-02-2003 02:41 PM
SansGrip Filters: Mosquito noise SansGrip Avisynth Scripting 2 11-17-2002 07:17 PM
mosquito noise effect? black prince Video Encoding and Conversion 7 08-01-2002 01:17 AM




 
All times are GMT -5. The time now is 09:58 PM  —  vBulletin © Jelsoft Enterprises Ltd