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. |
24th November 2006, 14:40 | #842 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Isn't animation usually telecined rather than interlaced?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
24th November 2006, 19:14 | #843 | Link |
Registered User
Join Date: Feb 2004
Location: Canton
Posts: 230
|
i'm sorry for forgetting post a short sample
here is a chopped vob http://rapidshare.com/files/4665877/sample.vob.html i simply use tdeint to deinterlace without any other filter, just lower the thresh and switch "field" to see if it help. @Chainmax: it's very source/scene dependent, some bad mixed dvd do exist. btw, i've tried eedi2 as a same frame rate deinterlacer for this section and found it works excellent. but i can't leave it as 30fps cause it's so jerky. i'm considering a bobber. anyway, i'm also looking forward a good settings with tdeint to see if the pixel based motion adaption would work more fantasy. Last edited by Valeron; 24th November 2006 at 19:16. |
25th November 2006, 00:58 | #844 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
I don't know where you got the idea that needs to be deinterlaced, but it is 100% telecined. It's a bit of an older telecine job, not perfectly smooth, bot tfm().tdecimate() does great on it.
Deinterlacing everything because a few hybrid dvds exist in the wild is a terrible idea, it'll cause all kinds of jerkiness and combing when ivtc is called for. That's why tdecimate has such good hybrid support. |
25th November 2006, 04:40 | #845 | Link |
Registered User
Join Date: Feb 2004
Location: Canton
Posts: 230
|
so sorry for missing checking the field patterns.....
there's really something wrong with me these days...... now i see it's not interlaced but also not a popular telecined section with 3:2, since i can't find the matched field for some frames with decomb(i've overrided the matched field decision for any of the 3 field). do i have to go with postprocess? how does tfm+tdecimate solve this section? and more, i don't deinterlace everything but just several scene i can't get rid of combs with ivtc(postprocess off) thx PS: i know this post is a bit off topic, if it really disturb the topics of tdeint, i'd like to see it splitted to the usage forum. Last edited by Valeron; 25th November 2006 at 04:52. |
25th November 2006, 12:43 | #846 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
When Decomb fails you, go straight to TIVTC before you start trying more esoteric solutions. There's a very good chance it'll detect or correct whatever problem your script has, and it'll give you more options for fixing it, without having to deal with manually override every movie. In fact, I never bother with Decomb at all anymore, TIVTC is almost as fast and so much better at handling hiccups.
I mean, using the defaults gave me excellent results on your clip; the pp took care of the residual combing from the bad post-telecine merge, even if it's not 100% smooth (which a deinterlacer will have just as much trouble on). |
27th November 2006, 07:13 | #848 | Link | |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
[link removed], changes:
Code:
tdecimate: + added sdlim parameter - expanded file input line buffers from 80 bytes to 1024 bytes - small change to debug output format of match/d2v duplicate info lines tfm: - expanded file input line buffers from 80 bytes to 1024 bytes @Chainmax Quote:
Last edited by tritical; 7th December 2006 at 08:43. |
|
27th November 2006, 19:20 | #849 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Mode=7 it is then. Thanks for all the help .
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
30th November 2006, 11:20 | #850 | Link |
Registered User
Join Date: Sep 2005
Location: Vancouver
Posts: 600
|
Thanks for sdlim. If you don't mind my asking though, why are its possible values so constrained? I was able to set a limit of 3 with that code you gave me, but only 2 for sdlim (with cycleR=35, cycle=185). Doesn't seem like much but 3 vs. 2 really makes a difference in those black fades.
|
30th November 2006, 11:56 | #851 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Actually, I got the formula slightly wrong. Instead of:
(2*sdlim+1)*cycleR <= cycle it should have been (2*sdlim+1)*(cycleR-1) < cycle Allowing any larger sdlim size leaves open the possibility that tdecimate would not be able to mark a full cycleR worth of frames for decimation. That is worst case. Best case would be: (sdlim+1)*(cycleR-1) < cycle One possible option for allowing larger sdlim sizes would be to initially mark as many of the cycleR worth of frames as possible with the given sdlim value. If a point is reached such that there are still frames needing to be marked but it's not possible with the given sdlim value then decrease sdlim by 1 and try again to mark the remaining frames. Keep doing that until a full cycleR worth of frames are marked. Another variation would be to try with the given sdlim value and if tdecimate runs into the problem of not being able to mark enough frames then decrease sdlim by 1 and start completely over. Keep decreasing sdlim until it reaches a value where it is possible to mark a full cycleR worth of frames. When I say decrease sdlim I mean only for the current cycle being processed, not for the entire clip. I think the second option would probably be more stable than the first option. Last edited by tritical; 30th November 2006 at 12:02. |
30th November 2006, 21:29 | #852 | Link |
Registered User
Join Date: Sep 2005
Location: Vancouver
Posts: 600
|
What about doing the first run through with sdlim, and if there are still not enough frames marked, just disregard sdlim and place the extras at the lowest metric frames? That way the "properly" marked frames aren't disrupted, and if it's at a commercial edit point one of the black frames should be dropped. I think those should be the only places in my videos where sdlim would need to be lowered. If not, at least the extra necessary drop should be a fairly low metric. I dunno how that would work for other people's usage of sdlim though.
This reminds me of something I was thinking about before and I believe was brought up at some point (maybe on the Decomb board), a different decimation mode where preference is given to drop frames whose neighbours have higher metrics, since duplicates in low motion are much less visible than duplicates in high motion. Maybe use dupThresh to mark dups, then find the differences between each dup's metrics and those of its previous and next frames (and average them?), and drop according to the highest of those. What do you think? |
4th December 2006, 01:17 | #853 | Link | |
Registered User
Join Date: Feb 2005
Location: Calgary, Canada
Posts: 139
|
Quote:
I have a 1080i source that, with the RC6 release of TIVTC.dll works properly. However, when I use the latest RC9 release, it doesn't. for whatever reason, it's not being IVTC'd. I am using AutoMKV, so I am unsure his process, but you can see the discussion here: http://forum.doom9.org/showthread.ph...456#post909456 Is this a TIVTC.dll bug? Last edited by travisbell; 4th December 2006 at 01:27. |
|
4th December 2006, 19:06 | #854 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
@travisbell
Could you post the actual avs script that AutoMKV generates? If you make your own avs script with just: source() tfm() tdecimate() Does it work? Between RC6 and RC7 I changed/removed/added some of tfm's parameters. That might be causing the problem. I'll try to look into later tonight. @ChiDragon Both ideas are possible. I am still not sure which method for the sdlim problem would be the best. I'm leaning towards the second suggestion I mentioned before, just because it would do the best job at evenly spreading the duplicate removal throughout the cycle. However, your suggestion would be better at handling uneven duplicate distribution. Your other suggestion could definitely be useful. Actually, mode 2 already does something similar to what you described, but it uses the minimum of the current/prev and current/next metric differences, as well as some absolute and relative thresholds. However, there are some problems with it. |
4th December 2006, 19:29 | #856 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
@tritical
this is the script used http://forum.doom9.org/showthread.ph...705#post902705 bautodeint analyzing this log will decide to telecide or not... maybe the log produced is different from rc6 to rc7 ? BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
4th December 2006, 20:26 | #857 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
@buzzqw
Hm, the log produced by RC7+ should be the same as RC6 unless I managed to break IsCombedTIVTC... probably the most likely cause. I'm not at a computer I can test on atm though. @canuckerfan It is in various forms. I've worked on a new motion detection routine, heirarchical, overlapping, block based phase correlation motion estimation (all that I could figure out from a week of digging through all the bbc/wilcox/teranex patents I could find online), and edge directed interpolation using neural networks. The problem is that most of those pieces are only 50-75% complete. In the short term, I almost have the next update for TDeint done. Besides the things I've mentioned before, I also added a 6 field motion check and the ability to run the motion detection on a clip other than the input clip. Last edited by tritical; 4th December 2006 at 20:35. |
4th December 2006, 20:54 | #858 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
|
|
5th December 2006, 02:28 | #859 | Link |
Registered User
Join Date: Sep 2005
Location: Vancouver
Posts: 600
|
Terranigma, you can see whether a frame is being deinterlaced or not using the map parameter (any frame that doesn't have a map overlayed isn't deinterlaced, and vice versa). I agree that a real "display" parameter that would show the calculated MIC, the use of hints, etc. like the debug output would be nice though, eh tritical?
|
Tags |
tdeint, tivtc |
|
|