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 24th May 2002, 19:29   #21  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
@ RadicalEd
I'm concentrated on IVTC 2.2, but if you find settings in Decomb that work better than ivtc(60,11,100), just post them, if they work well, I'll send IVTC 2.2 to hell!
DJ Bobo is offline   Reply With Quote
Old 24th May 2002, 22:49   #22  |  Link
OUTPinged_
MooPolice 1st division
 
OUTPinged_'s Avatar
 
Join Date: Dec 2001
Location: VIlnius,LT
Posts: 448
Kyo:

what if you will try

Telecide(Post=true,Blend=true,Guide=1,Gthresh=25,Threshold=25,Chroma=True,dthreshold=10)

check it and report here, is it jerky/leaves interlaces/etc.
__________________
___________________MooPolice is watching you!____.o/________
OUTPinged_ is offline   Reply With Quote
Old 25th May 2002, 08:20   #23  |  Link
Kyo
Anime Team!
 
Kyo's Avatar
 
Join Date: Jan 2002
Location: JulyCity
Posts: 280
thanks

Thanks OUTPinged_ for the reply i'm going to try NOW !
and post late

at the moment I'm testing to do a segmented-ivtc and the script look
like:

dvd=mpeg2source("K:\flcl\Flcl01.d2v")
part1=Trim(dvd,0,2941).Telecide(Reverse=True,Post=True,Blend=False,Guide=1,Gthresh=5,Threshold=60,Chroma=True,dthreshold=9).Decimate(cycle=5).BicubicResize(592,448,0,0.65,4,0,712,480)
part2=Trim(dvd,2942,3840).Telecide(Reverse=True,Post=False,Blend=False,Guide=1,Gthresh=46,Threshold=60,Chroma=True,dthreshold=9).Decimate(cycle=5).BicubicResize(592,448,0,0.65,4,0,712,480)
part3=Trim(dvd,3841,39277).Telecide(Reverse=True,Post=True,Blend=False,Guide=1,Gthresh=5,Threshold=60,Chroma=True,dthreshold=6).Decimate(cycle=5).BicubicResize(592,448,0,0.65,4,0,712,480)
ending=Trim(dvd,39278,0).Telecide(Reverse=True,Post=True,Blend=False,Guide=1,Gthresh=5,Threshold=60,Chroma=True,dthreshold=6).Decimate(cycle=5).BicubicResize(592,448,0,0.45,4,0,712,480)
Return part1+part2+part3+ending

But in some escenes the interlacing on mouths (especially on diagonal-centered mouths) is not gone

this is the first time that I evaluate the power of Avisynth
and reduce the sharp on ending (0.45) seem a god idea to save some bitrate. well later post a conclusion!

/excuse the English or could be the grammar or ...
__________________
Old time lurker
Kyo is offline   Reply With Quote
Old 25th May 2002, 12:05   #24  |  Link
OUTPinged_
MooPolice 1st division
 
OUTPinged_'s Avatar
 
Join Date: Dec 2001
Location: VIlnius,LT
Posts: 448
Try to look if mouth problem appears for you with 100 gthresh or 0.

and a hint: it is a bad idea to save bitrate on resizing. FLCL does compress very well anyway.
__________________
___________________MooPolice is watching you!____.o/________
OUTPinged_ is offline   Reply With Quote
Old 22nd June 2002, 15:28   #25  |  Link
Awatef
A CORE Media Player User
 
Awatef's Avatar
 
Join Date: May 2002
Location: Africa
Posts: 789
So people, that's it! I found the ultimate IVTC settings using IVTC2.2:

ivtc(44,11,95)

I think, it can't go any better than that, using this filter.
It even works with sources like the Evangelion US DVDs with over 80% success rate.
For such DVDs, you *may* use FieldDeinterlace() after ivtc to get rid of the remaining interlacing artifacts. But keep in mind that this might make motion a little jerky, since in DVDs like those of Evangelion, even the frames supposed to be normal have interlacing artifacts (because of DVD authoring error), that FieldDeinterlace() will also blend -> you get ghosting instead of horizontal lines in normal frames -> it's like driving a car with handbrake on. So it's your choice:
[80% clean + 20% interlaced] and 100% smooth motion
[100% clean] but only 80% smooth motion

For other normal DVDs, that are properly telecined, you don't have to use FieldDeinterlace, ivtc(44,11,95) alone works like a charm (99% success rate)

And just to get OUTPinged_ out of my way: yes, I tested this setting extensively on many various Anime DVDs.
Awatef is offline   Reply With Quote
Old 23rd June 2002, 06:22   #26  |  Link
FiW
Registered User
 
FiW's Avatar
 
Join Date: Apr 2002
Posts: 25
hmm.. i'am use ONLY doubleweave() & pulldown().

example: 'pearl harbor'

loadplugin("c:\progra~1\gordia~1\mpeg2dec.dll")
mpeg2source("g:\.dvdivx\.pearl.harbor\pearl.harbor.d2v")
p1 = trim(0,102601).doubleweave().pulldown(0,2)
p2 = trim(102602,252592).doubleweave().pulldown(0,2)
p3 = trim(252593,0).doubleweave().pulldown(0,2)
p1+p2+p3
crop(7,55,703,365)
bilinearresize(672,288)

