digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   SansGrip Filters: Blockbuster only (http://www.digitalfaq.com/archives/avisynth/1734-sansgrip-filters-blockbuster.html)

syk2c11 11-30-2002 11:56 AM

Blockbuster only
 
I am using KDVD full-D1, if I only want to use blockbuster to get rid of background's blocks, what would be the script?

kwag 11-30-2002 12:46 PM

Re: Blockbuster only
 
Quote:

Originally Posted by syk2c11
I am using KDVD full-D1, if I only want to use blockbuster to get rid of background's blocks, what would be the script?

Here ya go!:

LoadPlugin("C:\encoding\MPEG2DEC.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
mpeg2source("K:\YourPath\VIDEO_TS\YourMovie.d2v")

.... other lines

Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 ) # Apply noise if complexity is <= 10%.

... other lines


-kwag

syk2c11 12-02-2002 03:15 AM

Kwag,
I am not sure if this is true, I found that Blockbuster 0.5 has no argument of "lv", it has to be "variance". Whereas Blockbuster 0.4 can recognise "lv". Is there any difference in terms of quality between 0.4 and 0.5??

deltaboy 12-02-2002 09:19 PM

im very new to this blockbuster filter, havent been around for a while. is it that mush better/faster than the regular temporal smoother? i used the above script, but the video wouldnt fully encode. it shows an avisynth error code.

im using the standard kvcd 352x480 cq template.

syk2c11 12-02-2002 09:39 PM

Hi Deltaboy,
I had exactly the same problem before, I now use Blockbuster 0.4 (get it here http://www.jungleweb.net/~sansgrip/avisynth/) and the script provided by Kwag as stated above, it works perfectly. One thing to remember, Blockbuster 0.4 does NOT recognise "variance", try the script below with Blockbuster 0.4


Blockbuster(method="noise", detail_min=1, detail_max=10, lv=1)

deltaboy 12-04-2002 09:44 PM

funny thing,

i encoded my video with the blockbuster filter, and it produced a larger filesize than when encoded with the d2v file directly. 16MB for an 83 min video. ill see what the standard temporal smoother filter produces...

ive never usd fitcd and dont really want to learn it, but how many of SansGrip filters do you people use for any one instance? anyone wanna give me a dummy script. i will try to use the kvcd plus template for a 1 cd 352 x 480 film with 128 audio.

things arent as simple anymore. :(

kwag 12-04-2002 10:09 PM

Quote:

Originally Posted by deltaboy
anyone wanna give me a dummy script. i will try to use the kvcd plus template for a 1 cd 352 x 480 film with 128 audio.

things arent as simple anymore. :(

:D Here you go:

LoadPlugin("C:\encoding\MPEG2DEC.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")

mpeg2source("K:\RED_PLANET\VIDEO_TS\red.d2v")
LegalClip()
BilinearResize(336,192,45,0,630,480)
FluxSmooth()

######## Auto Strength, proportional strength depending on resolution #####
## Remove only one "#" on front of the resolution that matches your encoding.

BB_Resolution = 352*240
#BB_Resolution = 352*480
#BB_Resolution = 528*480
#BB_Resolution = 544*480
#BB_Resolution = 704*480

BB_StrengthConstant = 352 * 240 * 20 # Base strength
StrengthValue = round (BB_StrengthConstant / BB_Resolution)
Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 ) # Apply noise if complexity is <= 10%.
Blockbuster( method="sharpen", detail_min=20, detail_max=90, strength=StrengthValue) # Sharpen only if complexity is >= 20% AND <=90%.
# The last ~10% is left untouched (pass-through), to avoid sharpening highest frequency components ( Peak artifacts, sharpest edge, etc. )
##
################## End Auto Strength ####################

AddBorders(8,24,8,24)
LegalClip()

#IL = Framecount / 100 # interval length in frames
#SL = round(Framerate) # sample length in frames
#SelectRangeEvery(IL,SL)


Have fun 8)

-kwag

deltaboy 12-04-2002 11:08 PM

thanks kwag! always stepping up to the plate, my man...

hey, what about the ConvertToRGB()? looks like solarization when previewing in media player. and if i dont want to resize the res in avisynth, but in tmpenc, what should i omit? here is my script i could only wish to read:

LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\MPEG2DEC.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\fluxsmooth.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\blockbuster.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\legalclip.dll")
mpeg2source("E:\TEXAS_CHAINSAW_MASSACRE\texas_chai nsaw_massacre.d2v")
LegalClip()
FluxSmooth()

######## Auto Strength, proportional strength depending on resolution #####
## Remove only one "#" on front of the resolution that matches your encoding.

#BB_Resolution = 352*240
BB_Resolution = 352*480
#BB_Resolution = 528*480
#BB_Resolution = 544*480
#BB_Resolution = 704*480

BB_StrengthConstant = 352 * 480 * 20 # Base strength
StrengthValue = round (BB_StrengthConstant / BB_Resolution)
Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 ) # Apply noise if complexity is <= 10%.
Blockbuster( method="sharpen", detail_min=20, detail_max=90, strength=StrengthValue) # Sharpen only if complexity is >= 20% AND <=90%.
# The last ~10% is left untouched (pass-through), to avoid sharpening highest frequency components ( Peak artifacts, sharpest edge, etc. )
##
################## End Auto Strength ####################

LegalClip()

#IL = Framecount / 100 # interval length in frames
#SL = round(Framerate) # sample length in frames
#SelectRangeEvery(IL,SL)

ConvertToRGB()


thanks again!!!

kwag 12-05-2002 08:45 AM

Quote:

Originally Posted by deltaboy
thanks kwag! always stepping up to the plate, my man...

hey, what about the ConvertToRGB()? looks like solarization when previewing in media player. and if i dont want to resize the res in avisynth, but in tmpenc, what should i omit? here is my script i could only wish to read:

LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\MPEG2DEC.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\fluxsmooth.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\blockbuster.dll")
LoadPlugin("D:\==Appz==\Video Editing\AVIsynth\legalclip.dll")
mpeg2source("E:\TEXAS_CHAINSAW_MASSACRE\texas_chai nsaw_massacre.d2v")
LegalClip()
FluxSmooth()

######## Auto Strength, proportional strength depending on resolution #####
## Remove only one "#" on front of the resolution that matches your encoding.

#BB_Resolution = 352*240
BB_Resolution = 352*480
#BB_Resolution = 528*480
#BB_Resolution = 544*480
#BB_Resolution = 704*480

BB_StrengthConstant = 352 * 480 * 20 # Base strength
StrengthValue = round (BB_StrengthConstant / BB_Resolution)
Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 ) # Apply noise if complexity is <= 10%.
Blockbuster( method="sharpen", detail_min=20, detail_max=90, strength=StrengthValue) # Sharpen only if complexity is >= 20% AND <=90%.
# The last ~10% is left untouched (pass-through), to avoid sharpening highest frequency components ( Peak artifacts, sharpest edge, etc. )
##
################## End Auto Strength ####################

