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. |
![]() |
#21 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,761
|
Pity Katie is still too childish to read post #11 otherwise she wouldn't have needed to ask a question that'd already been answered.
Has anyone ever used "honour pulldown flags" for a 100% film source and then applied TIVTC only to find didn't do a perfect job? Surely that must be extremely rare. If fields are simply being duplicated on playback and IVTC can't easily reverse the process, something must be wrong. Same with decimation when there's a nice consistent pattern. I work with PAL a lot more than NTSC but I don't think I've ever seen field matching/decimation get it wrong when the pulldown is being applied by honouring pulldown flags. |
![]() |
![]() |
![]() |
#23 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,410
|
As you may or may not know (although you should), the TIVTC filter has the capability of treating soft telecine as if it was Forced Film and only IVTC the hard telecine. This greatly lessens the chances of the IVTC making wrong decisions. Although, as hello_hello mentioned in his previous post, it hardly ever makes mistakes anyway, when IVTCing soft telecine.
You just make the D2V using 'Honor Pulldown Flags' and set up the IVTC something like this: TFM(D2V="Movie.d2v") It's all explained in the doc. This removes almost all uncertainty when running one of those 99.50% Film D2Vs through an IVTC, And in cases when some frames just have to be post-processed (deinterlaced) when no matches can be found, you can have it use something other than its own TDeint, the much better QTGMC, for example. |
![]() |
![]() |
![]() |
#24 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,016
|
Yes, the d2v parameter is extremely useful for sorting out the 99.97% of the file that's soft-telecined. I'm curious as to whether it triggers off of "progressive" flags or the "0-1-2-3" pulldown flag pattern, seeing as how some DVD authors are incompetent and don't line the two up, and that could cause problems for the remaining 0.3%, but that's a totally different discussion.
Also, my preferred pp/Clip2 parameter is yadif, but there's already a thread about that. And TFM doesn't use Tdeint as its default post-processor. The default is motion-adaptive cubic, presumably with values of b=0 and c=1 because it leaves the original scanlines untouched (I checked).
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
![]() |
![]() |
![]() |
#25 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,761
|
Quote:
|
|
![]() |
![]() |
![]() |
#26 | Link | ||
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,410
|
Quote:
flags - Controls how much of the info from the d2v file is used when the "d2v" parameter is set. Possible options: 0 - Check the d2v file for illegal transitions and set the order parameter if it is not already manually set. Also, pass on rff flag duplicate info to tdecimate. 1 - Same as 0, plus use the trf flags for field matching in film sections (sections where the trf flags follow the 012301... pattern) 4 - Same as 1, but d2v matches are checked for being combed. If a d2v match is detected as combed then tfm uses its own matching routine for that frame. 4 is the default. So, even if there are interlaced frames when there shouldn't be, it'll still be IVTC'd. Quote:
|
||
![]() |
![]() |
![]() |
#27 | Link | |
Registered User
Join Date: May 2006
Posts: 3,969
|
Quote:
|
|
![]() |
![]() |
![]() |
#30 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,761
|
Only Katie could be ungrateful enough to tell people what they can post when replying to a question she asked or a topic she raised. Maybe it's an automatic defence mechanism because she was wrong about something again and would never acknowledge it.
|
![]() |
![]() |
![]() |
#31 | Link |
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,410
|
I'm quoting you in my post because she's blocked you, hasn't she? Yes, I was a little bit irritated at her post because I was directly replying to a question she asked. Nothing irrelevant. Maybe she didn't understand the reply and thought it off topic? Who knows?
|
![]() |
![]() |
![]() |
#32 | Link | ||||
Registered User
Join Date: Jan 2015
Posts: 1,016
|
Quote:
Quote:
Quote:
Quote:
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
||||
![]() |
![]() |
![]() |
#34 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,016
|
The original question remains: what are the algorithm details? Does DGIndex drop the 3rd field in a non-progressive frame and then every 5th field in a non-progressive frame afterward? Or what?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
![]() |
![]() |
![]() |
#35 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,811
|
I think that you already got the answer from VideoH, you want details,
"Read The Source".
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
#36 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
DGMPGDec (an evolution of jackei's original DVD2AVI) is written in functional style using C-language constructs. The required C can be learned very quickly. I taught myself C in 2 days using the first edition of the K&R book from zero knowledge of programming and computers; I was a philosopher at that time (later went on for an MSc). I venture to say many of the developers here have a similar history. So the OP should not feel intimidated by C code, and given the logical thinking and analytic mind she has already demonstrated she should be able to master C in hours. Perhaps then the OP would be empowered to contribute useful code to the community, to augment her penetrating questions.
The C Programming Language, 2nd Ed. Kernighan and Ritchie https://www.amazon.com/Programming-L.../dp/0131103628 Here is the second edition on-line. It is a true classic in computer science. http://net.pku.edu.cn/~course/cs101/...medium=twitter Last edited by videoh; 10th June 2017 at 15:22. |
![]() |
![]() |
![]() |
#37 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,761
|
Quote:
If alternate fields consist of odd and even scan lines, and if you removed every fifth field and replaced it with the following one... effectively: SeparateFields().SelectEvery(5,0,1,2,3).Weave() wouldn't fields end up on the wrong scan lines? A deinterlacer could probably still produce progressive frames if the section was interlaced and it could cope with the constant alternating between top field first and bottom field first, but "force film" is generally used under the assumption no deinterlacing is required. Maybe I'm looking at it the wrong way but I'm not sure dropping fields makes sense. Last edited by hello_hello; 11th June 2017 at 01:42. |
|
![]() |
![]() |
![]() |
#38 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
A field can be dropped by simply ignoring a repeat flag.
[Aa][Ab][Bc][Cd]... Drop a field: [Aa][Bb][Cc]... Fields remain in the proper places. If there are no repeats then frames can be dropped. The beauty of jackei's algorithm is that it brilliantly manages the complexity and thereby forces film rate output, regardless of the actual repeat flags present. The way I figured it out was to compare the input fields to the table created in mpeg2source(). As I mentioned earlier, the magic is in the table. Last edited by videoh; 11th June 2017 at 02:19. |
![]() |
![]() |
![]() |
#39 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,761
|
I see what you're saying.... if there's switching back and forth between soft pulldown and interlaced, it'd be handled in a clever enough way to ensure a constant 23.976fps, but I had assumed the question was more general in respect to how "video" would be decimated.... in isolation, so to speak.... which is why I tried applying force film to an interlaced source earlier in the thread, and from that perspective it'd be... repeat field flags are ignored for the film sections and any video sections are decimated by dropping frames.
Last edited by hello_hello; 11th June 2017 at 04:05. |
![]() |
![]() |
![]() |
#40 | Link | ||
Registered User
Join Date: Jan 2015
Posts: 1,016
|
Quote:
Quote:
Kind of, except that the field order is different. The stream above puts field b before field B; the bottom stream puts B before b. This obviously doesn't matter if B and b were, in fact, from the same original frame and the frames are being displayed progressively.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 12th June 2017 at 16:26. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|