Log in

View Full Version : AnimeIVTC 2.X with bug fix and more


Pages : 1 2 [3]

Tempter57
15th June 2021, 16:20
real.finder
Editing function MC_A_bob.avsi is necessary as with the last version QTGMC.avsi v3.380s the line of script AnimeIVTC (2, bbob=5, extbob=MC_A_bob, mode22=true) produces an error "QTGMC: lsbd and n16d cannot be used together"

real.finder
15th June 2021, 17:09
real.finder
Editing function MC_A_bob.avsi is necessary as with the last version QTGMC.avsi v3.380s the line of script AnimeIVTC (2, bbob=5, extbob=MC_A_bob, mode22=true) produces an error "QTGMC: lsbd and n16d cannot be used together"

that was QTGMC bug, fixed

if you use last avs+ you can replace lsb with n16 and lsbd with n16d to get more speed

Tempter57
15th June 2021, 17:28
Thanks, are valid with QTGMC v3.382s all work normally

burninsnikers
28th October 2021, 21:40
Hi guys! I'm not so good in ripping etc. so I ask for a little help. Here is a small part of the 25 fps PAL DVD video (30 sec.):
https://mega.nz/file/8dhAWSBT#jsdp2aDsh8CSKdziD880yWU6m9U43iCZguvA_EJzW5o
I'm suppose originally it was a Japanese TV translation as it also available on Japanese DVDs @ 29.97 fps. Other DVDs has lower quality and awful sharpening or blurring, but this one looks better. The main problem is the recording goes in jerks, this is especially noticeable in the interval from 10 to 20 seconds, when camera goes through the studio. Is it possible to restore the video to original frame rate (29.97) and speed? De-interlacing is also welcomed. Please post the script here, so that I can do the re-encoding myself.
Thanks in advance!

kuchikirukia
2nd November 2021, 08:49
Looks like it's missing frames, and interpolating them would probably be a pain.
QTGMC(inputtype=1) should clean up the video. It's not interlaced, it just has interlacing artifacts.

Enigmo
24th November 2021, 06:31
I've got a problem at the moment where I need to IVTC a 422 source so I'm applying animeivtc to yv16 video.

The problem is that I get the lower half of the video turning green like this:
https://i.imgur.com/M9oM9Sr.png

Anybody think they know what's causing this? It's odd because this only started recently after I reinstalled my OS and AviSynth 2.6...in my previous install I was able to use animeIVTC on yv16 just fine. Even weirder, I was able to use converttoyuy2 in front of animeivtc but can't anymore. Now if I try YUY2 I get an error that mt_convolution can't work on YUY2 and needs to be YV16, so I'm confused why YUY2 used to work on animeivtc before for me.

Anyway, the lower half turning green is not just an AnimeIVTC problem. I'm getting the same issue on YV16 footage when I use tfm, tdeint or bifrost. Weirdly, QTGMC seems to not have this issue on YV16. If anyone knows how to fix this for animeivtc please let me know.

kedautinh12
24th November 2021, 07:41
I think you need download latest ver here
https://github.com/realfinder/AVS-Stuff/tree/Community

Enigmo
25th November 2021, 01:23
I think you need download latest ver here
https://github.com/realfinder/AVS-Stuff/tree/Community
Went ahead and dumped the avs 2.5 and 2.6 folder's files into plugins folder and the lower half being green still persists.

I should note, though, I'm being forced to use super old versions of TDeint and TIVTC. I'm using versions from 2007 and 2008 respectively. I tried to update to latest but I get an "access violation" error when I then try to run animeivtc or tdeint/tfm on their own. So maybe updating those could solve my issues, so if the access violation issue can be solved that might be the key to getting animeIVTC working for me.

sp4ce_c0wb0y
29th November 2021, 11:33
Hello, I hope this is the right place for this.

I have an anime I'm trying to rip that is NTSC and I think has been hard telecined. Most of the credits are what appear to be interlaced text scrolling over a static background so I assumed the credits were just interlaced. Using animeIVTC to create a VRF file that was 24fps normally and 30fps for the credits worked and everything seemed good.

