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 22nd January 2012, 17:43   #1  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
AnimeIVTC 2.01 and following improved versions

Starting with thetoofs AnimeIVTC 2.00 I tried to extend the capabilities of AIVTC a bit.
Some bugfixes are included, also with the help from others.
Here are the results in chronological order.

v2.01 2010-07-19 Emulgator's fix from 19.July 2010 (post #1052):
Line 14 last variable type changed from <int "aatype"> to <string "aatype">

v2.02 2011-03-05 Emulgator's enhancement inspired by Didée from 05.March 2011 (post #1146):
normconv shall allow hard telecined 25i->24p decimation. Manual setting only. This version is redundant now.

v2.03 2011-05-18 Emulgator's enhancement from 18.May 2011:
AnimeIVTC is now able to use NNEDI3 in TGMC. TGMCmod is therefore modified. This version is redundant now.

v2.04 2011-05-25 Emulgator's enhancement from 25.May 2011:
AnimeIVTC is now able to use NNEDI3 in AA. This version is redundant now.

v2.05 2012-01-20 Gavino's fix for function smartfademod (post #1169) from 20.January 2012: http://forum.doom9.org/showthread.ph...24#post1552824
Attached Files
File Type: 7z AnimeIVTC 2.01.7z (29.7 KB, 144 views)
File Type: 7z AnimeIVTC 2.05.7z (31.6 KB, 453 views)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 7th March 2012 at 22:46.
Emulgator is offline   Reply With Quote
Old 22nd January 2012, 17:46   #2  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
v2.10 2012-01-22 Emulgator's enhancement from 22.January 2012: normconv changes its variable type from "bool" to "float" to accommodate hard telecined 25i->24p decimation. Cosmetics. Improved Assertions. General KillAudio added. Description in the script, no .html help yet.

v2.11 2012-03-05 Emulgator's bugfix from 05.March 2012: normconv =0 yielded double framerate, not "unchanged" as promised. "Unchanged" now delivers a slow deinterlacing.

v2.12 2012-03-07 Emulgator's bugfix from 07.March 2012: edimode controlled only TGMCmod (which is called only under certain circumstances), not clips edeint, daa, upsi, upsp.
Now edimode "NNEDI3" uses nnedi3 for edeint, daa, upsi, upsp as well, Lesser edimodes will use nnedi2 for edeint, daa, upsi, upsp.

TGMCmod with NNEDI2 and NNEDI3.
Attached Files
File Type: 7z TGMCmod.7z (19.0 KB, 518 views)
File Type: 7z AnimeIVTC 2.12.7z (35.3 KB, 537 views)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 7th March 2012 at 02:36.
Emulgator is offline   Reply With Quote
Old 24th January 2012, 03:53   #3  |  Link
lych_necross
ZZZzzzz...
 
lych_necross's Avatar
 
Join Date: Jan 2007
Location: USA
Posts: 303
Is it possible to upload these files to another server like hotfiles? Sometimes it can take awhile for the mods to approve the attachments.
lych_necross is offline   Reply With Quote
Old 24th January 2012, 04:55   #4  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,867
Bear in mind, megaupload has been shut down, filesonic has disabled sharing, uploaded.to has blocked US access.
There has been a fear lately with file hosters due to the legal troubles of megaupload.
This is a real problem, I've uploaded perfectly legit stuff which is now gone, and anyone who has looked for files posted in old messages here, knows that some useful plugins have simply disappeared from cyberspace.

If anyone out there has a plugin collection, zip it up NOW, no matter how disorganized, and put it in as many places as you can.
jmac698 is offline   Reply With Quote
Old 24th January 2012, 08:09   #5  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
Mediafire doesn't seem to be going down.
At least judging by this, not entirely sure though.
Bloax is offline   Reply With Quote
Old 25th January 2012, 20:58   #6  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
I just PM'ed neuron2 to approve the attachments.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 25th January 2012, 22:28   #7  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Attachments approved.
Guest is offline   Reply With Quote
Old 3rd March 2012, 02:15   #8  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
I've tried using both scripts (AnimeIVTC and TGMCMod) and has problems AnimeIVTC (mode = 2) with the latest versions as follows:

- With version 2.01 AnimeIVTC (mode = 2) shows fps = 23.976, it should be.
- With versions 2.02, 2.03, 2.04 result fps = 24,000
- With version 2.05 out the error message "Invalid arguments to function" KillAudio ""
- With version 2.10 presents fps = 59,940
- In any version no asked nnedi3.dll filter, or not called. I had not loaded yet I loaded scripts.

PD: These bugs are used regardless of whether or not bbob= 4.