example: 'requiem for a dream'

loadplugin("c:\progra~1\gordia~1\mpeg2dec.dll")
mpeg2source("g:\.dvdivx\.requiem.for.a.dream\requiem.for.a.dream.d2v")
p1 = trim(0,522).doubleweave().pulldown(1,3)
p2 = trim(523,5007).doubleweave().pulldown(1,3)
p3 = trim(5008,88179).doubleweave().pulldown(0,2)
p4 = trim(88180,0).doubleweave().pulldown(0,2)
p1+p2+p3+p4
crop(5,15,713,447)
bilinearresize(464,240)

IMHO, it's best method...
FiW is offline   Reply With Quote
Old 23rd June 2002, 13:16   #27  |  Link
Awatef
A CORE Media Player User
 
Awatef's Avatar
 
Join Date: May 2002
Location: Africa
Posts: 789
@ FiW
Well, I'm impressed! I tested doubleweave().pulldown(0,2) on some short 2~3 minute anime clips and your setting is working like a charm.
But I'm not so sure, that it will work like a charm for a whole anime episode or movie.
If I'm not wrong, you're working like the manual method of TMPG, changing the pulldown setting, when the pattern changes, am I right?
But knowing that Anime changes pattern much much more often, your method will be like hell (are you sure your movies weren't film content anyway?!)
I'm not into encoding a whole anime disc right now, may be I'll have time next week and than I'll see how far your method will go! (probably not so far )
Awatef is offline   Reply With Quote
Old 23rd June 2002, 13:36   #28  |  Link
FiW
Registered User
 
FiW's Avatar
 
Join Date: Apr 2002
Posts: 25
@Awatef

yes, this method similars manual ivtc in tmpgenc. use this method in avisynth better usability & more fastest (for create).
FiW is offline   Reply With Quote
Old 23rd June 2002, 13:55   #29  |  Link
Awatef
A CORE Media Player User
 
Awatef's Avatar
 
Join Date: May 2002
Location: Africa
Posts: 789
Well, if it so, no need to test your method extensively, I already have a conclusion:
1) your method is perfect for people having time & nerves, to change pattern every few minutes, if not seconds! (talking about anime)
=> Quality: A+ / Speed: D- before encoding & A+ while encoding
2) my method is more suitable for people with less time/nerves, and the result will be very near to what one gets using your method.
=> Quality: A or B with supposed "impossible to IVTC" video / Speed: B or C if FieldDeinterlace() is used
Awatef is offline   Reply With Quote
Old 23rd June 2002, 17:15   #30  |  Link
The Link
Registered User
 
The Link's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 189
@ Awatef
Quote:
... that FieldDeinterlace() will also blend -> you get ghosting instead of horizontal lines in normal frames
I´m not an expert, but I think you can use "FieldDeinterlace(blend=false)" so there´s no blending any more. Correct me if I´m wrong!

Regards,

The Link
__________________
When birds burp, it must taste like bugs! (Calvin&Hobbes)

The Link is offline   Reply With Quote
Old 23rd June 2002, 18:49   #31  |  Link
Awatef
A CORE Media Player User
 
Awatef's Avatar
 
Join Date: May 2002
Location: Africa
Posts: 789
@ The Link
Oh, of course! you're right! I completely forgot about it! gomé! (=sorry! )
Awatef is offline   Reply With Quote
Old 21st July 2002, 07:11   #32  |  Link
Billy|B-A
Registered User
 
Join Date: May 2002
Posts: 25
A few quick questions.

What do the values of each of the ivtc settings mean? (x,xx,x)
What are their respective greatest/least values?
What are the rythem (cant think of a better word) of the values? i.e odd #'s only, multiplied by 8, or even #'s only.

I looked into the readme of IVTC 2.1 and didnt c a answer.

Thanks in advance
Billy|B-A is offline   Reply With Quote
Old 21st July 2002, 10:34   #33  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
Download IVTC 2.2, in its help file you'll find what you're looking for.
DJ Bobo is offline   Reply With Quote
Old 21st December 2002, 23:40   #34  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
Well, it's time to post the new settings I guess

ivtc(70,10,25)

are the new settings. They are quite untested (tested on only 7 DVDs this far) but they work definitely better: the pattern detection is better, that means the filter adapts immediately to pattern changes. Until now, I havn't encountered any scenes where it "hesitates" finding the right pattern.

As for problematic sources like evangelion, no need for decomb anymore, as it tends to "forget" some interlaced frames, so this is the new command:

ivtc(70,10,25)
BlendFields()

Note that those lines must come directly after the mpeg2source line.
Keep in mind that you won't ever get perfect results with such problematic sources. You've got to live with what you get

As Deinterlacing (here using blendfields) blurs the image a bit, you may wanna follow your script with a sharpening line. I'll recommend UNFILTER from trbarry.

NB: I'm not so sure about what I'm going to say, but I have a feeling that IVTC doesn't work well with newer avisynth versions. Go back to older avisynth versions (1.05 for example) if you experience bad divx5 encoding results (notably the keyframe delay)

