07-22-2003, 02:23 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi guys!
I was sondering if there's a filter I could add to the MA script to increase compression even more? I'm having trouble with fitting some movies to one CD. Probably beacuse I'm mostly encoding PAL movies. Perhaps there's a filter like Dust or Convolution3D for AviSynth 2.5x? Suggestions and settings are appreciated.
__________________
AudioSlave
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
07-22-2003, 02:30 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi audioslave,
Have you tried the Vaguedenoiser
-kwag
|
07-22-2003, 02:55 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi kwag,
No, I haven't. What setting do I use and where do I put it in the script
And the most important point: Where can I download it (the latest version)?
Thanks!
EDIT: Maybe there's another filter that I could add to the script too. Besides VagueDenoiser?
__________________
AudioSlave
|
07-22-2003, 04:16 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I used Dup(threshold=1,blend=true) a couple of time. It does a good work but the effects are sometimes visible during travelling movements of the camera. Don't use the default parameters as they are too high !
You can use also DCTFilter(1,1,1,1,1,1,0.5,0)
Else did you try to use an overscan of 2 before adding any filter ?
|
07-22-2003, 04:28 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Dialhot,
I will try with DCTFilter. Will quality be effected in a visible way?
About the overscan, the highest overscan I can use is 1. Otherwise I see the right border on my TV.  At a higher resolution than 480x576 I might get away with overscan=2 but I haven't tried yet...
__________________
AudioSlave
|
07-22-2003, 04:41 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Is there another filter or a way to crank up the CQ even more? It's so boring to have to encode movies at 352x288 or 352x576. I would really like to able to encode those movies at least at 480x576 resolution. I know that adding such a filter would probably decrease the quality of the movie, but still...
__________________
AudioSlave
|
07-22-2003, 04:56 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
DCTFilter does'nt affect the "visible" part of the picture so you can try it.
For the overscan, I'm in the same case than you in fact
Now if you want to increase the CQ, one of the best filter is... blur.
Increase the value used for the luma in the MA script ( MergeLuma(Blur(0.1), try 0.2 or 0.3, no more).
An other thing : if you mux in SVCD you can use virtually all the resolutions you want. Make a try with 480*480, even at PAL fps (that is 25). It works on my pioneer (not sure : I did so much tests with it...)
|
07-22-2003, 06:09 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@ Dialhot,
Does it make a big difference with and without the DCTFilter? I know it differs from movie to movie, but on average?
Didn't you post an optimization of the MA part of the script - with TemporalCleaner instead of TemporalSoften? Could you point me to that post or post that line again? How much difference is it between TempClean and TempSoft, again, on average? And what about difference in picture quality?
Sorry for being a pain in the you-know-what...
__________________
AudioSlave
|
07-22-2003, 07:14 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by audioslave
Does it make a big difference with and without the DCTFilter? I know it differs from movie to movie, but on average?
|
Let say 100 Kb on a sample of 12 Mb. Thats makes 6Mb on the total 800 Mb.
|
07-22-2003, 07:23 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Always something!
Now, how about my question about TemporalCleaner...?
__________________
AudioSlave
|
07-22-2003, 07:29 AM
|
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 audioslave
Always something!
Now, how about my question about TemporalCleaner...?
|
let me jump here audioslave!
a few minutes ago i did a encode using this script
with temporalcleaner like Phil ajusts...the result? fantastic:
nf=0
GripCrop(480,480,overscan=1,source_anamorphic=fals e,dest_anamorphic=false)
GripSize(resizer="BiCubicResize")
Undot()
Asharp(1,4)
STMedianFilter(8,32,0,0)
MergeChroma(blur(1.5  )
MergeLuma(blur(0.1))
SwitchThreshold=(Width<=352)?4  Width<=480)?3:2
ScriptClip("nf=round(YDifferenceToNext())"+chr(13) +"nf >=SwitchThreshold?unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))):TemporalCleaner(6+nf,11+nf)")
GripBorders()
Letterbox(0,0,10,10)
function fmin(int f1,int f2){return(f1<f2)?f1:f2}
|
07-22-2003, 07:39 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi jorel,
Have you noticed any visual difference between TemporalSoften and TemporalCleaner? And what about size difference?
Nice that you posted your script. Now I can see where to put TempClean and how the script should look!
__________________
AudioSlave
|
07-22-2003, 07:47 AM
|
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 audioslave
Hi jorel,
Have you noticed any visual difference between TemporalSoften and TemporalCleaner? And what about size difference?
Nice that you posted your script. Now I can see where to put TempClean and how the script should look! 
|
after compare the results i got:
short final size with the same CQ!
general image got more details in background,more sharpness,less blocks!
i use the same source and encode it twice,
one with the best script and another with that script posted
that give  10% less final size
|
07-22-2003, 08:00 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Wow! 
That's great! 
Looks like I'll be using TemporalCleaner from now on.
__________________
AudioSlave
|
07-22-2003, 08:31 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
And the better is than I took something like 25 min to encode a sample (the same sample I use for all my tests) versus 31 min with temporalsoften !
|
07-22-2003, 08:49 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
__________________
AudioSlave
|
07-22-2003, 09:42 AM
|
Free Member
|
|
Join Date: Nov 2002
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Jorel or Dialhot
So is the above script using temporalcleaner complete?
why are you not using
limiter()
|
07-22-2003, 09:47 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi KingTuk,
The complete script should/could read:
Quote:
nf = 0
Mpeg2Source("Your_D2V_Source_Here")
Undot()
Limiter()
ASharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(1.50))
MergeLuma(blur(0.1))
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
Unfilter(-(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100))) : \
TemporalCleaner(fmin(round(3+nf), 7), fmin(round(8+nf), 15)).VagueDenoiser(method=1, threshold=2.5, nsteps=6, chroma=true)")
DCTFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
|
The only thing I'm not sure about is VagueDenoiser. You might have to add "filter=7" to the parameters
__________________
AudioSlave
|
07-22-2003, 10:03 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm going to give TemporalCleaner a try too! Again  !
__________________
j3llyG0053
|
07-22-2003, 10:06 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by KingTuk
Jorel or Dialhot
So is the above script using temporalcleaner complete?
why are you not using
limiter()
|
Because Jorel applied all my setting, and I decided to not use limiter.
Why ? 3 reasons :
1/ it takes time. Ok ok, it's not very serious, I'm kidding.
2/ Limiter turns true black to dark gray (Luma below 16 is clipped to 16) and pure white to very light gray (Luma above 236 is clipped to 236). Ones will say that is under human perception, thats true
3/ TMPGENC limits the value itself by default ! (Quantize Matrix Tab, Special settings, "Output YUV as Basic YCbCr" is uncheck by default)
I really don't see the purpose of having avisynth doing what TMPGenc already do.
But that is my opinion, my choice.
|
All times are GMT -5. The time now is 08:02 AM — vBulletin © Jelsoft Enterprises Ltd
|