However, in two episodes, the credits are scrolling over panning shots (aka not a static background). Looking at this it seems like the scrolling credits were 30fps interlaced and put on top of a 24fps telecined background. It seems like hybrid/mode=4 is meant for this specific circumstance, but if I apply it to the whole episode, there are several nasty frameblends in the normal episode and it does almost(?) nothing to the credits. I also don't see how I would apply hybrid mode to just the credits and IVTC to the rest. If I IVTC the credits the text looks like crap but the background looks good, if I de-interlace (using QTGMC) the credits the text looks good but the background is jumpy.

Here's a sample: https://sendgb.com/t1x6QdfAbHI

tl;dr:
1.) Is this actually a telecined background with interlaced credits on top of it?
2.) Assuming it is, how do I properly use hybrid mode for animeIVTC on just the credits?
3.) Any other suggestions on how to deal with this welcome.

Emulgator
1st December 2021, 20:04
That sample had been transcoded already, MPEG-2 in .avi.
An unprocessed DVD source (.VOB) would get you closer.

sp4ce_c0wb0y
3rd December 2021, 23:44
That sample had been transcoded already, MPEG-2 in .avi.
An unprocessed DVD source (.VOB) would get you closer.

That sample was cut with ffmpeg using -vcodec copy from the demuxed .m2v file created by dgIndex. I thought that would be the same since the encoding didn't change (?). Anyhow here is a clip from the .VOB file cut out with dgIndex: https://sendgb.com/Bj7OXIk0SMZ

Emulgator
6th December 2021, 00:06
That looks nice indeed, the crawling background is bobbing.
I would guess on a wrong pulldown phase of the background as the credits were layered on top,
but how to mend that mess.. it is spatially inconsistent and would take recompositing with masks.
I would try to get rid of the scrolling credits first
(see the beautiful work done with InpaintDeLogo),
get the pulldown phase right for IVTC
and then rerender the credits on top with the same font.

Shinkiro
6th December 2021, 01:21
That sample was cut with ffmpeg using -vcodec copy from the demuxed .m2v file created by dgIndex. I thought that would be the same since the encoding didn't change (?). Anyhow here is a clip from the .VOB file cut out with dgIndex: https://sendgb.com/Bj7OXIk0SMZ
QTGMC seems to be doing more or less well
https://yadi.sk/i/IpZ9vP-2L1bVIA
QTGMC(preset="slow",Lossless=0,SourceMatch=0,MatchPreset="slow",MatchPreset2="slow",MatchEdi="NNEDI3",EdiMode="EEDI3+NNEDI3",FPSDivisor=2,Sharpness=0.0)

CaptainGotoSV2
19th December 2021, 04:40
Going through my field blended PAL anime DVDs and I have three questions:

1. Is PAL speed-up generally applied after NTSC > PAL conversions of anime or is it that because the video has been field blended the appoximate running time is the same and there is no need?

2. Does normconv=true actually slow down the video to 23.976?

3. With mode=2 is it possible to encode intro and end credits at 30fps e.g. BGCT 2040, Naruto?

Cheers fam

real.finder
19th December 2021, 17:15
Going through my field blended PAL anime DVDs and I have three questions:

1. Is PAL speed-up generally applied after NTSC > PAL conversions of anime or is it that because the video has been field blended the appoximate running time is the same and there is no need?

2. Does normconv=true actually slow down the video to 23.976?

3. With mode=2 is it possible to encode intro and end credits at 30fps e.g. BGCT 2040, Naruto?

Cheers fam

1. no idea

2. normconv only work with mode 2, it's just change the fps for srestore

3. yes, using http://avisynth.nl/index.php/AnimeIVTC#Interlaced_or_progressive_credits

CaptainGotoSV2
20th December 2021, 04:05
1. no idea

2. normconv only work with mode 2, it's just change the fps for srestore

3. yes, using http://avisynth.nl/index.php/AnimeIVTC#Interlaced_or_progressive_credits

Cheers

I also have another question, when I choose aa=4 I'm now getting the following message: "Script error: invalid arguments to function 'Toon'"

Any thoughts?

kedautinh12
20th December 2021, 06:24
I think you used old ver. Latest ver here
https://github.com/realfinder/AVS-Stuff/blob/Community/avs%202.5%20and%20up/AnimeIVTC.avsi

