View Single Post
Old 19th December 2005, 06:41   #484  |  Link
tritical
Registered User
 
Join Date: Dec 2003
Location: MO, US
Posts: 999
Here is [See this post: http://forum.doom9.org/showthread.ph...253#post759253]. This is the full incarnation of aviparse.exe which I put up last week, a readme is included. The new syntax is:

tc2cfr out_fps input_avi_file timecode_file output_avi_file

out_fps specifies the framerate of the destination file, whose name/path are specified by the output_avi_file parameter. The timecode file can have any framerate corresponding to the following equation:

framerate = out_fps/n for n=1 to a large number step=1

The maximum value for n depends on what out_fps is, but for an out_fps of 119.880120 the max value for n is 340 at which point it can no longer adaquetly differentiate between fps values. The program will tell you what the maximum value is for the specified out_fps value when it starts. In the end I've made this about as general a tool as possible as it can handle just about any combination of framerates. It also allows one to go from a vfr mkv to a 120fps avi file simply by using haali's mkv2vfr tool (for v1 tc) or mkvextract (for v2 tc) to get an avi+tc file and the using those as input into tc2cfr. Or you can use tdecimate in a timecode file output mode and instead of going to mkv go to an avi file.

Last edited by tritical; 30th December 2005 at 06:21.
tritical is offline   Reply With Quote