Last edited by DJ Bobo; 21st December 2002 at 23:43.
DJ Bobo is offline   Reply With Quote
Old 22nd December 2002, 04:55   #35  |  Link
RadicalEd
Registered User
 
Join Date: Dec 2001
Posts: 987
awesome, better ways to ivtc stuff like Evangelion is always good.
Cheers for the discovery lets hope the avisynth thing isnt too much of a problem


[edit] whoa, wait a sec, I just re-read the thread and dj bobo = bobotns howd you get your name changed like that?
I never knew :\ [/edit]

Last edited by RadicalEd; 22nd December 2002 at 08:19.
RadicalEd is offline   Reply With Quote
Old 22nd December 2002, 06:08   #36  |  Link
ArdenDag
Confused Poster
 
ArdenDag's Avatar
 
Join Date: Nov 2002
Location: Spaced out somewhere in Michigan
Posts: 235
@DJ Bobo

Have you tried decomb's updated 'agressive field matching' that Don re-enabled in his latest release? (4.02, I think, not available on his website yet)

Telecide(agg=true)

Also, the noise threshold, before probably an unknown or unchangable variable is also now 'changable', nt is the variable, 100 is default.

I've noticed aggresive field matching works better for bad telecined material (Hong Kong bootlegs), you might want to check his posts and see if that helps

Always like seeing things like this come up

EDIT: for stupid rephrasing
__________________
If I say something which confused you, don't get a headache trying to decipher it. I probably have no idea what I said, too :)


The Secret O' Life is enjoying the passage of time -- James Taylor

Live by it.

Last edited by ArdenDag; 22nd December 2002 at 07:53.
ArdenDag is offline   Reply With Quote
Old 22nd December 2002, 10:41   #37  |  Link
OUTPinged_
MooPolice 1st division
 
OUTPinged_'s Avatar
 
Join Date: Dec 2001
Location: VIlnius,LT
Posts: 448
the most funny thread at doom9, that's it.

> Ultimate IVTC settings?
I've found that IVTC 2.2 delivers the best results with the following settings:
ivtc(32,11,110)

BUT!
Here are the new settings that I found and that work well with that problematic anime and with my collected "difficult to IVTC" videos:
ivtc(60,11,110)

So people, that's it! I found the ultimate IVTC settings using IVTC2.2:
ivtc(44,11,95)

Well, it's time to post the new settings I guess
ivtc(70,10,25)


Posting new "ultimate and absolute best settings" every couple of months, eh? ;-) What's up with these people anyway?

ivtc(70,10,25)
BlendFields()


Well i could tolerate your "ultimate settings" for that old thing (it's your choice if you want to have interlacing on scenechanges instead of blended frames), but that does it.

The guy that chooses BlendFields over FieldDeinterlace can't be trusted. Either he can't see the difference, or he dislikes DG's tools, or he never bothered to actually check it.

@bobotns: Yea, i know you asked me to not reply, but you guys are funny :-)
__________________
___________________MooPolice is watching you!____.o/________
OUTPinged_ is offline   Reply With Quote
Old 22nd December 2002, 14:25   #38  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
@ ArdenDag
I'll test it next time I get bad telecined things

@ _outpinged
There is no more interlacing on scenes changes thanks to the new settings. I was like 12 hours testing until I found the way to get perfect scene changes (you can't imagine how happy I was to finally find those settings! )
It is better to use blendfields instead of fielddeinterlace, because blendfields deinterlaces all frames no matter what. But fielddeinterlace switches all the time between "skip" and "deinterlace", so you'll see a kind of pumping in the picture, it keeps switching between "sharp" and "less sharp" and that's indeed quite annoying. So it is better to deinterlace all with blendfields, and add unfilter if you feel like sharpening a bit.

NB: this is not a re-invitation to this thread. Please just keep watching and don't reply! everytime you reply I feel a rage going through my body!

BTW, perfection doesn't exist in this world. It's all a matter of "best possible", so there is always a possibility to improve
DJ Bobo is offline   Reply With Quote
Old 22nd December 2002, 23:18   #39  |  Link
ArdenDag
Confused Poster
 
ArdenDag's Avatar
 
Join Date: Nov 2002
Location: Spaced out somewhere in Michigan
Posts: 235
@DJ bobo

FieldDeinterlace(full=true,dthreshold=0) (or 255, I forget) should deinterlace all frames, whether they're combed or not.
__________________
If I say something which confused you, don't get a headache trying to decipher it. I probably have no idea what I said, too :)


The Secret O' Life is enjoying the passage of time -- James Taylor

Live by it.
ArdenDag is offline   Reply With Quote
Old 23rd December 2002, 09:14   #40  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Let's keep things impersonal, please, gentlepeople. Thank you! Users should not try to impose personal protections on threads.

Where do I get the Avisynth 2.5 version of IVTC22? I assume it supports YV12.

'Ultimate' seems a bit of a stretch. Like any other IVTC software, IVTC22 succeeds brilliantly in many cases while failing others. My testing showed it to fail on my 3rd Decomb torture file.
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 16:19.


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