Log in

View Full Version : Avisynth filters function for XviD BRRip


gioppatta
25th May 2012, 17:59
Hi, I write for speak about filters to use ripping in 700MB a bluray source.
with a film of 2 or more hours at low bitrate (560/650/700)kbps
the quality go down...
so my question is:what are the filters to be used?
I'm refering especially to sharpener and denoiser.
I need an answer by an expert.
thank you!

Guest
25th May 2012, 18:40
Sharpening and denoising filters will not help you to compress a BluRay movie into 700MB!

You'll have to resize it to SD, at a minimum.

Why do you target 700MB?

gioppatta
26th May 2012, 14:02
for movie encoding... I badly explained my question, I'm speaking about filters that increase quality at low bitrate...

gioppatta
26th May 2012, 14:04
the what are the good sharpener and denoiser or serve others filters?

Bloax
26th May 2012, 14:15
Well AFAIK this function of mine is fine and dandy at reducing heavy noise flickering at low bitrates. Though the usability of it is usually pretty limited to really extreme cases.

Here's the function:
function CalmGrain(clip clp,int "tstr",int "bias1",int "bias2")
{
# Requirements: RemoveGrain, MaskTools2, RedAverage (Just look it up on Google.)
# By yours truly, Bloax.

# ~~~~~ Wuzzis now?
# This 'should' calm grain down, I can now say that it "should" improve compressibility by a little bit.
# It certainly reduces the eye-tearing effect of heavy noise compression artifacts post-encoding though. :-)
# ~~~~~

# ~~~~~ Wuzzis do now?
# "tstr" Is now the strength of ReduceFluctuations, which I found to be just the thing for noise.
# Due to the fact that it just "stupidly" moves pixels along - it's usually quite nasty. It's good for calming grain though! :P

# "bias*" Are the bias values for some of the masks, higher values (lower, actually) removes more "weak" spots.
# I wouldn't recommend going above negative values, and stay below -32. Mess around with it, or leave it. Basically.

# bias1 is for the main edge detection, higher (lower negative) values include more edges.
# And thus more noise might sneak in, ought to reduce artifacts a bit though. (Which may be quite important.)

# bias2 is for the noise mask, the lower the value, the less noise ought to be "caught", in theory.
# As said, just leave them, or mess around with them.

tstr = Default(tstr,16)
bias1 = Default(bias1,-64)
bias2 = Default(bias2,-128)

a = clp.IsYV12() ? clp : clp.ConvertToYV12()

msk=RAverageW(a,32,a.RemoveGrain(19,-1),-32,u=0,v=0,sse=8,bias=bias1) # Edges
msk2=Mt_Edge(a,"laplace",0,20,256,256) # Additional edges
msk3=Mt_Logic(msk,msk2,"max",sse3=true).RemoveGrain(1,-1) # Merging detected edges
noisemsk=RAverageW(a,32,a.RemoveGrain(17,-1),-32,u=0,v=0,sse=8,bias=bias2).Mt_Expand(sse3=true) # Finding noise
noisemskfin=Mt_Logic(msk3,noisemsk,"andn").ReduceFluctuations(64).RemoveGrain(2,-1) # Removing edges from noise mask.
RMerge(a,a.ReduceFluctuations(tstr),noisemskfin) # Merging, also trust me, you don't want edges in the mask. :)
}
Just dump it into a new .avsi file in your Avisynth plugins folder.

And is there a reason you'd prefer to use XviD instead of x264?

Sharpening for low bitrates is tricky business, also.

gioppatta
26th May 2012, 18:57
thank you I'll try it immediatly and the sharpener function?

gioppatta
26th May 2012, 19:07
i use xvid for compaibility and for number of settings

gioppatta
26th May 2012, 19:17
http://img59.imageshack.us/img59/2320/ss4za.png
http://img850.imageshack.us/img850/4151/06481142139532050115.png
http://img233.imageshack.us/img233/9208/19162734664050583843.png
these are the results you'd like to reach...

Guest
26th May 2012, 20:05
Where do those screenshots come from?

Didée
26th May 2012, 20:14
these are the results you'd like to reach...
Really? To me, those are results that I'd try to avoid by all means.
___

In regards to Xvid, 640x272, and 700MB rips: It seems you got the wrong exit out of a time tunnel.
Short briefing:

- The year is 2012. Not 2002, and not 1992.

- x264 produces x-fold better quality than Xvid.

- Needing Xvid for "compatibility" usually means your device is outdated.

- 700 MB rips are considered depreciated. 80GB-drives have been in 2002. In 2012, typical hardrive sizes are measured in TB's, i.e. "thousands of GB's".

gioppatta
27th May 2012, 11:28
the screens came from Extra torrent release group rips...

Guest
27th May 2012, 11:37
Closing for rule 6 violation. Please read and follow our forum rules.

http://forum.doom9.org/forum-rules.htm

You cannot mention or discuss such material here. Discussing how to duplicate results of such material is not allowed.