AMVIVTC - new function for easy ivtc

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

AMVIVTC - new function for easy ivtc

Postby Zarxrax » Sun Jan 04, 2009 9:44 pm

I just wrote a new avisynth function tonight, which is intended to condense THIS huge page of info into an extremely easy to use function.

AMVIVTC can be downloaded here: http://amvhell.com/stuff/AMVIVTC.avsi

It requires the following plugins: TIVTC, Tdeint, TMM, NNEDI
Those plugins can all be found on the following two pages:
http://forum.doom9.org/showthread.php?t=82264
http://forum.doom9.org/showthread.php?t=129953


AMVIVTC is designed to be super amazingly simple. As such, it only has 2 arguments.
The first argument is mode, which has 4 settings, ranging from 0-3.
mode=1 is the setting for when you plan to encode your script to a lossless file for editing.
mode=2 is for when you want to edit your avs scripts directly.
mode=3 is for when you want to do bait and switch editing with proxy files.
mode=0 is a fast mode that does not do any postprocessing.

The other argument is decimate. It can be either true or false. When set to true, it will decimate the footage, and when set to false it wont. It will select the proper decimation mode automatically, based on the mode that you choose.

The default settings are mode=1 and decimate=true.

My plan is to vastly simplify the ivtc section of the guide by referring to this function rather than the complex scripts that are in there now. Please let me know your thoughts and comments on this.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: AMVIVTC - new function for easy ivtc

Postby The Origonal Head Hunter » Sun Jan 04, 2009 10:13 pm

I think I may love you.
RonnieDaking wrote:i like my anime like I like my women, from japan and speaking english

Image
Boredom.
User avatar
The Origonal Head Hunter
The Propheteer
 
Joined: 16 Jul 2005
Location: State of Denial
Status: Hooked on a Feeling

Re: AMVIVTC - new function for easy ivtc

Postby LantisEscudo » Mon Jan 05, 2009 1:33 pm

This looks to be a good simplifying function, but it uses TFM, which gives me some really ugly combing artifacts on some cuts or high-motion scenes.

These caps were done with AMVIVTC(mode=1, decimate=true), TDeint 1.1, TIVTC 1.0 (TIVTC 1.0.5 has the same behavior), TMM 1.0, and NNEDI 1.3:

Image
Image
Image

Is it just my system, or can there be a way to use the Telecide/Decimate combo from Decomb as another option, for sources that exhibit this ugliness?
User avatar
LantisEscudo
 
Joined: 08 Mar 2001
Location: Vermont

Re: AMVIVTC - new function for easy ivtc

Postby Pwolf » Mon Jan 05, 2009 2:50 pm

Whats the difference between modes 1 and 2?
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: AMVIVTC - new function for easy ivtc

Postby Zarxrax » Mon Jan 05, 2009 3:17 pm

Lantis: if you try using TFM on its own, have you tried messing with various modes and things to see if anything helps it?
Pwolf: mode 2 is much faster because it uses the default deinterlacing in tfm, rather than tdeint+nnedi. It also uses a different decimation mode which is frame accurate. Mode 3 is identical to mode one, but uses the frame accurate decimation mode.

I can add more settings if it's necessary for some sources, but at some point down that road the purpose of the function would be lost.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: AMVIVTC - new function for easy ivtc

Postby The Origonal Head Hunter » Wed Jan 07, 2009 4:44 pm

this worked beautifully for my Riding Bean footage. Many thanks Zarx. :up:
RonnieDaking wrote:i like my anime like I like my women, from japan and speaking english

Image
Boredom.
User avatar
The Origonal Head Hunter
The Propheteer
 
Joined: 16 Jul 2005
Location: State of Denial
Status: Hooked on a Feeling

Re: AMVIVTC - new function for easy ivtc

Postby Krisqo » Wed Jan 07, 2009 5:51 pm

I'll give this a try when I begin work on my new project. But I have a question. When using the Fake AVIs, should I use mode 2 since I am KINDA working with AVS files or go with 1 or 0?
Image
User avatar
Krisqo
Cooking Oil
 
Joined: 07 Jul 2003
Location: Moderating the Adobe Forums
Status: W.O.A (Waiting on Aion)

