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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2022, 12:34   #41  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
thr60i in CTelecineNew and thr2 in CPostProcessing must have the same value. Try this way.
If still does that, tomorrow I will look into it (same clip I guess). Also, you are supposed to bob after CTelecineNew.
I did make thr60i in CTelecineNew and thr2 in CPostProcessing same and it still got problems
the output of CTelecineNew is already 60fps! I think it wrong to do bob with it! but anyway that seems work but the output of bob seems not ok (to many ghosting)

Quote:
Last version of mkvtoolnix doesn't accept that.
weird, I don't use last mkvtoolnix but it always "# timecode format v1" and all old tools and plugins only work with "# timecode format v1" even the last x264!
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 22nd February 2022, 18:36   #42  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
Quote:
weird, I don't use last mkvtoolnix but it always "# timecode format v1" and all old tools and plugins only work with "# timecode format v1" even the last x264!
Could you please tell me how to input the vfr file with x264. I never done vfr before you asked for it so I don't know much. Since your suggestion seems more compatible I might change it.
Quote:
I did make thr60i in CTelecineNew and thr2 in CPostProcessing same and it still got problems
the output of CTelecineNew is already 60fps! I think it wrong to do bob with it! but anyway that seems work but the output of bob seems not ok (to many ghosting)
We can do like that: if isBob false, expect double frame rate, if isBob true expect same frame rate, so you can use the bob from the original clip. Does this seems acceptable?
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 18:58   #43  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
Could you please tell me how to input the vfr file with x264. I never done vfr before you asked for it so I don't know much. Since your suggestion seems more compatible I might change it.

We can do like that: if isBob false, expect double frame rate, if isBob true expect same frame rate, so you can use the bob from the original clip. Does this seems acceptable?
x264 has --tcfile-in for vfr timecode file

so this ok?

Code:
i=last
bob=stgmc(useEdiExt=2,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=2,ESearchP=true, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.1)
CTelecineNew(bob=false,thr60i=0.1,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=false,edeint=i.CPostProcessingMask(bob=bob,nt=4),edeint2=bob)
CDecimateNew(isBob=false,error=false)
it seems work

edit: and yes it should not act like this for isbob=true, I think for isbob=true case it should "if isBob true expect same frame rate" as you said
__________________
See My Avisynth Stuff

Last edited by real.finder; 22nd February 2022 at 19:04.
real.finder is offline   Reply With Quote
Old 22nd February 2022, 21:28   #44  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
Updated:
v1.0.6
- Fixed wrong frame count on CDecimateNew
- Now CPP expect same frame rate edeint/2 clip when isBob=true.

I didn't do much* testing, I have something going on.

Also you don't need to specify edeint with CCPMask with the same bob clip. It's automatic.

Quote:
i=last
bob=stgmc(useEdiExt=2,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=2,ESearchP=true, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.1)
CTelecineNew(bob=false,thr60i=0.1,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=false,edeint=i.CPostProcessingMask(bob=bob,nt=4),edeint2=bob)
CDecimateNew(isBob=false,error=false)
If Bob false, thr60i is ignored.

Last edited by Ceppo; 22nd February 2022 at 21:53.
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 22:15   #45  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
thanks, work fine, but the timecode file still "# timestamp format v1"

anyway I will test more with some DVD later
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 22nd February 2022, 22:24   #46  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
I forgot, sorry. Tomorrow I will add it with a new parameter for CDecimateNew.
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 23:08   #47  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
one more thing, and it's about CTelecineNew

in CTelecineNew(bob=true) sometimes it show frame that not same as qtgmc and that makes some artifacts

also instead of just vinverse.dll can we have option to choose alternatives like https://github.com/Dogway/Avisynth-S...GMC.avsi#L1273 ?
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 22nd February 2022, 23:16   #48  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
Quote:
one more thing, and it's about CTelecineNew

in CTelecineNew(bob=true) sometimes it show frame that not same as qtgmc and that makes some artifacts
It does field matching. So 1 field might be dropped for the adiacent while QTGMC does not. And can you give me a picture of those artefacts? QTGMC VS CTelecine VS Original

EDIT: what I said makes no sense. Might be a bug. If you could provide a sample clip that does that and point out some frame.

Quote:
also instead of just vinverse.dll can we have option to choose alternatives like https://github.com/Dogway/Avisynth-S...GMC.avsi#L1273 ?
It depends by the filter. If it does not blending, it won't work. I'm not feeling well atm, can you give me a comparison of a telecined frame with vinverse vs your vinverse?

Last edited by Ceppo; 22nd February 2022 at 23:22.
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 23:37   #49  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
It does field matching. So 1 field might be dropped for the adiacent while QTGMC does not. And can you give me a picture of those artefacts? QTGMC VS CTelecine VS Original


It depends by the filter. If it does not blending, it won't work. I'm not feeling well atm, can you give me a comparison of a telecined frame with vinverse vs your vinverse?
I know it do field matching, I didn't mean CTelecine did it but when using it like this

Code:
bob=stgmc(tr0=-2,useEdiExt=1,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=5, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.2)
CTelecineNew(bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint2=bob)
CDecimateNew(isBob=true,error=false)


look at the Teeth

tfm kinda do same sometimes, but it's ok with

