MergeChroma to gain Compression?
Has anyone heard of this line for your AVS Script:
mergechroma(blur(1.3)) It's supposed to gain a little compressibility without affecting picture quality... I tried to find out how it works, but hadn't had much success yet... any experiences? |
I tried it once, couldn't see any difference but filesize went down about one percent. Not much but everything's appreciated. I also use DCTFilter with settings (1,1,1,1,1,1,0.5,0) and gain some extra compression without losing any details.
|
I tried it too, but I used the max value for blur mergechroma( blur(1.58 )) .
File size did come down a little with no visual difference. I compared it in two frames with Vdub. Looks like we can crank up CQ just a tad with this :idea: Thanks Jellygoose :D -kwag |
Would anyone care to try this 8O 8O 8O
mergechroma(blur( 1.58 )) mergeluma(blur( 1.58 )) Sample size without the above and bilinear resize: 11,194KB Sample size WITH the above lines AND lanczos resize: 10,099 8O Script here: Code:
LoadPlugin("C:\encoding\mpeg2dec.dll") BTW: If you remove the lanczosresize from the gripsize line, it uses the default bilinear resize and the sample file size is ~9.5MB 8O, but it looses some sharpness. Still, I can't tell a difference from the colors or brightness with the two lines mergechroma(blur( 1.58 )) and mergeluma(blur( 1.58 )) added to the script, but the space saving is humongous 8O -kwag |
Now where is that Canadian encode freak (SG) :twisted: I sure hope he's okay, it's been a long time since he's been here.
|
Quote:
-kwag |
hey kwag, that is fantastic!! A hell of a lot difference ! :D
I tried it too, and it really does help compression! Me personally I don't really like Lanczos Resizer. If I want extra sharpness I increase resolution to 704x576. With this I achieve the same effect, and also blocks are becoming smaller! kwag, with these new settings try to go for 704x480 in resolution for KVCDx3! I tried it, and I only had to drop CQ by 2 compared to the 544x480 resolution! I think it's a better way to get sharpness than applying sharpness filters or using lanczos... BtW Boulder: what is DCT Filter doing? |
I'm not exactly sure since I don't know much about maths :roll:
Here's a link to the official thread: http://forum.doom9.org/showthread.php?s=&threadid=38539 The settings I use are generally recommended, they don't seem to wipe out any details and do increase compression a bit. |
Quote:
I tried a clip at 704x480 and 528x480 on my HDTV, and the difference is almost barely visible. I'll settle for 528x480, because now I can raise the CQ 2 to 3 clicks, and that makes a HUGE quality difference specially on static walls and motion object :D I'm doing a full encode again of S1M0NE just to compare my previous encode 8) -kwag |
here is the DCT filter for avisynth 2.07
http://www.jungleweb.net/~sansgrip/DctFilter_YUY2.zip and the suggested settings DctFilter(1,1,1,1,1,.5,.5,0) ***also you are supposed to use the filter on resolutions that are a multiple of 16 |
hi,
my results were the opposite 8O With one minute high motion scene from "the Bourne Identity" (car chase) with bilinear Code:
Mpeg2Source("D:\encoding\mergechroma\test.d2v") with lanczos Code:
Mpeg2Source("D:\encoding\mergechroma\test.d2v") I'll try a sample with Sampler(length=24) next.. |
Hi All,
I did some test with MergeChroma/Luma(blur(1.58)) and sharpening on American Beauty predicted to a CDR-90: [/code] inital-script: Mpeg2Source("D:\Beauty\beauty.d2v") LegalClip() MergeChroma(blur(1.58)) MergeLuma(blur(1.58)) BilinearResize(512,352,39,74,642,426) SpaceDust() TemporalCleaner() Blockbuster(method="noise", detail_min=1, detail_max=10, variance=0.3, seed=1) AddBorders(16,112,16,112) LegalClip() Code:
|
Looks to me like this is going to be another long thread :mrgreen:
Yes mfb, the value of mergeluma(blur( 1.58 )) is probably too high. Next step is to play with that value :wink: -kwag |
Here's what I've been playing with:
Code:
mergechroma(blur(1.58)) This is the script I'm currently using to test, and the results are really awsome: Code:
LoadPlugin("C:\encoding\mpeg2dec.dll") My new sampler went down from 14,844KB to 13,085 with almost no visual difference. Now that's a lot in terms of quality/size for a two hour movie :D Edit: A couple of test clips follow in the next few minutes... -kwag |
Here are the tests:
With filters mergechroma(blur( 1.58 )) and mergeluma(blur( 0.8 )) : http://www.kvcd.net/film-chromaluma.m1v file size 460KB Without filters: http://www.kvcd.net/film-no-chromaluma.m1v file size 503KB -kwag |
Kwag,
:) i was waiting if someone post his opinion........... :roll: i download see the your samples in power dvd,zoomplayer and wmp7.1 and can't see diferences! you see any? :? :?: |
Quote:
Code:
LoadPlugin("C:\encoding\mpeg2dec.dll") -kwag |
I found the first sample of S1MONE w/mergechroma and luna a wee bit too blurry- maybe slightly lower settings can help me- but that's damn good compression!!
btw- you might find this script helpful for comparing m1v clips: Code:
# Compare .m1v clips |
:wink: @ Kwag and "friendalunit"
really good....and thanks for scripts! ps: :evil: now i'm mad. my last beer broke the ring..... searching for a :hammer: to open this! |
Quote:
Now that's one more for my toolbox :D. Here's the one I've been using: Code:
clip1 = directshowsource("k:\film1.m1v") |
Quote:
So I'll be a little :Drunk: in a while :lol: Opps 8O, kwag, this is not a chat room. Breaking rule #9,019234.0 will send you to a corner for 2 hours with a :dunce: :mrgreen: -kwag |
:lol:
and without wine or beer,only water. oh no,this is hell! 8O :lol: |
I love this forum. Not only for the talented people that provide their knowledge but for the fact everybody has a little fun. I get plently of laughs just reading some your guys posts.
Quote:
Branden [/quote] |
Quote:
Quote:
-kwag |
Guys I just hate this time difference! Everybody is having a beer while I'm sleeping... :?
Someday we just have to meet at a special time and just get drunk online and chat... then we copy-paste the whole session and post it in the forum somewhere :lol: . As for the "Maniac Filtering"... I really like the clip you posted. But I don't know if this is maybe a little too much filtering... Well I think the results speak for themselves, but since I haven't seen the DVD I can't compare... still MergeChroma and MergeLuma just have been deported to my standardscript... :lol: |
Kwag,
As long as you are going for "Maniac" filtering... try putting your NoMo settings to NoMoSmooth(30,2,6,2,6) so it will be more aggressive to motion... Also did you try DctFilter(1,1,1,1,1,.5,.5,0) before spacedust() in your script? some movies the dctfilter works good on and others very little... |
WOW - KWAG Strikes again! My results using a 1 minute analogue tv capture using KDVD:
No Filtering at all : 32mb PixieDust + Temporal Cleaner : 23 mb Pixie Dust + Temporal Cleaner + DCT Filter - 22mb Pixie Dust + Temporal Cleaner + Merge Chorma + Merge Luma - 17.5mb !!!!! :D Can't see a lot of difference on my pc, although the one with the 2 merge statements seems a little softer, its still sharper than using fluxsmooth and temporalsmoother. Will try a whole film and see if the wife notices a difference! Jim |
jamesp,
Instead of Pixiedust... try spacedust() NoMoSmooth(30,2,6,2,6) same results or better in less time... |
Quote:
Code:
LoadPlugin("C:\encoding\mpeg2dec.dll") Quote:
Here's what I got with these settings and a CQ value of 71: http://www.kvcd.net/s1m0ne-final.mpg Remember, this script is just a test. Do not pass go. Do not collect $200 dollars :mrgreen: -kwag |
What about trying the merge* filters after resize?
|
I wondered how long it would take till one of these threads got started
Thanks Jellygoose! I too hate this time difference, it all happens while I am sleeping. Quote:
|
@all: If you use DCTFilter, it should be used as the last filtering item in your script. LegalClip/Limiter and Sampler should be after it, of course, but other than that keep it as the last item. The author, Tom Barry, suggested this himself. The filter zeroes some DCT coefficients and the zeros are the ones that increase compression IIRC.
Tom has also released a new version of the filter which includes diagonal filtering. I posted the link earlier in this thread, check it out if you're interested. |
Thanks for that tip Boulder :!:
I'll try that later this afternoon. I had the DCTFilter on top :oops: So that's probably why I didn't get the effect of more compression :roll: . -kwag |
Hi boulder,
Ok I tried DCTFIlter after all filters and before the last GripBorders(), but I guess all filters above are already doing a superb job, and the difference was only 102KB smaller on a full sampler run. There is no visual difference at all with or without DCTFilter. Here's the script I tried: Code:
LoadPlugin("C:\encoding\mpeg2dec.dll") |
Hi kwag!
On my sample-run of "51st State" the DCT-Filter saved me 563kb compared to the script only with MergeChroma and MergeLuma... It's not a lot but maybe a couple of MBs in the complete movie... I think it depends on the source... since it's a quite fast filter I'll leave it in my standardscript... |
Quote:
I will too 8) -kwag |
Hi all. I've been running a few tests. Does anyone else think using both the merge statements actually makes the image look too blurry?
|
Quote:
Viewed on regular TV's, it looks about the same with or without the filters. On a HDTV, it clearly looks much softer. As I said above on a previous post, the script is only for test purpose :wink: -kwag |
Quote:
Actually, if i drop the Mergeluma line i hardly get any extra compression at all. I'm going to experiment with reducing the value. Any ideas how this filter actually works? Does the video actually get blurred or does it merge information from the blurred video into the proper video. Could we pass another filter into it, like spacedust or temporal cleaner? :? Jim |
Quote:
Well, you already have NoMo and SpaceDust in there, so I don't think there is need to add another temporal or spatial filter :roll: -kwag |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.