Log in

View Full Version : Deringing in Avisynth - Which are the Options?


kilg0r3
31st March 2004, 12:17
Hi there lot,

I have been away from this section for a while. So, would you mind helping me collect currently available options for adjustable/scalable deringing within avisynth. The ones I currently know of are:

1. Mpeg2Dec3(DG); not adjustable, blurs like hell
2. HybridFuPP; don't know much about it
3. ffdshow via DirectShowSource(); allways giving me jerky encodes, adjustable? (deblocking is adjustable but deringing?)

Thank you very much for your help, kilg0r3

mf
31st March 2004, 12:41
Add two more options to that:
HQDering - default mode (uses Deen), might be too powerful for natural video
HQDering - BlindPP mode - eliminates overall blurring

HQDering Thread (http://forum.doom9.org/showthread.php?s=&threadid=67532)

Hope this helps :).

</self advertisement>

Didée
31st March 2004, 13:42
What's the exact effect you want to achieve?

If you want to 'dering' to remove mosquito noise, then I've no additional ideas to the abovementioned ones.

If you want to 'dering' to remove those light/dark halos from edge enhancement, then there are two more possibilities:

1. the "FixVHSOverSharp" filter (don't have a link at hand, but should be easy to dig out by a forum search)

2. Wait for one of my next scripts: I'm currently cooking 'n brewing some things again (hope they'll get tasty ;) )

- Didée

mf
31st March 2004, 14:04
Without surprise, even for halo deringing you can use HQDering (using Unfilter). It's at the bottom of the HQDering thread.

kilg0r3
31st March 2004, 15:05
It is the mosquito noise I am after.

BTW, has anybody of you ever had any success using ffdshow as preprocessor in avisynth? I don't know why but my encodes always get jerky when I use it.

bond
31st March 2004, 15:09
undot could help against mosquito noise

kilg0r3
31st March 2004, 15:50
Hi again, just to make sure we are talking about the same thing, I uploaded an image with he kind of artifacts I am talking about. Here (http://www.netcologne.de/~nc-allgeife8/3-1.jpg) Actually, as opposed to what I said above, I would like to eliminate both of the artifact types present in the image. The one I call edge echo, does not seem to be to what you refar as halo, does it.

FuPP
31st March 2004, 18:02
Btw, HybridFuPP simply uses BlindPP function (available in mpeg2dec3.dll) for deringing. If you want to give it a try (I'm talking about BlindPP), don't hesitate to use 'moderate' parameters to adapt correction to your source. You could otherwise encouter too much bluring effect.

FuPP

Didée
1st April 2004, 01:10
kilg0r3:

That's double Edge Enhancement you're experiencing. The source was EE'ed once, and got halos. Later it was EE'ed once more, and there the borders of the halo's were sharpened ... the "ghost" edges are those enhanced halo edges.
It's difficult to get good grip onto those.


mf:

Tried it, but still too destructive for my taste. After dehaloing through HQdering + unfilter, with good ears you can hear your source whispering: "... iiP ... I need iiP ..." ;)

Work is in progress.

- Didée

kilg0r3
1st April 2004, 08:06
It is astonishing what people can do to a source ...

BTW, how do you like the term 'edge echo'? It's got something to it, I think ... hum, hum ...

@ FuPP: I know about the moderate parameters. Yet,I am also quite sure that they only pertain to the deblocking routines.

I got ffdshow working yesterday night. It seems I had use overlay mixer ticked which does not work well. However, I also made it convert the input to yuy2. Let's see if it works without that.

Could anybody please give a short n00b-prove explanation of how deringing algos like those in mpeg2dec3 or ffdshow generally work?

I currently do not have the time to test, so I ask, how cpu intensive ar these avisynth scripts? I have been so happy to get a dvd burner, which means that I can do with single pass encodes. I would not want to get back to the 10-hours-per-movie state before.

Cyberia
2nd April 2004, 17:21
According to the MPEG2DEC3 'manual', you can adjust the DeRinging with these parameters:

moderate_h, moderate_v :
Post Processing strength fine tunning.
smaller values are stronger. use with care.
default : moderate_h=20, moderate_v=40

kilg0r3
2nd April 2004, 18:15
Originally posted by Cyberia
According to the MPEG2DEC3 'manual', you can adjust the DeRinging with these parameters:

moderate_h, moderate_v :
Post Processing strength fine tunning.
smaller values are stronger. use with care.
default : moderate_h=20, moderate_v=40

I know this passage but IIRC from my tests the vallues only influence deblocking.

Didée
7th April 2004, 13:35
Originally posted by Didée
Work is in progress.

Done. (http://forum.doom9.org/showthread.php?s=&threadid=74003) ;)

- Didée