Quantcast Avisynth: How to Filter this Very Grainy Video? - digitalFAQ.com Forums [Archives]
  #1  
05-05-2004, 06:40 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Hi guys,
I'm having trouble with encoding "The Texas Chainsaw Massacre". Well actually it's only the first minute or so. It's VERY grainy, and looks like this (not encoded):

I need to find a filter I can use for frames 1139-1916 ONLY! The clip on those frames are the worst I've ever seen. Looks like Lego when encoded !
So, please, give me advice on a filter to use + settings.
Thanks .
__________________
AudioSlave
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-05-2004, 06:48 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 audioslave
So, please, give me advice on a filter to use + settings.
Thanks .
How about some sand paper
( just kidding )

I would use a VERY strong Spatial filter, so you could try STMedianFilter(8, 8, 0, 0 ) for those frames.
Also, make sure you have Unfilter() and Deen() before the STMedian line.

-kwag
Reply With Quote
  #3  
05-05-2004, 06:51 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@ kwag

Thanks pal! I'll try those filters right away.
__________________
AudioSlave
Reply With Quote
  #4  
05-05-2004, 06:54 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
BTW What values do you think I could use for UnFilter?
__________________
AudioSlave
Reply With Quote
  #5  
05-05-2004, 07:05 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 audioslave
BTW What values do you think I could use for UnFilter?
I'm not sure Unfilter will really help, in that case.
You really need a strong spatial, and maybe even some temporal filtering.
The easiest way you can make a comparison, if you were lucky and you have MovieStacker, is to click on the "Compare" function.
Then you can interactively change filter values, and compare the input (RAW) video to the output (Filtered) video on the screens.
That's what I would do, because you can immediately see any changes, and make filter corrections, before you generate your new .avs script.

-kwag
Reply With Quote
  #6  
05-05-2004, 07:34 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Well, it didn't help much . Not quite sure what to do about this...
Thanks anyways, Kwag!
__________________
AudioSlave
Reply With Quote
  #7  
05-05-2004, 07:36 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 audioslave
Well, it didn't help much . Not quite sure what to do about this...
Thanks anyways, Kwag!
I don't think there's too much you can do
I mean, that scene looks like a Charlie Chaplin movie from the 1920's, played back 1000 times

-kwag
Reply With Quote
  #8  
05-05-2004, 09:50 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
I don't think there's too much you can do
I mean, that scene looks like a Charlie Chaplin movie from the 1920's, played back 1000 times

-kwag
You're right about that!
But, surely, there must be a way of encoding this intro so that it at least looks OK That's what I'm hoping for...
__________________
AudioSlave
Reply With Quote
  #9  
05-05-2004, 09:54 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Try edeen, the monster version of deen or why not try the wonderfull filters that were in dustV5.dll ? GoldDust was the heavier one. Try it.
Reply With Quote
  #10  
05-05-2004, 09:59 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Dialhot
Thanks! I never thought of that.
__________________
AudioSlave
Reply With Quote
  #11  
05-05-2004, 10:28 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Well I'll be damned . Thank you Dialhot, it worked out great with GoldDust The macro blocks are gone . Who said the dust filters were long gone dead?
__________________
AudioSlave
Reply With Quote
  #12  
05-06-2004, 06:11 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I sure didn't! I use the Dust Filters from time to time, and they're still doing a great job in my eyes!
__________________
j3llyG0053
Reply With Quote
  #13  
05-06-2004, 06:31 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Our swedish friend Audioslave

I think if I understood that right:
Quote:
I need to find a filter I can use for frames 1139-1916
Then my anser is: You can apply individual Filtering on special determined parts of the movie!
I often use it when having captures incl. different scene qualities, like documentations where diff. video origins are used.
Or maybe you got i.E. only one underwater scene in the movie where a blockbuster makes sense. And by the logic below you can avoid blockbustering/noise adding the whole movie! = keeping better the compression of the whole movie.

Code:
v=Avisource("xxxxxxxxxxx.avi") # or mepeg2source, just a source.

v1= trim(v,0,1000) # first movie partition in frames
v2= trim(v,1001,1500).deen("a2d",3,10,12) # second movie partition which will be individual "pre"-treaten
v3= trim(v,1501,2999) # third movie partition

# Lets merge them again

video=v1+v2+v3

# lets continue using the "normal" script we purposed to use

undot(video) # assigning the "video" variable once in the first filter to become a state as "last"
Asharp(1,4)
Bicubicresize(xxx,yyy,a,b,x,y,xxx,yyy)
StmedianFilter(3,3,1,1)

...etc. etc. etc.
Ist that what was your main purpose
I'm in my office so the script above is just written down out of my head ... but anyhow, you see its logic.

PS: load your regular avs in VdubMod and use its script editor ... you can set in VdubMod the markers when previewing&determining the cut points and in the script editor you can see a command in the menue "insert cut points as trims" or so similair. This will output a line in the previewed/loaded script where the cursor is placed within the script .. lets say the end. So you just can cut&paste the trims to the right location in the beginning of the script as explained above.
Reply With Quote
  #14  
05-06-2004, 06:41 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
You can also use the Avisynth internal function ApplyRange. See the docs for more info
Reply With Quote
  #15  
05-06-2004, 06:49 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible

Things can be that easy, right boulder!
They fixed the audio support of ApplyRange() already since vers. 2.53

I should read the Changelist of new releases not only in its "whats new" parts

@ all
http://www.avisynth.org/index.php?page=Animate
ApplyRange() is a part of the Animate() filter set.
Reply With Quote
  #16  
05-06-2004, 12:00 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@ All
Thank you VERY much guys. You've been most helpful
I don't know about you, but I sure love this forum. Quick and precise answers - (almost) all of the time . BTW The Massacre is turning out great .
__________________
AudioSlave
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth filter to make the video clips looks like a really old film? the viking Avisynth Scripting 3 11-16-2004 08:02 AM
Mencoder: Great picture quality, but grainy Dialhot Video Encoding and Conversion 14 05-31-2004 04:53 PM
grainy results from making KDVDs? glent2k3 Video Encoding and Conversion 3 05-10-2004 04:05 PM
video filter for brightness? Anonymous Avisynth Scripting 4 12-29-2002 01:30 AM
Avisynth: Auto crop using avisynth filter beta? black prince Avisynth Scripting 6 11-28-2002 08:51 AM

Thread Tools



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