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 4th May 2015, 02:16   #41  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
new version in 2nd post, probability it will be the last (at least for this period)

in the last ver. many changes done

precision=4 is recommended instead of 3 in most cases, in old noisy telecined source (like VHS) you can use something like this if there combed frames especially in the still frames like where the only mouth is move
Code:
TComb(othreshL=4) #Dot Crawl and Rainbow remove will help a lot here (even if you did not notes Dot Crawl and Rainbow in the source)
AnimeIVTC(1,0,4,mi=50,blockx=8,blocky=8,tfmm=0,autoAssuf=true,o3025cfr=true).TDecimate(1,chroma=false) #o3025cfr here to not Decimate because we have to do it externally
and this ver. http://forum.doom9.org/showpost.php?...9&postcount=48 may help too

and you may convert scan order to make IVTC filters work correctly

Code:
sourcford = getparity() ? 1 : 0
originField = SeparateFields()
newoFields = originField.Trim(1,0)+blankclip(originField,length=1)
sourcford == 1 ? newoFields.Weave().AssumeBFF : newoFields.Weave().AssumeTFF

AnimeIVTC(1,0,4,mi=50,blockx=8,blocky=8)
this will add audio delay (-16) in NTSC source and -20 in PAL source

try this method first and then try autoAssuf=true above if it not succeed

------------

edit: I note that mchroma bool in tfm didn't affect on fields matching, Confirmed that through source that has noise in the chroma by converttoy8 and then converttoyuy2 and the tfm work correctly in that scene

-----

and I made this for easy use of the notes above https://pastebin.com/h4ZPnM3Z
__________________
My Avisynth Stuff

Last edited by real.finder; 21st February 2019 at 15:35. Reason: more note
real.finder is offline   Reply With Quote
Old 8th May 2015, 06:28   #42  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,413
Thanks, I gave it a shot on some old Kimagure Orange Road footage and it seems to work quite well. Thanks! Might be worth making that a "noisy=true" preset if that's generally recommended.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 9th May 2015, 23:49   #43  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by foxyshadis View Post
Thanks, I gave it a shot on some old Kimagure Orange Road footage and it seems to work quite well. Thanks! Might be worth making that a "noisy=true" preset if that's generally recommended.
My policy is keep the default settings of the original script
And also there may be a side effects

Anyway, happy that it work for you
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 12th May 2015, 00:37   #44  |  Link
Elegant
Registered User
 
Join Date: Jul 2014
Posts: 55
I'm trying to provide an extbob (doing my own QTGMC) when using precision=6 but it's demanding that the extbob be YUY2. If I convert it to YUY2 it then complains that the source is not YUY2, is this normal?
Elegant is offline   Reply With Quote
Old 12th May 2015, 13:54   #45  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by Elegant View Post
I'm trying to provide an extbob (doing my own QTGMC) when using precision=6 but it's demanding that the extbob be YUY2. If I convert it to YUY2 it then complains that the source is not YUY2, is this normal?
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 16th May 2015, 00:44   #46  |  Link
sPaCeMoNk3y
Registered User
 
Join Date: Jun 2011
Posts: 12
Dependencies

Hi,
I'm sorry to ask, but I'm quite new to user scripts. Are there any dependencies to run the script, because I get an error. If so, where can I find those and is there a decent manual?
sPaCeMoNk3y is offline   Reply With Quote
Old 16th May 2015, 06:02   #47  |  Link
creaothceann
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 360
Always post error messages.
creaothceann is offline   Reply With Quote
Old 10th June 2015, 00:14   #48  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
upcoming version (for test)

non atm

------------
=====

sample in vertical global motion (Pan) with tfm default settings "AnimeIVTC(1)" http://i.imgur.com/nTiifDn.png

use it like this should be ok AnimeIVTC(1, 0, 4, tfmm=0, micmatching=0, o3025cfr=true).TDecimate(1)

Result http://i.imgur.com/L0Y8kwm.png

-------------
========

