View Full Version : Any way to use Marc FD's deblocking routine on huffy captures?
cjv
16th November 2002, 03:46
I've recently started capping from my digital cable->Radeon->Huffy, and although the quality is not great, its the best I have access to.
Seeing as digital cable already has very little noise, it doesn't need temporal filtering..as regular cable would, but it could benefit TREMENDOUSLY from postproc/deblocking.
Seeing as the deblocking algos in MPEG2DEC3 are designed to correct MPEG artifacts/blocking (which digital cable has), I believe they would work very well. Is there any possible way to use the postprocessing with an avi huffy capture?? If no, would it be difficult to add something like
HuffySource() to MPEG2DEC3 that could post-process an MPEG-style file stored in a lossless avi file..(does that make any sense?) :)
I know that using DirectShowSource() and setting ffdshow to process "raw video" is supposed to work, unfortunately on my box it does not get called.
Any ideas appreciated,
cjv
Xenoproctologist
16th November 2002, 04:02
Deblocking requires the filter to know what the quantization level of each macroblock is so it knows how heavily to smooth the block edges. Since this information is lost well before the video gets to your PC, it makes effective deblocking just about impossible.
Now if someone were to create a filter which did edge detection at mod16 boundries and guesstimated quantizer levels from there, maybe something could be done. Until then...
wotef
16th November 2002, 04:25
i think donald's msmooth was looking to do deblocking, but it's been in-the-shop for a long time now
http://forum.doom9.org/showthread.php?s=&threadid=31679&highlight=msmooth
Didée
16th November 2002, 13:49
Oh yeah, dreaming of deblocking/deringing for non-mpeg2-sources ...
Of course, ffdshow+DirectShowSource is a possibility - but honestly, I try to avoid DSSource whenever possible.
But, on the other hand, ffdshow is able to perform PP even if it's not acting as decompressor. Shouldn't it be possible to port this functionality somehow?
@ cjv
Wavelet noise reduction sometimes does wonders in deblocking!
Read this AviSynth thread (http://forum.doom9.org/showthread.php?s=&threadid=31754) to get started with it.
It's a very interesting filter, indeed!
pandv
16th November 2002, 20:46
Maybe, what is needed is a arbitrary stream between filters for Avisynth 2.6.
So, the source filter can translate the quantizer information to the deblocking filter (in a common format between the two filters), or the motion vectors to the softener filter.
Another dream from...
Pandv.
Marc FD
17th November 2002, 15:15
lol.
fun, i didn't noticed this thread, and i added BlindPP in MPEG2Dec3 without knowing that it was asked ^^
you should take a lot. i'm getting pretty experienced, and i know that on really blocky/noisy sources, the decoder info isn't needed. you'll just suffer a bit more blurring, but enjoy the deblocking efficacity ^^
it's my favourite filter for DivX/MPEG1->XviD transcodes now ^___^
lamer_de
12th January 2003, 10:55
it's my favourite filter for DivX/MPEG1->XviD transcodes now ^___^
Please enlighten me, how can i use mpeg2dec3 with avi files :confused:
That's exactly the functionality i need, cause i sometimes get avi files encoded by a person who had no clue what he was doing and didn't deinterlace. I can get rid of the interlacing artifacts quite easy, but fighting the blocks caused by it in the original encode wasn't a really successfull process till now :P
TIA,
lamer_de
Marc FD
12th January 2003, 12:13
use MPEG2Dec3 for avisynth 2.5
the deblock/dering stuff can be use separately.
it's not as good as in-decoder post-processing, but still very efficient against blocs
(search for BlindPP())
lamer_de
12th January 2003, 14:10
Thanks. I didn't knew. that. Maybe i should read the readmes more precisly. Thanks alot, it's working :)
Have a nice day,
lamer_de
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.