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 17th February 2003, 07:37   #1  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Gunnar Thalin Deinterlace Area Based v1.4 Equivalent

What is the Gunnar Thalin Deinterlace Area Based v1.4 Equivalent in Avisynth 2.50? or in Avisynth 2.07?

I need something to deinterlace a movie that is Purely Interlaced.


The Gunnar Thalin Deinterlace Area Based v1.4 Virtual Dub Plugin was the only filter I found that worked very well even during scene changes.

Is there some code that can be added to the AVS file to mimic the filter?

I want the framerate to stay at 30fps.

Last edited by bobby8798; 18th February 2003 at 23:19.
bobby8798 is offline   Reply With Quote
Old 17th February 2003, 08:38   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Decomb's FieldDeinterlace() or Tom Barry's TomsMoComp().

I have a port of Gunnar's filter to Avisynth 2.5 but only in RGB32.
Guest is offline   Reply With Quote
Old 17th February 2003, 08:47   #3  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Quote:
Originally posted by neuron2
Decomb's FieldDeinterlace() or Tom Barry's TomsMoComp().

I have a port of Gunnar's filter to Avisynth 2.5 but only in RGB32.
PORT?
What is it?
How would it be used?
bobby8798 is offline   Reply With Quote
Old 17th February 2003, 12:42   #4  |  Link
wotef
Registered User
 
wotef's Avatar
 
Join Date: Apr 2002
Posts: 272
IIRC, Xesdeeni's smoothdeinterlace works the same as deinterlace area-based if you specify doublerate=false

http://home.bip.net/gunnart/video/AV...hDeinterlacer/
wotef is offline   Reply With Quote
Old 17th February 2003, 14:29   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
>PORT?

Yes. (Port means moving a program from one platform to another by recoding and/or recompiling.)

>What is it?

A port of Gunnar's VirtualDub filter to Avisynth 2.5.

>How would it be used?

ConvertToRGB32()
Area(deint=15,edge=20,blend=true,show=false)

Last edited by Guest; 18th February 2003 at 02:09.
Guest is offline   Reply With Quote
Old 17th February 2003, 22:45   #6  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Quote:
Originally posted by neuron2
ConvertToRGB32()
Area(threshold=15,edge=20,blend=true,show=false)
I'm using

LoadPlugin("c:\Program Files\GordianKnot\MPEG2DEC3.dll")
mpeg2source("c:\Test.d2v")
ConvertToRGB32()
Area(threshold=15,edge=20,blend=true,show=false)

BUT I get this error message when I open the AVS file in VirtualDub

Avisynth open failure:
SCript Error: there is no function named "Area"


-----
Thanks everyone, for the Filter Names.
I will try to find the other filters in the meantime
bobby8798 is offline   Reply With Quote
Old 18th February 2003, 00:39   #7  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Umm, I said I have it. You didn't ask for it and I didn't give it to you. Then how can you try to run it?
Guest is offline   Reply With Quote
Old 18th February 2003, 01:47   #8  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
wotef,
the SmoothDeinterlacer doesn't work for avisynth 2.50, but i will try it on v2.07. Thanks

decomb406b6.zip doesn't include a command file. is it listed somewhere?

neuron2

please post that thalin port
bobby8798 is offline   Reply With Quote
Old 18th February 2003, 01:59   #9  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
>decomb406b6.zip doesn't include a command file. is it listed somewhere?

What is a command file? You'd think I'd know if it is required by Decomb.

>please post that thalin port

See below. See area.txt for usage.

Last edited by Guest; 18th February 2003 at 02:26.
Guest is offline   Reply With Quote
Old 18th February 2003, 02:34   #10  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
thanks for the area file neuron2
ill try it out
do u have any plans to make one for YV12 or YUY2?

re:decomb command file
i meant a list of parameters with instructions
how would decomb be used to mimic the gunnar thalin filter?
bobby8798 is offline   Reply With Quote
Old 18th February 2003, 03:41   #11  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally posted by bobby8798
re:decomb command file
i meant a list of parameters with instructions
Wasn't there a help file in the distribution zip? If not, visit my site (see below) and get the official distribution. And please inform me if there is a zip going around that is missing the help file.

Quote:
how would decomb be used to mimic the gunnar thalin filter?
Like this:

Code:
loadplugin("decomb.dll")
FieldDeinterlace()
Refer to the help file if you want to override the default parameters.
Guest is offline   Reply With Quote
Old 18th February 2003, 03:54   #12  |  Link
jcsston
Matroska Dev
 
jcsston's Avatar
 