I had to return to AnimeIVTC 2.00 package. Good luck.
GMJCZP is offline   Reply With Quote
Old 4th March 2012, 12:47   #9  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Quote:
- With versions 2.02, 2.03, 2.04 result fps = 24,000
These versions were hardwired to allow decimation to 24.000p, published only to show development steps.
Quote:
normconv shall allow hard telecined 25i->24p decimation. Manual setting only.
Please do not use these versions 2.02, 2.03, 2.04 anymore, refer to the 2.10 instead.
-------------------------
AnimeIVTC 2.05: Bug confirmed and fixed:
The call should have been KillAudio(i), I had fixed this in AnimeIVTC 2.10, but not in 2.05.

AnimeIVTC 2.05 attachment at first post waiting for approval. Edit: is approved.
Quote:
- In any version no asked nnedi3.dll filter, or not called. I had not loaded yet I loaded scripts.
What does that mean ?

AnimeIVTC 2.10: Trying to repeat this bug...Can I see your script ?
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 6th March 2012 at 18:36.
Emulgator is offline   Reply With Quote
Old 5th March 2012, 14:02   #10  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
I posted the errors of all versions for easy tracking ...

The script is:

SetMemoryMax(512)
Mpeg2source ("Cap.d2v", cpu2 = 6, moderate_h = 20, moderate_v = 40)
AnimeIVTC (mode = 2, bbob = 4) # but with any value of bbob throws fps = 59.94

As I said before, using both scripts nnedi3 not ask me.
GMJCZP is offline   Reply With Quote
Old 5th March 2012, 16:23   #11  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
AnimeIVTC (mode = 2, bbob = 4) is not enough anymore from AnimeIVTC 2.10 on.
Since AnimeIVTC shall accomodate more IVTC variants normconv now needs to be specified as float.

The changes are documented in the script itself:

Code:
###Framerate preparation###
normconv = default( normconv, 0)
Assert((normconv==0||normconv==23.976||normconv==24||normconv==25), "AnimeIVTC 2.10 sees that you want to convert to a output framerate not usable in NTSC 23.976p pulldowned to 29.97i nor PAL 25p pulldowned to 25i nor Blu-ray 24p nor PAL 24p sped-up to 25fps. If you want to force some other framerates and decimations out of AnimeIVTC 3.00 you may edit the AIVTC scriptbefore.")
# Determine TV system of the source by analysing input framerate
Ifrate 	= round(framerate(i))==30 ? 1 : framerate(i)==25 ? 2 : 3    # ifrate -> Input framerate NTSC := 1  | PAL :=2  |  Incompatible :=3
Assert(ifrate!=3, "AnimeIVTC 2.10 sees an input clip with a framerate not belonging to NTSC 29.97fps nor PAL 25fps. If you want to force some other framerates into AnimeIVTC 2.10 you may use Assumefps()before.")
[*#-------------------Start of Normconv section AIVTC prior 2.10--------------------------------
# If normconv is set to true, the output framerate is set to match the opposite TV system.
# If normconv is set to false,the output framerate is set to match the source TV system, so to input framerate.
Ofrate 	= Ifrate==1 && normconv ? 2 : Ifrate==2 && normconv ? 1 : Ifrate # Ofrate=1: 23.976p over NTSC  | Ofrate=2: 25p over PAL 
*]#---------------------------------End of Normconv section AIVTC prior 2.10------------------------------------
#[*#-------------------Start of Normconv section AIVTC 2.10------------------------------
# New Feature with AIVTC 2.10: You got a PAL25i source that was hard telecined from 24p film .
# You got to restore and deliver fully progressive film frames. So you have to apply IVTC to get back to 24p.
# If AIVTC's normconv is set to 24, Srestore's output framerate will be set to 24p.
# For Blu-ray the resulting 24fps are already perfectly playable.
# Before final encoding to any PAL framerate you will have to apply Assumefps(25) after AIVTC.
# This will allow playback on PAL TV system with either +4,16% PAL Speedup or Euro Pulldown.
# Soft "Euro" pulldown is applied as 2:2:2:2:2:2:2:2:2:2:2:3, this being a lesser solution. 
# Euro Pulldown means a sequence of 12 progressive frames, then after these 24 fields the last one field is repeated,
# followed by a sequence of 12 interlaced frames, then after these 24 fields the last one field is repeated.
# This pulldown means sloppy motion every 0,5s, and should be avoided nowadays.)

# If normconv is set to 0, AIVTC output framerate stays unchanged.
# If normconv is set to 23.976, AIVTC output framerate is set to 24000/1001 (23.976p) to match playback on NTSC TV system with 3:2 soft pulldown.
# If normconv is set to 24, AIVTC output framerate is set to 24p. This matches 24.000p Blu-ray playback. After Assumefps(25) the output will be PAL-speedupped to match playback on PAL TV system with 2:2 soft pulldown.
# If normconv is set to 25, the output framerate is set to 25p to match playback on PAL TV system with 2:2 soft pulldown.
But a bug is there: normconv="0" did indeed throw out 59,94fps for a NTSC source, not "unchanged" (29.97fps) as promised.
To be fixed.
In your case (I guess IVTC of Film 23.976p pulldowned to NTSC 29.97i) please add the parameter normconv=23.976

