Log in

View Full Version : How to deinterlace / deblend "Inhumanoids"?


XadoX
1st October 2012, 07:56
Can someone help me deinterlacing these sample:

https://www.dropbox.com/s/ehiuri8d65owpsk/VideoFile.m2v

Actually I am using:

Yadif(order=-1)

But I am not sure if this is the right way.

Edit:
The series is "Inhumanoids (http://en.wikipedia.org/wiki/Inhumanoids)".
It is the Region 2 version by Metrodome.

The blending is really horrible :scared:

Edit 2:
My Script:

SetMemoryMax(1024)
SetMTMode(3)

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecodeNV.dll")
DGMultiSource("VideoFile.dgi")
Bob()

SetMTMode(2)

LoadPlugin("Average.dll")
LoadPlugin("Deen.dll")
LoadPlugin("MaskTools.dll")
LoadPlugin("mt_masktools-26.dll")
LoadPlugin("RemoveGrainSSE3.dll")
LoadPlugin("RepairSSE3.dll")
LoadPlugin("RSharpenSSE3.dll")
Import("LimitedSharpenFaster.avs")
Import("FastLineDarken.avs")
Import("Srestore.avsi")

srestore(frate=25)
TemporalSoften(4,4,8,15,2).deen("a2d",3,5,7).FastLineDarken(strength=64,thinning=0).LimitedSharpenFaster(strength=100).crop(12, 10, -20, -6)

lansing
1st October 2012, 08:48
your source was a horrible field blended conversion, probably from ntsc to pal format. You'll see frame blended together after deinterlace.
And you'll need some deblend filter like Srestore to do this, but first just to make sure, what's the name of your cartoon and where did it made?

XadoX
1st October 2012, 12:57
The defaults of srestore() are already working really good. Some blends still remain but that's still better than the original source imo.

Somehow it would be still nice if someone could lend me a hand at optimizing the srestore() settings in this case.

lansing
1st October 2012, 16:21
ok, after search i found its framerate info:
http://www.nationmaster.com/encyclopedia/Inhumanoids

The orginal framerate was 23.976fps, make in Japan Region 1. So you need to write srestore(23.976) instead of 25. And btw, you don't need all those loadplugin lines in your script, they will loaded automatically as long as the files are in your avisynth plugins folder, and if you change the avs script to avsi, they will be loaded automatically as well.

Bloax
1st October 2012, 16:47
And if you change the avs script to avsi, they will be loaded automatically as well.
Though this would be a silly thing to do with anything but user-written functions.

lansing
1st October 2012, 17:40
Though this would be a silly thing to do with anything but user-written functions.

that's what i'm referring to :)

XadoX
2nd October 2012, 07:04
The orginal framerate was 23.976fps...
I know but somehow I would prefere to have 25 since the audio file has also 25. But you are right maybe it would be better to restore the original 23.976 and recode the audio also.



And btw, you don't need all those loadplugin lines in your script, they will loaded automatically as long as the files are in your avisynth plugins folder, and if you change the avs script to avsi, they will be loaded automatically as well.
Since I have different configs for different setups I prefere to load the plugins induvidualy. So I have more control over each plugin :)

wonkey_monkey
2nd October 2012, 08:31
I know but somehow I would prefere to have 25 since the audio file has also 25. But you are right maybe it would be better to restore the original 23.976 and recode the audio also.

Audio doesn't have a framerate. After doing srestore(23.976) you should be back at the original video framerate which should run at the speed as before and should still sync with the audio.

David

XadoX
17th October 2012, 10:58
Ok then I will restore the original framerate of 23.967. Thx!