New scripts from real.finder
https://github.com/realfinder/AVS-Stuff

Emulgator
23rd December 2021, 00:42
1. Is PAL speed-up generally applied after NTSC > PAL conversions of anime or is it that because the video has been field blended the appoximate running time is the same and there is no need?
PAL-Speedup just describes the presentation of framebased material which was shot in 24p, now as 25p.
No pulldown is applied, the frames are just presented for 40ms instead of 41.666ms (@24.000fps) or 41,7083ms (@23.976fps)
which leaves you with +4,16% speedup, so a shorter (24/25) running time and if not pitch-corrected, +4,16% higher pitch
It should have no special meaning applying to anime.
With conversions to PAL you may encounter a stranger pulldown which is 2:2:2:2:2:2:2:2:2:2:2:3.
That keeps correct duration and pitch, but leaves a certain judder per second which you may want to undo.
But your case seems to be fieldblended, so this won't be too helpful...

CaptainGotoSV2
28th December 2021, 03:18
I think you used old ver. Latest ver here
https://github.com/realfinder/AVS-Stuff/blob/Community/avs%202.5%20and%20up/AnimeIVTC.avsi

New scripts from real.finder
https://github.com/realfinder/AVS-Stuff

Just saved that, thanks for that :)

I am encountering issues with the new script in regards to mode=1, gives me an error message in AvsPmod that says: "TDeint: Mode must be set to -2, -1, 0, or 1!"

I'd also like to know how to actually use VFR for intro and credits for some of my field-blended PAL anime, the R4 NGE Platinum Collection to be specific. The show and credits are all animated at 24fps, but ADV's credit scrolling overlayed onto the credits are of a higher frame rate. I'm kinda stuck on what to do with frame numbers i.e. what part of the clip I'm entering in as i1, i2 etc

kedautinh12
28th December 2021, 05:12
Are you download latest ver tdeint???
https://github.com/pinterf/TIVTC/releases

CaptainGotoSV2
28th December 2021, 05:49
Are you download latest ver tdeint???
https://github.com/pinterf/TIVTC/releases

Yeah I did ages ago, I have resolved the problem though, you need to enter an integer in precision e.g. precision=4.

In regards to the credit sequence, I'm too green at AviSynth to make heads or tails of how to get the script to pump out a VFR video, and my attempts to just blend the credits with credconv after normconv from 25fps to 23.976fps aren't working - either the next episode preview is cut or somehow I manage to slow down rendering of the entire video.

Boulder
28th December 2021, 06:24
Avisynth supports only CFR, for VFR you need some timecode manipulation in the container so the player knows which parts to play at which speed.

CaptainGotoSV2
28th December 2021, 06:34
Avisynth supports only CFR, for VFR you need some timecode manipulation in the container so the player knows which parts to play at which speed.

I kinda gave up on VFR, I'm wanting to blend the credits instead, here's my script

global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("C:\Users\***\Downloads\MeGUI-2913-32\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\EVANGELION_PLATINUM_V1\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Users\***\Downloads\MeGUI-2913-32\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
AnimeIVTC(mode=2, ediandnn=3, bbob=1, i1=33020, e1=34651, i2=34652, e2=35054, normconv=true, credconv="blend", )
Toon()
mcdaa3()

My problem is after that, playing the resulting footage in AvsPmod is slowed down to a trickle

kedautinh12
28th December 2021, 10:32
Cause you use many scripts. Try prefetch can improve your speed

CaptainGotoSV2
28th December 2021, 19:10
Cause you use many scripts. Try prefetch can improve your speed

i'm only using AnimeIVTC, mcdaa and Toon though, that's not all that many. That aside, enabling "blend" in credconv blends the whole video, not just credits

kedautinh12
29th December 2021, 00:22
i'm only using AnimeIVTC, mcdaa and Toon though, that's not all that many. That aside, enabling "blend" in credconv blends the whole video, not just credits

You think AnimeIVTC + mcdaa don't load any plugins, scrips inside?? And you try prefetch with (2->...) you can see it's different

tormento
24th September 2024, 18:15
Many plugins are old or not available as x64, plus there are OpenCL versions of some too.

Some good man could update AnimeIVTC?