Quantcast Avisynth: No Need for Blockbuster ? - digitalFAQ.com Forums [Archives]
  #1  
04-27-2003, 08:55 PM
LadyMiles LadyMiles is offline
Free Member
 
Join Date: Sep 2002
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Hello All,


I think someone explained to me that the new templates don't need the blockbuster noise filter, because we use CQ now. Is there no way to reduce those gradient blocks in dark areas ?
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  
04-27-2003, 09:03 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by LadyMiles
Hello All,


I think someone explained to me that the new templates don't need the blockbuster noise filter, because we use CQ now. Is there no way to reduce those gradient blocks in dark areas ?
hi LadyMiles

in some cases yes, see my post please:
http://www.kvcd.net/forum/viewtopic....1b7ec6a0c911e6

Reply With Quote
  #3  
04-27-2003, 09:27 PM
LadyMiles LadyMiles is offline
Free Member
 
Join Date: Sep 2002
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Jorel

Is there a reason that you Load the plugin in the middle of the script , instead of the Load plugin "header"?
Reply With Quote
  #4  
04-27-2003, 09:48 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

not in the middle,in the beggining or in the end

got less size(more compression but slow),after STMedianFilter
or
got 10% more size(less compression but faster),after mergeluma

LegalClip()
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
*blockbuster noise here is slow encode but got less size*
# SpaceDust() # Optional - for some "not so clean" DVDs.
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.5)
mergeluma(blur(0.3))
*blockbuster noise here is faster and got 10% more size*
# Convolution3d or DCTFilter for extreme worse cases.
GripBorders()
LegalClip()

Reply With Quote
  #5  
04-28-2003, 01:42 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Hi Jorel, how did the picture quality turned out, was there any difference?
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #6  
04-28-2003, 01:51 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Was there any difference in the picture quality, when blocbuster was in the start of the script was it better or worse than when blockbuster was in the end?
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #7  
04-28-2003, 02:09 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by CheronAph
Was there any difference in the picture quality, when blocbuster was in the start of the script was it better or worse than when blockbuster was in the end?
oh yes CheronAph, now i "got"

blockbuster in the end have better image!!
(encode faster and with more size too)

ps:
thanks for redo the question.
Reply With Quote
  #8  
04-28-2003, 11:57 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Hi jorel and all,

It's not much effective placing BolckBuster(noise) before Dust filter.
If you do that you will be adding noise with blockbuster and then
removing it with dust. Bockbuster will be almost useless this way.
The correct place is the second one... just before adding borders.
Reply With Quote
  #9  
04-28-2003, 12:36 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for the hint muaddib