Quote:
Originally Posted by sPaCeMoNk3y View Post
Hi,
I'm sorry to ask, but I'm quite new to user scripts. Are there any dependencies to run the script, because I get an error. If so, where can I find those and is there a decent manual?
it almost same as original one http://forum.doom9.org/showthread.php?t=138305
and the most change in this mod mentioned in 1st and 2nd posts, and most of them didn't effect plugins Requirements
__________________
My Avisynth Stuff

Last edited by real.finder; 14th October 2016 at 17:48.
real.finder is offline   Reply With Quote
Old 14th June 2015, 04:10   #49  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
I do a quick test to avoid bob in Field blended sample

Code:
orig = last
nnedi3(-2).srestore(omode=2)
getparity(orig) ? interlaced60or50 : interlaced60or50(bff=true)
ivtc here
and seems that the experiment is successful

since that nnedi3 preserves the original fields, so the srestore will replace blended one with new one that originally made by nnedi3 to complete the frame
__________________
My Avisynth Stuff

Last edited by real.finder; 14th June 2015 at 14:07.
real.finder is offline   Reply With Quote
Old 24th June 2015, 22:08   #50  |  Link
chagomx
Registered User
 
Join Date: Dec 2009
Posts: 5
Hi, hope somebody can help me.

I have a DVD R2J but I can't get IVTC'it, is a hybrid.

I've used mode=4, omode=2 but as you can know the 4th frame of 24fps segments are duplicated, if I use omode=1 decimates and display the 24fps segments as it should be but the 30fps segments are blended.
I've tried using credconv="mocomp" but it still dispaly blended.

For the opening I've used p1/p2/e1/e2 at omode=2 and everything is fine, but at the episode I can't use the same technique since p1/p2/e1/e2 are limited and I wouldn't set p1...pn/e1...en.
chagomx is offline   Reply With Quote
Old 25th June 2015, 01:19   #51  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by chagomx View Post
Hi, hope somebody can help me.

I have a DVD R2J but I can't get IVTC'it, is a hybrid.

I've used mode=4, omode=2 but as you can know the 4th frame of 24fps segments are duplicated, if I use omode=1 decimates and display the 24fps segments as it should be but the 30fps segments are blended.
I've tried using credconv="mocomp" but it still dispaly blended.

For the opening I've used p1/p2/e1/e2 at omode=2 and everything is fine, but at the episode I can't use the same technique since p1/p2/e1/e2 are limited and I wouldn't set p1...pn/e1...en.
if your setting is IVTC only make sure to set precision to 0 or 1 or 4 or 5 and real30p=true

and if you use setting that need bob then don't set cbob to 3 without yadifrepwithtdeint=true or 4

to help you better, post a sample
__________________
My Avisynth Stuff

Last edited by real.finder; 25th June 2015 at 01:30.
real.finder is offline   Reply With Quote
Old 25th June 2015, 16:09   #52  |  Link
chagomx
Registered User
 
Join Date: Dec 2009
Posts: 5
Hi again, first of all, thank you for the reply. I've tried your suggestion but it didn't work. This is the line i'm using:

Code:
AnimeIVTC(mode=1, precision=5, aa=4, dark=0.6, killcomb=1, real30p=true, cbob=3, yadifrepwithtdeint=true)
or

Code:
AnimeIVTC(mode=4, omode=1, aa=4, dark=0.6, killcomb=1, real30p=true, cbob=3, yadifrepwithtdeint=true)
Here es the untouched sample (only encoded to x264 for compression):

Sample

Thanks again.
chagomx is offline   Reply With Quote
Old 25th June 2015, 18:39   #53  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by chagomx View Post
Hi again, first of all, thank you for the reply. I've tried your suggestion but it didn't work. This is the line i'm using:

Code:
AnimeIVTC(mode=1, precision=5, aa=4, dark=0.6, killcomb=1, real30p=true, cbob=3, yadifrepwithtdeint=true)
or

Code:
AnimeIVTC(mode=4, omode=1, aa=4, dark=0.6, killcomb=1, real30p=true, cbob=3, yadifrepwithtdeint=true)
Here es the untouched sample (only encoded to x264 for compression):