LegalClip()

#IL = Framecount / 100 # interval length in frames
#SL = round(Framerate) # sample length in frames
#SelectRangeEvery(IL,SL)

ConvertToRGB()


thanks again!!!

Hi deltaboy:

Put the ConvertToRGB() right after the ("E:\TEXAS_CHAINSAW_MASSACRE\texas_chainsaw_massac re.d2v") line.
Also don't touch the Base strength. It should always read: "BB_StrengthConstant = 352 * 240 * 20"
You only uncomment one "#" as you did above to select 352x480, but don't touch the base strength line.
Maybe you need ConvertToYUY2() instead of ConvertToRGB() :idea:

-kwag

deltaboy 12-05-2002 08:41 PM

Quote:

Originally Posted by kwag
Maybe you need ConvertToYUY2() instead of ConvertToRGB()

dont work buddy. i am saving my d2v file as PC/RGB... anyway, gotta love this message:

Avisynth: caught an access violation at 0x06241603.
attempting to read from0x072d2000


i read this is a prob with blockbuster 2.5, but then i hear 2.4 doesnt support variance. hmmm, what a stumper.

Jellygoose 12-11-2002 01:19 PM

Is it better to use Temporal Smoother before the blockbuster and the fluxsmooth line or after? (Noisy sources...)


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

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