but i don't use dust to encode with this script,
see the # before the line!
(this is a copy of Kwag's script more blockbuster)

and
"The correct place is the second one... just before adding borders."
yes and in this place, the final size is small
and need more time to encode!

Reply With Quote
  #10  
04-28-2003, 01:48 PM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
Blockbuster can be very usefull for attacking macroblocks, especially in dark areas. I'm fiddling around with a script exclusively for Divx sources that attacks those blocks... looks VERY promising so far...

I'm finished encoding 'The Ring' (aka Macroblock Hell), and the macroblock assault was very succesful, especially in dark areas!!!
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #11  
04-28-2003, 02:12 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Can you post the script here when you´ve nailed it!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #12  
04-28-2003, 03:13 PM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
I haven't nailed it yet, but here's the latest version...
--------------------------------------------------------------------------------------
#============================================#
# -= Mega Supreme AviSynth script by Reno =- #
#============================================#

LoadPlugin("C:\Program Files\MovieStacker\Filters\Mpeg2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\TemporalCleanerOld.dll" )
LoadPlugin("C:\Program Files\MovieStacker\Filters\FluxSmooth.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\BlockBuster.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Msoften.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\DustV5.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll")

AviSource("t25h-cd1-xvid.avi",false)
ConverttoYUY2
LegalClip()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
SpaceDust()
TemporalCleaner(ythresh=1, cthresh=15)
sharpen(0.7)
mergechroma(blur(1.5)
mergeluma(blur(0.1))
BlockBuster(method="noise", detail_min=1, detail_max=100, variance=0.8, seed=0 )
MSoften(3,3,4,3,pre=1,post=1,speed=4,showmask=fals e)

GripBorders()
LegalClip()

#Sampler(length=24)
--------------------------------------------------------------------------------------
The war against macroblocks continues... :P
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #13  
04-28-2003, 04:34 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Hi jorel and all,

It's not much effective placing BolckBuster(noise) before Dust filter.
If you do that you will be adding noise with blockbuster and then
removing it with dust. Bockbuster will be almost useless this way.
The correct place is the second one... just before adding borders.
muaddib,

i forgot to "say":

using trim and fade before the resize:
the final file is bigger.( a little more)
using trim and fade in the final of the script:
the final file is smaller! (a little less)

this is for MovieStacker!
Reply With Quote
  #14  
05-20-2003, 07:37 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
where is msoften.dll? where is convertto YUY2?

cant see it anywhere on moviestacker?

I'm using Moviestacker Version bet a2.00
Reply With Quote
  #15  
05-20-2003, 08:06 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TheDJ®
where is msoften.dll? where is convertto YUY2?

cant see it anywhere on moviestacker?

I'm using Moviestacker Version bet a2.00
ConvertToYUY2 (without space) is a builtin instruction of avisynth

msoften can be find there :

http://www.avisynth.org/~warpenterprises/
Reply With Quote
  #16  
05-20-2003, 08:28 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Phil, thx for the filter site! appreciate it!

Once i downlaod msoften.dll, where do i put it? and how do i select it in the script?

cheerz
Reply With Quote
  #17  
05-20-2003, 08:34 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
OK, i've put it in the filter folder in moviestacker, but then how do i select it in the script plz?
Reply With Quote
  #18  
05-21-2003, 09:19 AM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Open FS Editor and write:

LoadPlugin("C:\Program Files\MovieStacker\Filters\Msoften.dll")

after the Gripsize line:

Msoften(3,3,4,3,pre=1,post=1,speed=4,showmask=fals e)

something like that
Reply With Quote
  #19  
05-21-2003, 09:32 AM
TheDJ TheDJ is offline
Free Member
 
Join Date: May 2003
Location: UK
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Hi ovg64, thx for reply.

Now i can do it, thx

TheDJ®
Reply With Quote
  #20  
05-23-2003, 08:49 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
Quote:
Originally Posted by Reno
...
SpaceDust()
TemporalCleaner(ythresh=1, cthresh=15)
sharpen(0.7)
mergechroma(blur(1.58))
mergeluma(blur(0.1))
BlockBuster(method="noise", detail_min=1, detail_max=100, variance=0.8, seed=0 )
MSoften(3,3,4,3,pre=1,post=1,speed=4,showmask=fals e)
...
Reno, just a few comments based on observations during my own anti-xvid-block experiments. Hope you don't mind!

1 - I found that blockbuster method="dither" gave better looking more stable results. Method="noise" gave me slowly changing patterns of dots on low detail areas.
2 - MSoften doesnt seem to process the very edges of the video so I add borders to give it "room to work", run MSoften, then remove the borders again.
3 - I like to use LanczosResize to maintain some extra sharpness as I find xvid sources can be very soft.

Can I ask what your thinking is behind the soften-sharpen-soften-soften approach in the above script?

FWIW heres my latest effort:
Code:
FluxSmooth() # maybe a FaeryDust() for LQ sources ?
AddBorders(32,32,32,32) 
Blockbuster(method="dither",detail_min=1,detail_max=10,variance=0.3,seed=5823) 
MSoften(3,3,4,3,pre=1,post=1,speed=4,showmask=false) 
Crop(32,32,Width()-64,Height()-64) 
LanczosResize(432,320)
BlockBuster(method="noise",detail_min=1,detail_max=8,variance=0.1,seed=5823)
The final BlockBuster line is experimental - I think it might help smooth out the blocky colour gradients you sometimes get with xvid sources. I'm still encoding the experimental videos though so I'm not sure.

FWIW I ran a StackVertical comparison of my script vs. yours and I liked my results better ;) See what you think!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Blockbuster Vs DCTfilter? supermule Avisynth Scripting 7 10-13-2005 07:09 AM
Avisynth: Blockbuster? Shibblet Avisynth Scripting 1 12-12-2004 09:40 PM
Avisynth: Analysis on BlockBuster kwag Avisynth Scripting 35 07-31-2003 11:26 AM
Avisynth: DTC Block + the blockbuster filter ? Timster Avisynth Scripting 5 01-13-2003 09:05 PM
Avisynth: Kvcdx3 and blockbuster ARAGORN Avisynth Scripting 0 11-25-2002 11:54 AM

Thread Tools



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