Deinterlacing

Anything related to video and my tools that is not a support request.
Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Deinterlacing

Post by Mat1926 » Thu Mar 29, 2018 6:43 am

Hi guys,

I am new to all this, and recently I started using avisynth. I did some basic stuff with it and now I am at the stage where I would like to deinterlace my videos.

My sources are DVDs and Blu-Rays. In the meantime, I am working on a 25 fps 1080i video (as reported by media info), what shall I do in order to investigate the video and deinterlace it properly?

Thnx

User avatar
admin
Site Admin
Posts: 3973
Joined: Thu Sep 09, 2010 3:08 pm

Re: Deinterlacing

Post by admin » Thu Mar 29, 2018 7:02 am

The first thing to understand is that just because MediaInfo reports something as interlaced, it may not really be interlaced. It is a question of flagging versus the actual content. You have to identify the true nature of the video before deciding how to process it. That processing may be deinterlacing, IVTC, field shifting, or nothing at all. So how do you identify the nature of the video? See here:

http://rationalqm.us/faq.html

Then when you have decided what needs to be done you can:

Interlaced: Use DGSource() with deinterlace=1 or deinterlace = 2, or the DGBob() built in to DGDecodeNV.dll.
Telecined: Use fieldop=1 for soft telecine, or use DGTelecide() and DGDecimate() for hard telecine.
Field shift: Avisynth+ script.

For specific help, post about a specific video, rather than asking in general terms.

Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Re: Deinterlacing

Post by Mat1926 » Thu Mar 29, 2018 8:00 am

Thanks for the reply. I'll check the link and post back if I needed further help with more details about my source... :salute:

Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Re: Deinterlacing

Post by Mat1926 » Sun May 06, 2018 4:30 am

admin wrote:
Thu Mar 29, 2018 7:02 am
http://rationalqm.us/faq.html
Hey, Thnx for the link. I am currently working on a DVD, the frame rate is 29.970, and according to the link you provided -AssumeTFF(), SeparateFields()- it is showing aaa bb ccc dd pattern -i.e. 3:2 pulled-down- Does this make any sense at all? Shall I bring the frame rate down to 23.976? if so, how?

Thnx

*edit*
It seems my case is Telecined, so you did say "Telecined: Use DGTelecide() and DGDecimate()", so how can I use those? Are there alternatives?!

*edit2*
This "DGTelecide().DGDecimate()" crashed AvsPmod, and this "TFM().TDecimate()" did not crash it...what is the difference between the two? And which one is best?

again thnx

User avatar
admin
Site Admin
Posts: 3973
Joined: Thu Sep 09, 2010 3:08 pm

Re: Deinterlacing

Post by admin » Sun May 06, 2018 9:09 am

Let's address the crashing then talk about undoing telecine afterwards. Please anser these questions:

1. What version of DGDecNV are you using (version and slipstream number, get from Help/About). You should be using 2053.0.0.147.

2. What is your nVidia card and driver version?

3. Please show your complete script.

4. What happens if you drop the script on VirtualDub?

5. Avspmod works fine for me with DGSource().DGTelecide().DGDecimate(). What version of Avspmod are you using and what error message are you seeing?

Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Re: Deinterlacing

Post by Mat1926 » Sun May 06, 2018 9:29 am

1. What version of DGDecNV are you using (version and slipstream number, get from Help/About). You should be using 2053.0.0.147.

I am still on 132. It does not crash any more...

2. What is your nVidia card and driver version?

1080Ti

3. Please show your complete script.

Code: Select all

LoadPlugin("Q:\dgdecnv2053\DGDecodeNV.dll")
DGSource("MyDVD.dgi").DGTelecide().DGDecimate()
Crop(8, 4, -2, -10)
4. What happens if you drop the script on VirtualDub?

Works!

5. Avspmod works fine for me with DGSource().DGTelecide().DGDecimate(). What error message are you seeing?

I don't have any errors any more. I was doing something like this

Code: Select all

DGSource("MyDVD.dgi")
DGTelecide().DGDecimate()
Which did not work. Then I did this

Code: Select all

DGSource("MyDVD.dgi").DGTelecide().DGDecimate()
and now it works...

Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Re: Deinterlacing

Post by Mat1926 » Sun May 06, 2018 9:32 am

What are the disadvantages of using "TFM().TDecimate()" ?

And now there is another issue which is entirely not related to your awesome work, but I will ask you might give me a hint why this is happening...

In the past x264 Launcher worked w/o issues, and today it is reporting error x264 couldn't read input file '0'! Any clues why am I getting this? My input file is the one I showed you in my previous post...

User avatar
admin
Site Admin
Posts: 3973
Joined: Thu Sep 09, 2010 3:08 pm

Re: Deinterlacing

Post by admin » Sun May 06, 2018 9:41 am

One thing at a time!

First, you did not give your nVidia driver version. I need that.

Second, you should update to the latest DGDecNV slipstream 147. I'm reluctant to support older versions.

DGSource("MyDVD.dgi")
DGTelecide().DGDecimate()

This should not crash and does not for me. Do you want to try again and follow up on it, or do you want to move on to your other questions?

Mat1926
Posts: 13
Joined: Thu Mar 15, 2018 9:16 am

Re: Deinterlacing

Post by Mat1926 » Sun May 06, 2018 9:50 am

admin wrote:
Sun May 06, 2018 9:41 am
This should not crash and does not for me. Do you want to try again and follow up on it, or do you want to move on to your other questions?
I'll update to the latest, test and report back...Just give me few minutes to sort this out...

Thnx a lot

User avatar
admin
Site Admin
Posts: 3973
Joined: Thu Sep 09, 2010 3:08 pm

Re: Deinterlacing

Post by admin » Sun May 06, 2018 10:00 am

Take your time to do things carefully.

Post Reply