New Avisynth DCT-based filter
Tom Barry just released an experimental version of a filter that does a discrete cosine transform on the data before filtering. This should allow smoothing to be done only in certain frequency ranges.
Sounds very promising -- take a look at this Doom9 thread. @kwag: Theoretically this could target mosquito noise fairly precisely. Edit: Though possibly not as precisely as a full-blown FFT. |
Hi SansGrip,
SansGrip wrote: Quote:
were still working wavelets (GFR). This could further the knowledge to solve Gibbs effect. This filter is written using avisynth 2.5 experimental. There is nothing available for avisynth 2.07. I don't know whether both avisynths will work loaded at the same time. If these test filters were being created for avisynth 2.07, more testers could evaluation them. -black prince |
Quote:
Quote:
Quote:
Get hold of the 2.5 filters you want to use, and copy those DLLs into the same directory that Avisynth 2.5 is in. Any .avs scripts you make IN THAT FOLDER will use 2.5 and the 2.5 filters instead of 2.07 and the 2.07 filters. You can then use a script like: Code:
LoadPlugin("mpeg2dec3.dll") It's not an ideal setup, but at least you can play with the new filters without harming your existing install :). |
Re: New Avisynth DCT-based filter
Quote:
-kwag |
AviSynth 2.5
|
Re: AviSynth 2.5
Quote:
-kwag |
Re: New Avisynth DCT-based filter
Quote:
That said, iago is reporting compressibility gains of up to 30% without very noticible degredation in picture quality! |
Re: New Avisynth DCT-based filter
Quote:
Quote:
-kwag |
I can't use v2.07 and 2.5a on the same computer. I did just as SansGrip said but no good. If 2.07 is in the system folder, it says "there's no function called ConvertToYV12" (I have to convert my YUY2 capture to YV12) .
Edit: and I can't seem to be able to open the avs script in TMPGEnc with 2.5a. Despite the line ConvertToRGB24(), TMPGEnc just crashes. OS is WinXP, if this is of any use. |
Quote:
Quote:
|
Quote:
The script was in the same directory.. VDubMod should probably be pointing to the very same directory just as TMPGEnc. That would make some sense. I'll have to experiment with this as I think that most plugin authors will end up writing only 2.5 plugins - and I can't live without your latest plugins! :D |
Quote:
Quote:
The big difference is that 2.5 supports YV12, and it's generally much easier to make filters that operate on YV12 than on YUY2 (though there are some caveats). They also generally run faster, sometimes as much as 25-30%. Since it was decided that supporting YV12 would be a good idea (and it is), I look forward to the day when everyone is using 2.5 and YV12 and I won't have to write two versions of everything, which is a major pain in the neck ;). |
Quote:
|
A present
Here's a present for y'all ;).
|
What, no-one's tried it yet?? :D
|
I experimented shortly with Tom's original AVS2.5 version. It seems that the filter messes up permanent subtitles quite easily. As we here in Finland have non-Finnish programs subtitled and I use permanent subs in VCDs, it is a problem I'll have to solve before taking it into everyday use. I could live without subtitles but my wife couldn't - now what can you say to that :lol:
Unfortunately I haven't had the time to experiment with different parms, but I think I'll try to do that tomorrow. If you happen to have any tips, I'm all ears. |
Hi Boulder!
You can try to put permanent subs command at the very end of your avisynth script :wink: . Thanx SansGrip's AviSynth 2.0.X version, I have done few testings with dctfilter myself and it is very promising. Right now, here is the kinda "production script", I use to encode in PAL 352x288 with KVCD LBR : BilinearResize FluxSmooth() BB_Resolution = 352*288 BB_StrengthConstant = 352 * 240 * 20 # Base strength StrengthValue = round(BB_StrengthConstant / BB_Resolution) Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 ) Blockbuster( method="sharpen", detail_min=20, detail_max=90, strength=StrengthValue ) DctFilter(1,1,1,1,1,1,.5,0) AddBorders VobSub LegalClip() Quality is fine with Q around 35. I should try this with KVCDx3. Comments and ideas are welcome. Cheers. Edit : maybe you were you talking about permanent subs *already* burned into the movie, like on some hudge trailers :roll: you can find around the internet? |
Thanks for the tip, Graal_CPM. I was just about to report that in the AVS2.0x version of the filter, the permanent subs are not affected!However, it could be that I've done something differently, so I'll have to test the AVS2.5 version again.
Compression seems to increase nicely without a loss of details with light settings :D |
I can't access www.jungleweb.net from Portugal.
Where else can I get the DCT filter 2.0x ? I'm willing to try it because with the reduction of Max GOP in the last templates it's very dificult to put 1 film in 1 CD at 352*576. JP caldas_lopes@clix.pt |
I cant access it either, it must be down
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.