Code:
AnimeIVTC (mode = 2, bbob = 4, normconv = 23.976)
Fixed, Version 2.11 waiting for approval in Post #2. Edit: Is approved.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 7th March 2012 at 02:41.
Emulgator is offline   Reply With Quote
Old 5th March 2012, 23:02   #12  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Thanks in advance and waiting approval ^^
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 6th March 2012, 07:59   #13  |  Link
Vitaliy Gorbatenko
viterra
 
Join Date: Feb 2003
Location: St. Peterburg, Russia
Posts: 142
Please, share on Mediafire. "Attachments Pending Approval" is annoying..
Vitaliy Gorbatenko is offline   Reply With Quote
Old 6th March 2012, 15:17   #14  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Approved attachment.
Guest is offline   Reply With Quote
Old 6th March 2012, 18:30   #15  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Thanks, neuron2 !

A thought about attachments:
Even if an approval might take some time, I prefer to have a consistent forum thread with its links alive.
This can be expected when attachments are hosted by the very same forum.
Not necessarily the case when attachments link to an external hosting service.
Those might cease to exist or might (have to) change their conditions...such thread might sooner or later be hampered by dead links.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 6th March 2012 at 18:35.
Emulgator is offline   Reply With Quote
Old 6th March 2012, 21:58   #16  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I'm happy to have you guys PM me when you put up an attachment. I'll approve it straightaway.
Guest is offline   Reply With Quote
Old 6th March 2012, 22:07   #17  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Emulgator, I appreciate all your efforts to provide a AnimeIVTC and TGMCMod versions updated with nnedi3 (why we're here, heh, heh).

Then I rated my answers regarding the version tested, having already tested the 2.10 before approved attachments.

For version 2.10:
I must respectfully say that for my case (DVD Rip NTSC) are going around in circles. Using normconv = 23.976 (no longer goes fps = 59.94, thank you) I'm getting the same results in time and quality with those of AnimeIVTC 2.00, this is because it simply is not present nnedi3. Please try this setting: AnimeIVTC (mode = 2, bbob = 4, normconv = 23.976) without load nnedi3.dll (or removing the plugin from the Avisynth folder) and see that everything works well. This is what I tried to explain in my first post. It's just nnedi2 which is doing the work, not nnedi3.

For version 2.11:
I use version 2.11 and leaves undefined normconv result now in fps = 29.970. We must continue using normconv = 23.976. Regarding nnedi3, quality and speed as usual. Again, I still can not enjoy the benefits of nnedi3.

Last edited by GMJCZP; 6th March 2012 at 22:13.
GMJCZP is offline   Reply With Quote
Old 7th March 2012, 02:33   #18  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
v2.12 2012-03-07 Emulgator's bugfix from 07.March 2012:
edimode controlled only TGMCmod (which is called only under certain circumstances), not clips edeint, daa, upsi, upsp.
Now edimode "NNEDI3" uses nnedi3 for edeint, daa, upsi, upsp as well, Lesser edimodes will use nnedi2 for edeint, daa, upsi, upsp.

See Post #2.

More fixes to come, since the handling of credits does not yet respect the new normconv.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 7th March 2012 at 02:37.
Emulgator is offline   Reply With Quote
Old 8th March 2012, 15:11   #19  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Thank you, Emulgator. Now everything works using normconv = 23,976.

But I noticed something: the visual quality looks identical compared to 2.00 AnimeIVTC package, and what struck me most is that now the processing time is a little slower. I have understood that nnedi3 is faster than nnedi2.

I took the liberty of modifying TempGaussMC_beta2u taken from here:

http://forum.doom9.org/showthread.php?p=1400371

After removing TGMCMod, inside the script 2.12 I changed TGMCMod 2.12 per TempGaussMC_beta2u (function calling only, of course) and did the test: the processing time tends to be almost twice as fast!, The visual quality look alike. To test VerticalCleanerSSE3.dll must be loaded (if the CPU allows).

I await your comments.
GMJCZP is offline   Reply With Quote
Old 9th March 2012, 11:50   #20  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Feel free to post your incremented version (with built-in script documentation) here !
The visual quality of the versions up to 2.12 is expected to be almost the same as before.
For my side of improvements it was only about bugfixes and extensions.
I did not touch TGMCmod yet and do welcome any improvements.
(My time is too limited right now)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 9th March 2012 at 12:06.
Emulgator 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 13:45.


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