Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th February 2014, 20:44   #1  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Can't propertly deinterlace source

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.
kostek00 is offline   Reply With Quote
Old 6th February 2014, 00:21   #2  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
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.
Stereodude is offline   Reply With Quote
Old 6th February 2014, 04:00   #3  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
Code:
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.
.
__________________
Warm and fuzzy (white and fluffy)
Jenyok is offline   Reply With Quote
Old 6th February 2014, 06:55   #4  |  Link
aldix
Registered User
 
Join Date: Sep 2012
Posts: 156
@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.
aldix is offline   Reply With Quote
Old 6th February 2014, 09:58   #5  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Quote:
Originally Posted by Stereodude View Post
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.

Quote:
Originally Posted by Stereodude View Post
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.
kostek00 is offline   Reply With Quote
Old 6th February 2014, 13:43   #6  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by kostek00 View Post
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.
Stereodude is offline   Reply With Quote
Old 6th February 2014, 14:00   #7  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
srestore is great for deblending
feisty2 is offline   Reply With Quote
Old 6th February 2014, 15:59   #8  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
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.
kostek00 is offline   Reply With Quote
Old 6th February 2014, 16:43   #9  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by feisty2 View Post
srestore is great for deblending
FWIW, 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.
Stereodude is offline   Reply With Quote
Old 7th February 2014, 15:28   #10  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Around 90% of blending has been removed. Thanks for help.
kostek00 is offline   Reply With Quote
Old 7th February 2014, 17:04   #11  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
Sorry for Russian letters in comment in script.
.
__________________
Warm and fuzzy (white and fluffy)
Jenyok is offline   Reply With Quote
Old 7th February 2014, 17:05   #12  |  Link
kostek00
Registered User
 
kostek00's Avatar
 
Join Date: Mar 2013
Posts: 18
Not a problem.
kostek00 is offline   Reply With Quote
Old 7th February 2014, 18:54   #13  |  Link
aldix
Registered User
 
Join Date: Sep 2012
Posts: 156
Could I also get the reply to my question, please? Or is it too much asked.
aldix is offline   Reply With Quote
Old 9th February 2014, 07:28   #14  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
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.
.
__________________
Warm and fuzzy (white and fluffy)

Last edited by Jenyok; 9th February 2014 at 10:00.
Jenyok is offline   Reply With Quote
Old 10th February 2014, 03:06   #15  |  Link
aldix
Registered User
 
Join Date: Sep 2012
Posts: 156
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

Quote:
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...
aldix is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.