Log in

View Full Version : Problem with BlindPP


SirCanealot
15th June 2004, 19:19
I'm not really sure where to put this, so I'll just dump it here.
If I've put it in the wrong forum, someone please move it. I searched around for a specific topic dedicated to issues related to BlindPP, but I couldn't find one...

Here's my situation:
I'm encoding some footage from miniDV, recorded in using the DV setting. I kinda suck still at encoding and was having some trouble crunching it down small, so I asked someone I know who's as encoder for some help.
He gave me a script which was working well for him, but when he gave me the sentings BlindPP failed to function.
I have Mpeg2Dec3 (or whatever filter it's included with - I did check I had the right package at the time) and I've tried putting a LoadPlugin right above the BlindPP entry, but it still does not function.

The settings I got were:
BlindPP(quant=2, CPU=6)
But even using the default settings: BlindPP() I get absolutely nothing.
I've tried some other things, like using ONLY BLindPP and turning off the other filters, and still - it does nothing.
The only thing I CAN get it to do is give me an error when I put it in the wrong colour space; but other than that, zilcho.

So, does anyone know why this isn't working? I've got some pretty random errors in my short encoding career, but I've never had a filter refuse to work like this...

I'm using the latest version of whatever version is the latest of AVISynth 2.5, latest version of VirtualDub Mod. Anyother random info needed, I'll talk :P

Anyone, then?

Thanks a bunch

Thanks

Guest
15th June 2004, 20:29
Post your COMPLETE EXACT script.

Why do you think it is doing nothing? Do this:

...
a=...
b=BlindPP(a)
Subtract(a,b)


Serve that into VirtualDub and use the levels filter to crank the contrast. If it stays completely flat gray, then you can say the filter is doing nothing.

SirCanealot
15th June 2004, 22:34
What's that suposed to mean? What do a and b mean?
Sorry, my knowledge is a little lacking...

The entire script is:

AVISource("Match 40Croped.avi")
ConvertToYV12
TomsMoComp(1, 0, 0)
crop(40,20,656,544)
Tweak(sat=1, bright=-12, cont=1.10)
BlindPP(quant=2, CPU=6)
Vaguedenoiser()

Or to some effect like that - I was going to muck around with it some more, but as BlindPP seems to do nothing (and that's the only reason I can fathom for me not getting the quality the person I asked for help is).

Thanks for your help.

AS
15th June 2004, 23:55
It's probably most likely that you couldn't observe blindpp()'s effect.

Anyway, subtract(clip,clip.blindpp()) will show the difference of applying blindpp(), use levels() to help you to spot the difference. This is merely subtracting the filtered clip from the unfiltered clip.

krieger2005
16th June 2004, 00:21
i think u must increase the variable "quant".
And to see the difference you can use

subtract(clip,clip.blindpp(quant=20, CPU=6)).colorYUV(autogain=true)

as AS has written before

SirCanealot
16th June 2004, 17:22
I took some pictures (these are some matches from Alpha 3 - from a tournament that happaned recently in the UK, if anyone cares...) - it seems BlindPP IS working - you were right in saying I couldn't see its effect at such a low setting. But I assumed BlindPP must not have been working, because of the large difference in the quality of the encodes.

http://www.williams1.homechoice.co.uk/Encode1.png - Encode from friend (who gave me the settings to use)
http://www.williams1.homechoice.co.uk/Encode2.png - my encode at similar bitrate, with the same AVS settings and very similar XVid settings. Note the difference in colour and more noise is left in mine - as well as there being more blocks.
http://www.williams1.homechoice.co.uk/Encode3.png - opening the AvS with BlindPP on
http://www.williams1.homechoice.co.uk/Encode4.png - BlindPP off
http://www.williams1.homechoice.co.uk/Encode5.png - BlindPP on, quant20 - more like encode2, but the colours are still different

It seems more like now it's something silly - I'm going to chase the person down with a stick now, and check I'm using the right settings...
But if anyone else has any suggestions on why there is such a big difference, please let me know ^_^

Thanks again