Join Date: Sep 2002
Location: Texas, USA
Posts: 230
Quote:
Originally posted by neuron2
Wasn't there a help file in the distribution zip? If not, visit my site (see below) and get the official distribution. And please inform me if there is a zip going around that is missing the help file.
On this thread linked from the AviSynth website, the b4 has a html but the b6 doesn't.
The AviSynth 2.5 beta Plugin Package also included Decombb6 without an html file.
__________________
The Matroska Effect

Last edited by Guest; 18th February 2003 at 04:30.
jcsston is offline   Reply With Quote
Old 18th February 2003, 04:33   #13  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Thank you, jcsston.

@sh0dan

Can you please correct the plugin package? This is the kind of thing that happens that makes me want to just include links
Guest is offline   Reply With Quote
Old 18th February 2003, 04:36   #14  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
do u have any plans to make one for YV12 or YUY2?
No.
Guest is offline   Reply With Quote
Old 18th February 2003, 23:25   #15  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Tested
Smooth Deinterlace and Field Deinterlacer (decomb)

Smooth Deinterlacer works Perfectly on scene changes where field 1 and field 2 are from Different Frames.

Decomb Field Deinterlacer runs faster than Smooth Deinterlacer, but it corrupts the fields when there is a Scene change.

Is there a setting in Decomb that will fix that?


I will try TomsMoComp...
bobby8798 is offline   Reply With Quote
Old 18th February 2003, 23:58   #16  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally posted by bobby8798
Decomb Field Deinterlacer runs faster than Smooth Deinterlacer, but it corrupts the fields when there is a Scene change.
Please try to be precise in your language to avoid wasting time and bandwidth. What do you mean by "corrupt"?

Post the exact script that you used. A screenshot of the "corruption" would be helpful as well.
Guest is offline   Reply With Quote
Old 19th February 2003, 00:50   #17  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Avisynth v2.50
--------------
LoadPlugin("c:\Program Files\GordianKnot\MPEG2DEC3.dll")
LoadPlugin("c:\Program Files\GordianKnot\Decomb.dll")

mpeg2source("c:\TestSC.d2v")

FieldDeinterlace(blend=false,dthreshold=50,show=false)

YV12toYUY2()

# Removing YV12toYUY2() has no impact.
# Changing blend=true makes no difference
# increasing dthreshold=100 is better, but problem remains
# increasing dthreshold=200 no deinterlacing is apparent;
# problem is no longer visible

Avisynth v2.07
--------------
LoadPlugin("c:\Program Files\GordianKnot\MPEG2DEC.dll")
LoadPlugin("c:\Program Files\GordianKnot\SmoothDeinterlacer.dll")

mpeg2source("c:\TestSC.d2v")

SmoothDeinterlace(blend=true, lacethresh=50, edgethresh=50, staticthresh=0, staticavg=0, showlace=false)

# changing lacethresh & edgethresh from 20 to 100 varies the degree
# of de-interlacing, but there are NO corruptions visible.


Note:
-----
In all Tests, nothing has been encoded, just viewed by VirtualDub.

Corruption:
-----------
Interlace Lines are greatly enhanced, so black lines are visible everywhere in little to medium size patches. Color from one field tends to bleed into the other field.


This happens with ANY Scene Change where field1 and field2 are from DIFFERENT scenes. This is NOT the same as a fade-in or fade-out. When an Overlap occurs during the scene change, the filter gets confused.

Last edited by bobby8798; 19th February 2003 at 00:55.
bobby8798 is offline   Reply With Quote
Old 19th February 2003, 01:14   #18  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
That is caused by blended fields in your source. The only solution is to set blend=true. Please try that and tell me what you get. If that doesn't correct it, I'll ask you for a VOB fragment to look at.
Guest is offline   Reply With Quote
Old 19th February 2003, 02:15   #19  |  Link
bobby8798
Registered User
 
Join Date: Aug 2002
Posts: 67
Changing the Blend from False to True changes the Color of the "Bleeding" patches.

If Blend=True, then one patch may take the color from field1, and changing Blend=False will now cause that patch to take the color from field2

The patch is just the filter's attempt to smooth things out, without considering that the 2 fields may be completely different and cannot be merged.
bobby8798 is offline   Reply With Quote
Old 19th February 2003, 02:56   #20  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I guess you don't understand the significance of blended fields *in the source clip*, do you?

Post the source clip as requested and I will be happy to analyse the situation definitively for you.

Last edited by Guest; 19th February 2003 at 03:15.
Guest 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 07:34.


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