istff=GetParity()
bobclip=qtgmc
Interleave(TFM(field=istff ? 1 : 0, micmatching=0, mode=0, clip2=bobclip.selecteven()), TFM(field=istff ? 0 : 1, micmatching=0, mode=0, clip2=bobclip.selectodd()))

vinverse originally was a script function by Didée then tritical make it a plugin, but now the dll version is outdated in case of HBD and some other improvements so there are Vinverse_avsi and ex_vinverse since the dll didn't get any updated since 10 years, that why I asked about option to choose alternatives
__________________
See My Avisynth Stuff

Last edited by real.finder; 22nd February 2022 at 23:41.
real.finder is offline   Reply With Quote
Old 22nd February 2022, 23:43   #50  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
I don't have your bob filter to check. Try without using CPostProcessingMask as edeint clip. It might be it failing with your bob filter.

About vinverse, ok. There is a problem, I can't load the page anymore.

Last edited by Ceppo; 22nd February 2022 at 23:45.
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 23:46   #51  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
I don't have your bob filter to check. Try without using CPostProcessingMask as edeint clip. It might be it failing.

About vinverse, ok. There is a problem, I can't load the page anymore.
I already don't use CPostProcessingMask now

any bob can be a problem, you can use just
bob=qtgmc

and what page? this ?
__________________
See My Avisynth Stuff

Last edited by real.finder; 22nd February 2022 at 23:48.
real.finder is offline   Reply With Quote
Old 22nd February 2022, 23:50   #52  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
With
Code:
bob = QTGMC()
CTelecineNew(nt=2,bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint2=bob)
I don't see any problem aside QTGMC ghosting.
Quote:
I already don't use CPostProcessingMask now
If you don't specify an edeint clip, is default.
Ceppo is offline   Reply With Quote
Old 22nd February 2022, 23:57   #53  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
With
Code:
bob = QTGMC()
CTelecineNew(nt=2,bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint2=bob)
I don't see any problem aside QTGMC ghosting.

If you don't specify an edeint clip, is default.
ok, so QTGMC was not a good replacment, bob=TDeint(1) should do it
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 22nd February 2022, 23:59   #54  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
About CTelecineNew getting the wrong frame, can you point a frame number from that clip?

EDIT:
I don't have TDeint

EDIT2:
I think there is a misunderstanding here.

If you asked me to use TDeint, then what you should do is to check:
Quote:
bob=stgmc(tr0=-2,useEdiExt=1,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=5, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.2)
CTelecineNew(bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint=bob,edeint2=bob)
CDecimateNew(isBob=true,error=false)
and see if it still does it.

Last edited by Ceppo; 23rd February 2022 at 00:10.
Ceppo is offline   Reply With Quote
Old 23rd February 2022, 00:17   #55  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
About CTelecineNew getting the wrong frame, can you point a frame number from that clip?
you mean the image above? 1444

if you mean CTelecineNew(bob=true) vs bob then it's seems fine with any bob now! maybe I did something wrong in the first time
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 23rd February 2022, 00:20   #56  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
I'm glad it works now. Tomorrow I will add ex_vinverse() as a mode.

EDIT:
I also need to rewrite the old modes and make a single CTelecine function and CDecimate function. For now, I will wait some days for bugs reports. Then I will get to it. I will also add old comb detection methods to CPostProcessing for everyone's tastes. And I will add yet another field matching mode.

Last edited by Ceppo; 23rd February 2022 at 00:24.
Ceppo is offline   Reply With Quote
Old 23rd February 2022, 00:27   #57  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
About CTelecineNew getting the wrong frame, can you point a frame number from that clip?

EDIT:
I don't have TDeint

EDIT2:
I think there is a misunderstanding here.

If you asked me to use TDeint, then what you should do is to check:

Code:
bob=stgmc(tr0=-2,useEdiExt=1,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=5, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.2)
CTelecineNew(bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint=bob,edeint2=bob)
CDecimateNew(isBob=true,error=false)
and see if it still does it.
yes that what was missing, thanks

Code:
bob1=CTelecineNew(bob=true)
bob2=stgmc(useEdiExt=2,EdiExt=sanimebob(useBWDIF=true, FastNnediHBD=true),Sharpness=0,tr2=2,ESearchP=true, Refinemotion=true, fastma=true)
#~ CTelecineNew(bob=true,write=true,thr60i=0.2)
CTelecineNew(bob=true,thr60i=0.2,inputTxt=true)
CPostProcessing(0.1,0.9,isbob=true,edeint=bob1,edeint2=bob2)
CDecimateNew(isBob=true,error=false)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 23rd February 2022, 00:38   #58  |  Link
Ceppo
Registered User
 
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
Just wondering, you guys prefer 2 dlls, one with IVTC stuff and one with CDuplicate stuff or is fine a single one?
Ceppo is offline   Reply With Quote
Old 23rd February 2022, 01:21   #59  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Tdeint here:
https://github.com/pinterf/TIVTC/releases
kedautinh12 is offline   Reply With Quote
Old 23rd February 2022, 01:58   #60  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Ceppo View Post
Just wondering, you guys prefer 2 dlls, one with IVTC stuff and one with CDuplicate stuff or is fine a single one?
I don't mind either case

I did vfr test with dvd, seems ok in everything for now but I note that the 60i detected not work good with some sources even with thr60i=0.1 here small sample https://www.sendspace.com/file/96xnbn
__________________
See My Avisynth Stuff
real.finder 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 06:24.


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