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. |
![]() |
#1 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
TDecimate Override
I need to use TDecimate on two videos and combine them.
If I just decimate separately, combination of them can be lead to jerky video. So I need to override second decimatation as first decimation. How do I do this? Code:
s=source d1=s.decrawlfilter1() d2=s.decrawlfilter2() d1=d1.tfm().tdecimate() d2=d2.tfm().tdecimate() # This decimation should be overrided by previous decimation. ConditionalFilter(d1,d2,d1,"YDifferenceFromPrevious", ">", "0.6") |
![]() |
![]() |
![]() |
#2 | Link |
Guest
Join Date: Jan 2002
Posts: 21,906
|
Combine the clips before applying IVTC?
d1=s.decrawlfilter1() d2=s.decrawlfilter2() combined = d1++d2 combined.tfm().tdecimate() It's not clear why the clip would become jerky doing it the original way. I might possibly expect a glitch at the junction. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
Oh, sorry my English is not good.
What I wanted is to replace frames that decrawfilter1() couldn't fix with decrawfilter2() could. But decimation can be different on two videos because of moving dots. In my case, d1 and d2 has one frame difference for some parts. For example d1's 1010th frame is equal to d2's 1011th frame, if i replace d1's 1010th frame with d2's 1010th frame, video becomes jerky. Last edited by bxyhxyh; 9th March 2014 at 18:13. |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,258
|
The calculations can be different for both tfm and tdecimate, because you are applying a different dotcrawl filter before TIVTC
One way to do this is decide which version you want, then generate an output log file for both TFM(output="TFMlog.txt") and TDecimate(output="TDecimatelog.txt") , then use that output log file as input file for the 2nd version Also, are you using a frame accurate source filter ? |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Mar 2014
Posts: 308
|
Code:
s = source d1 = s.decrawlfilter1() d2 = s.decrawlfilter2() d12 = stackvertical(d1,d2).tfm().tdecimate() d1 = d12.crop(0,0,source.width(),source.height()) d2 = d12.crop(0,source.height(),source.width(),source.height()) ConditionalFilter(d1,d2,d1,"YDifferenceFromPrevious", ">", "0.6") Code:
s = source d1 = s.decrawlfilter1().tfm() d2 = s.decrawlfilter2().tfm() ConditionalFilter(d1,d2,d1,"YDifferenceFromPrevious", ">", "0.6") tdecimate() |
![]() |
![]() |
![]() |
#6 | Link | ||
Registered User
Join Date: Dec 2011
Posts: 354
|
Quote:
Quote:
My last resort is this Code:
s = source s.decrawlfilter1().decrawlfilter2() TFM().TDecimate() Last edited by bxyhxyh; 10th March 2014 at 10:58. |
||
![]() |
![]() |
![]() |
Tags |
decimation |
Thread Tools | Search this Thread |
Display Modes | |
|
|