Log in

View Full Version : Deinterlacing Minipato - is there any hope?


Caroliano
28th February 2010, 04:33
I'm having problems deinterlacing Minipato.

Here is an sample: http://www.mediafire.com/?njdtfmjvm1m
And an second optional sample: http://www.mediafire.com/?hywoogqkczh

Do I have any hope to get any good results from this? I could also accept some help at dotcraw removal, but it is not rally bad after my filtering. My script below.

DGDecode_mpeg2source("minipato.demuxed.m2v", cpu=0, info=3)

Checkmate().tcomb(mode=2,fthreshL=9,othreshL=12,fthreshC=20,othreshC=40).bifrost() #remove most of dotcraw and rainbowing (the latter not present in the uploaded scenes)
animeivtc(mode=1) # the only that has acceptable results, but can not be called good results
#animeivtc(mode=3, killcomb=0, aa=1, edimode="eedi2", degrain=3) # best results with the fishing scene, but shakes the image in many other scenes, and in other it is ineffective.
#animeivtc(mode=3, killcomb=0, aa=0, edimode="nnedi2", degrain=3) #better detail preservation, but worse combing removal and same artfacts as above.


#and then some denoisers (helps with the remaining dotcraw) and sharpeners. and an extra ff3dfilter on chroma to end the rainbowning

Caroliano
28th February 2010, 16:01
Thank you very much for this diagnosis. Now, after fiddling with scrips a bit, I think there may be hope for an much better result.

First, I tried to improve your script. For me it seems that the gauss resize only helps with the combing removal because it blurs A LOT. The following script provides much better much better overal quality, as far as I can see:
MPEG2Source("minipato.demuxed.d2v")
Spline64resize(720, 240)
SRestore(omode="pp3")
Decimate()
Spline64resize(720, 480)
Then, I went to search inside AnimeIVTC() to see if it uses SRestore() somewhere, and I found out that this was just implemented in v2.00 when blend=true on mode=1. I missed it in my trials, and it works just as well as your script, and w/o losing half of the vertical resolution. Even the fishing scene is very improved, with only a few combed frames missed.

But not all is roses. SRestore() fails miserably in the robot scene (and on some frames in the start of gun shotting and one in the fishing scene) flickering the frames and introducing lots of artefacting... I hope this is only an bug, and is fixable. And on some few frames, AnimeIVTC(mode=1) removes the interlacing/combing while AnimeIVTC(mode=1, blend=true) does not, but that is an minor problem right now.

If srestore can be fixed, this can have an good end.

Caroliano
1st March 2010, 13:56
I don't know why you deleted your yesterday posts.

If it was wrong or partially wrong, please state this. Even then, you have put me in the right direction. Deleting your posts just creates an mess in this situation. I have your post saved, but others don't and can't understand the thread so well, besides of course missing your input, and you missing their input.

EDIT: I was using an older srestore. The new one corrected most of the problems. But I still have problems with AnimeIVTC(mode=1, blend=true).