Re: AMVIVTC - new function for easy ivtc

Postby The Origonal Head Hunter » Wed Jan 07, 2009 6:13 pm

It says use 3 for bait-and-switch.
RonnieDaking wrote:i like my anime like I like my women, from japan and speaking english

Image
Boredom.
User avatar
The Origonal Head Hunter
The Propheteer
 
Joined: 16 Jul 2005
Location: State of Denial
Status: Hooked on a Feeling

Re: AMVIVTC - new function for easy ivtc

Postby Krisqo » Wed Jan 07, 2009 7:12 pm

The Origonal Head Hunter wrote:It says use 3 for bait-and-switch.

Isn't bait and switch a whole other concept? I'm not making low quality clips and then subbing in another clip. I'm updating the AVS files as explained in the guide under "Editing AVS files Directly" but running them through VFAPIConv since it loads the scripts into Premiere more stably and they work in After Effects.
Image
User avatar
Krisqo
Cooking Oil
 
Joined: 07 Jul 2003
Location: Moderating the Adobe Forums
Status: W.O.A (Waiting on Aion)

Re: AMVIVTC - new function for easy ivtc

Postby Zarxrax » Wed Jan 07, 2009 9:11 pm

Krisqo: Modes 2 or 3 both support random frame access, and Mode 2 is faster but lower quality than mode 3, those are basically the differences.

I just updated the function, and it behaves somewhat differently now. Mode is the only setting that you really need, but I have added some other settings for people who like the ability to tweak things a little.
Changes:
- mode 0 is removed
- decimate parameter is changed to allow a value from 0-2. 0=disabled, 1=best method but doesn't support random access, 2=supports random access
- tfmmode parameter basically lets you set TFM's "mode" parameter. Don't mess with it unless you know why you are messing with it.
- pp lets you specify a postprocessing mode. 0=disabled, 1=high quality and slow, 2=an alternate high quality slow method, 3=fast and crappy

I have also added a new function called AMVDeint(), which basically lets you try out a variety of deinterlacing methods (NOT IVTC!) by simply changing a single parameter.
It doesn't let you tweak settings at all, but it does give you a way of easily testing a variety of deinterlacing methods without having to remember a bunch of different commands.
AMVDeint(mode=0) is equal to LeakKernelDeint(threshold=10)
AMVDeint(mode=1) is equal to SangNom(aa=32)
AMVDeint(mode=2) is equal to Tdeint()
AMVDeint(mode=3) is equal to TDeint(mode=2, mtnmode=3, blim=100)
AMVDeint(mode=4) is equal to TDeint(edeint=c.nnedi(),emask=c.TMM())
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: AMVIVTC - new function for easy ivtc

Postby Pwolf » Sat Mar 07, 2009 3:32 pm

Lantis, I was getting a similar problem and I fixed it... if you are still having it could you post the script you are using?
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: AMVIVTC - new function for easy ivtc

Postby Corran » Wed Mar 18, 2009 10:37 pm

If mode and decimate are the only parameters users normally need to deal with, perhaps you could change the parameter order to:
Code: Select all
function AMVIVTC (clip c, int "mode", int "decimate", int "tfmmode", int "pp")



That way users who are comfortable with the settings could simply write something like this when calling the function:
Code: Select all
AMVIVTC(3,2)
User avatar
Corran
 
Joined: 14 Oct 2002

Re: AMVIVTC - new function for easy ivtc

Postby Zarxrax » Thu Mar 19, 2009 9:57 am

That's a good idea, I'll change that next time I update this function.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: AMVIVTC - new function for easy ivtc

Postby Ghet » Mon May 18, 2009 2:19 pm

do want like a mofo. will get this when i get back home
Image
User avatar
Ghet
 
Joined: 27 Feb 2007
Status: >.<

Re: AMVIVTC - new function for easy ivtc

Postby hasteroth » Tue Jun 30, 2009 3:46 pm

Old thread.

But I wanted to say thanks. Big Help
<Hacchinya> Stirspeare: ambassador of gaysex
<Stirspeare> Hacchinya: God's own ambassador.
User avatar
hasteroth
lost the bet
 
Joined: 25 Feb 2008
Location: Around
Status: Neither here nor there

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest