Log in

View Full Version : Can't propertly deinterlace source


kostek00
5th February 2014, 20:44
Hello, I need your help once again. I have a DVD and I want to encode it to smaller size but the problem is deinterlacers can't handle interlacing. I tried all deinterlacers in megui and also QTGMC and only last one is somehow good but still not enough for me. If you have any ides I will be very grateful. I'm attaching sample and if you can, please, write how to use filters you recommend.

Sample file. (https://mega.co.nz/#!MgVDlYDY!NGeoVSYW7r_OFNZamrHbCHVuHmPAAd-6I6mB8ufTs_Q)

Stereodude
6th February 2014, 00:21
Why is it a .mkv file? Is it an original untouched mpeg-2 video stream in it?

If that's the original source it's blended, not interlaced.

Jenyok
6th February 2014, 04:00
LoadPlugin("C:\PROGRAM FILES\AVISYNTH 2.5\PLUGINS\EEDI3\eedi3.dll")
LoadPlugin("C:\PROGRAM FILES\AVISYNTH 2.5\PLUGINS\NNEDI3\nnedi3.dll")
LoadPlugIn("C:\PROGRAM FILES\AVISYNTH 2.5\PLUGINS\TDEINT_20070122\tdeint.dll")
LoadPlugIn("C:\PROGRAM FILES\AVISYNTH 2.5\PLUGINS\TMMV1\tmm.dll")

#
# Деинтерлейс видео
# До обрезки и изменения размеров !
AssumeTFF()
#AssumeBFF()


edeintted = eedi3(field = -2, \
sclip = nnedi3(field = -2, \
qual = 2))
TDeint(edeint = edeintted, \
order = -1, \
mode = 2, \
sharp = true, \
mtnmode = 3, \
full = false, \
tryWeave = false, \
type = 2, \
emask = TMM(mode = 1))

.
This is Very Good, but Very Slow deinterlace.
.

aldix
6th February 2014, 06:55
@Jenyok: looks very good. Is it meant exclusively for 100% video sources, or would it work for cases i.e. ~<90% film? U.S. releases stupid pull-down rules for TV content both annoy and confuse me, that's why I ask; currently, when I think deinterlace is required I use it through QTGMC via clip2 in tfm. Could, ideally, the above be used similarly to better results?

Thanks anyways.

kostek00
6th February 2014, 09:58
Why is it a .mkv file? Is it an original untouched mpeg-2 video stream in it?

Yes, it's original untouched mpeg-2 video stream, I used mkvmerge to quickly split it, thats why it's mkv.

If that's the original source it's blended, not interlaced.So it's blended, what filter do you recomend for it?


@Jenyok
Your deinterlacer works even better than QTGMC. Thanks, I will keep it.

Stereodude
6th February 2014, 13:43
So it's blended, what filter do you recomend for it?A deblender. I don't have any real experience with deblending, so I don't know what to suggest.

feisty2
6th February 2014, 14:00
srestore is great for deblending

kostek00
6th February 2014, 15:59
I checked few deblenders and only Srestore removed all blending from clip I provided but added a little blocking on blended frames. Still it was the lowest amount from all those I checked. I will encode whole episode and say tommorow how it looks.

Stereodude
6th February 2014, 16:43
srestore is great for deblendingFWIW, I couldn't come up with settings for srestore that would deblend his sample, but I'm certainly far from an expert when it comes to srestore.

kostek00
7th February 2014, 15:28
Around 90% of blending has been removed. Thanks for help.

Jenyok
7th February 2014, 17:04
Sorry for Russian letters in comment in script.
.

kostek00
7th February 2014, 17:05
Not a problem.

aldix
7th February 2014, 18:54
Could I also get the reply to my question, please? Or is it too much asked.

Jenyok
9th February 2014, 07:28
aldix
.
I did not understand your question fully.
What did you mean in your question "would it work for cases i.e. ~<90% film?" ?
What did you mean "~<90% film" ? What is it ?
.
Deinterlace script, I wrote upper, is for ALL video source.
Film, cartton, video VHS and so on...
.
My deinterlace script is special script ONLY for deinterlaced.
QTGMC, in my opinion, is great monster with no good (bad) deinterlace function.
.
You could try to use my deinterlace script and QTGMC function and then compare two results.
.

aldix
10th February 2014, 03:06
I meant NTSC DVD content which requires IVTC, but some interlace artefacts on frames might remain regardless. Would your script work in such cases where presently


deint=QTGMC(preset="slow")
tfm(clip2=deint).tdecimate()


is used? That is, would your option produce more accurate results?

Don't know if I can explain any better...