Page 1 of 1

TIVTC dgi support?

Posted: Fri Oct 17, 2014 1:55 pm
by sparktank
So, lately I've been going through the TIVTC package and notice it supports d2v.
Which is nice to have that support feature, but it feels rather dated with all the DGdecNV updates in recent years.

I contacted tritical about updating the plugin and he has no plans currently to update TIVTC.

Any chance you might be able to look at the source code to TIVTC and see if there's a way to add support? :scratch:
He doesn't know much about the DGI structure so suggested I ask around the forums.

Re: TIVTC dgi support?

Posted: Fri Oct 17, 2014 3:32 pm
by admin
I'm not familiar with TIVTC. Can you please explain specifically how it uses the D2V file?

Re: TIVTC dgi support?

Posted: Fri Oct 17, 2014 6:04 pm
by sparktank
The filter (source included in download) can be found on tritical's site: http://bengal.missouri.edu/~kes25c
TIVTC: http://bengal.missouri.edu/~kes25c/TIVTCv105.zip
Doom9: http://forum.doom9.org/showthread.php?t=82264
Post where tritical first introduced d2v: http://forum.doom9.org/showthread.php?p ... post574636

TFM reads the indexed file to send hints to TDecimate to (more accurately) ivtc.

From the doc:
TIVTC is actually a combination of 7 different filters and 3 conditional functions. The seven filters included are TFM, TDecimate, MergeHints, FrameDiff, FieldDiff, ShowCombedTIVTC, and RequestLinear.

TFM is a field matching filter that will recreate the original progressive frames in a telecined source, and TDecimate is a decimation filter that removes duplicates.

These filters can be used together to achieve an ivtc or separately to accomplish other tasks.

TDecimate also provides special options for handling hybrid material which include vfr via matroska (using a timecodes file) and blend decimation/upconversion for cfr solutions.
Here's what the TFM doc has to say (there's a doc for each filter):
hint -

Enables writing hint information into the video frames for tdecimate or tdeint to read.
Information includes match used, combed vs. progressive, and d2v rff info. true enables
writing, false disables.

Default: true (bool)
D.) FILE INPUT/OUTPUT PARAMETERS:
These settings deal with overrides file usage and output/input file options.

d2v -

This option is intended to be used if you are using an mpeg2source() with a d2v file.
It sets the name and path to a d2v file, which TFM will analyze to see if there are any
illegal field order changes and optionally set the order parameter using the field
order of the d2v file. If the d2v file is found to have illegal field order transitions,
TFM will create a fixed d2v file with the string "-FIXED" attached to the end of the file
name. The new file will be located in the same directory as the original. You can then
use this fixed d2v file for processing. If the order parameter is set to "-1" then TFM
will detect the field order from the d2v file and set the order parameter to match. Depending
on the value of the "flags" parameter, TFM will also use the d2v info for field matching
and will pass info from the d2v on to tdecimate to help aid duplicate detection and hybrid
detection.

*NOTE: This option currently supports all d2v formats that I am aware of... which
include: dvd2avi 1.76, 1.77.3 and its variants, all dvd2avidg versions, and
all dgindex versions.

example => TFM(d2v="myd2v.d2v")

Default: "" (String)

Re: TIVTC dgi support?

Posted: Tue Oct 28, 2014 12:02 pm
by admin
Sorry for the delay in responding. Honestly, I'm not going to be able to find time to work on this any time soon. A better approach anyway might be to code a simple converter to convert DGI files to D2V files.

Re: TIVTC dgi support?

Posted: Tue Oct 28, 2014 12:19 pm
by sparktank
That was the same thing tritical said about the conversion from dgi to d2v.

I'll ask on the doom9 forum, maybe StainlesS will be able to come up with something.

Thanks for the feedback :)