Sample

Thanks again.
I did a quick test in random frames and didn't see what you talk about in AnimeIVTC(mode=1, precision=5, aa=4, dark=0.6, killcomb=1, real30p=true, cbob=3, yadifrepwithtdeint=true)

and the correct way to encode Interlaced in x264 is SeparateFields() in the last of avs script and --interlaced in x264

and I don't recommend killcomb and aa in animeivtc, better use daa3 or daa3mod or even better mcdaa3

and about omode=1, I edit animeivtc http://forum.doom9.org/showpost.php?...9&postcount=48 and add o3025cfr bool
so the output in your case will be 30 (29.970), if you want it in 24 (23.976) use fps converter like http://forum.doom9.org/showthread.php?t=160226 or simply changefps() but will lead to stutter motion
__________________
My Avisynth Stuff

Last edited by real.finder; 26th June 2015 at 05:59.
real.finder is offline   Reply With Quote
Old 27th June 2015, 14:14   #54  |  Link
ChiDragon
Registered User
 
ChiDragon's Avatar
 
Join Date: Sep 2005
Location: Vancouver
Posts: 610
Quote:
Originally Posted by real.finder View Post
and the correct way to encode Interlaced in x264 is SeparateFields() in the last of avs script and --interlaced in x264
Wait, what?
ChiDragon is offline   Reply With Quote
Old 27th June 2015, 20:57   #55  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by ChiDragon View Post
Wait, what?
that how it work for me

edit: look like --interlaced in x264 will be enough
__________________
My Avisynth Stuff

Last edited by real.finder; 24th September 2015 at 00:13.
real.finder is offline   Reply With Quote
Old 30th June 2015, 01:01   #56  |  Link
chagomx
Registered User
 
Join Date: Dec 2009
Posts: 5
Hi again, sorry for the hyper-delayed reply but I can't deal with this.

You're right, real.finder. I meant that when I output to 24fps, the 30p segments displays jumpy.

Here I uploaded another sample, this time RAW (m2v). I'm using DGIndexNV frameserver:

Sample 2

What I want is to recover progressive frames but with smooth playback, I don't want to set --interlaced at x264.

If there's a good solution (without trim 24/30 segments), any suggestion is welcome

Thank you.
chagomx is offline   Reply With Quote
Old 30th June 2015, 04:50   #57  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
Quote:
Originally Posted by chagomx View Post
Hi again, sorry for the hyper-delayed reply but I can't deal with this.

You're right, real.finder. I meant that when I output to 24fps, the 30p segments displays jumpy.

Here I uploaded another sample, this time RAW (m2v). I'm using DGIndexNV frameserver:

Sample 2

What I want is to recover progressive frames but with smooth playback, I don't want to set --interlaced at x264.

If there's a good solution (without trim 24/30 segments), any suggestion is welcome

Thank you.
--interlaced at x264 for encoding sample, Because the previous sample you post it was Progressive but the Content was interlaced

the best solution for your case is vfr (omode=2) 2pass and if you had a problem with it in smooth then use nvfr=true in animeivtc may help
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 6th July 2015, 15:20   #58  |  Link
chagomx
Registered User
 
Join Date: Dec 2009
Posts: 5
I had to handle it with VFR. If only there was a way to do it with CFR would be great. Thank you.
chagomx is offline   Reply With Quote
Old 6th July 2015, 19:04   #59  |  Link
creaothceann
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 360
You could use 120000/1001 fps if you have a monitor that can be set to that frequency (or use exactly 120 fps and use ReClock to speed up the video slightly).
creaothceann is offline   Reply With Quote
Old 7th July 2015, 09:25   #60  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,152
there are vfr to cfr

http://tasvideos.org/forum/viewtopic.php?t=12763

http://forum.doom9.org/showthread.php?t=165045

https://griffeltavla.wordpress.com/2...sing-avisynth/

but you need to do 2 pass before you can use it
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Tags
anime aa, animeivtc, chroma fix, deinterlace, mod

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 11:57.


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