TheBashar
4th September 2005, 10:59
Hi all,
I've been working with VFR MKVs lately and I've needed to Trim() the avisynth stream after the vfr timecode file was generated. This meant the encoded video
no longer matched up with the timecode file.
I've made a small python utility to cut the timecode file into pieces to match what I did with Trim(). This way I can mux the timecode pieces with the video pieces and all is well in the world again.
I thought I'd share the utility here with you guys in case there are other people playing in similar areas. I don't have anyplace to host this stuff long term, so get it while it's hot.
There are two versions:
cuttmc-py 0.3.0 (http://nerdswap.com/files/6221cb2e6d629c64b2c0e7c0ac000166cuttmc-py.7z) : This is a 10kB archive of just the python utility - (alt download (http://www.savefile.com/files3.php?fid=3148420))
cuttmc 0.3.0 (http://nerdswap.com/files/201d3932545ba2f78912067737b094b8cuttmc0.3.0.7z) : This is an 876kB archive of an executable version and the source - (alt download (http://www.savefile.com/files3.php?fid=8987063))
Changelog:
0.3.0 - Time mode inputs now correctly seconds, not ms. Verbose mode provides audio cut timings
0.2.0 - Added ability to specify cut points in seconds instead of frames
0.1.1 - Initial release
Enjoy!
I've been working with VFR MKVs lately and I've needed to Trim() the avisynth stream after the vfr timecode file was generated. This meant the encoded video
no longer matched up with the timecode file.
I've made a small python utility to cut the timecode file into pieces to match what I did with Trim(). This way I can mux the timecode pieces with the video pieces and all is well in the world again.
I thought I'd share the utility here with you guys in case there are other people playing in similar areas. I don't have anyplace to host this stuff long term, so get it while it's hot.
There are two versions:
cuttmc-py 0.3.0 (http://nerdswap.com/files/6221cb2e6d629c64b2c0e7c0ac000166cuttmc-py.7z) : This is a 10kB archive of just the python utility - (alt download (http://www.savefile.com/files3.php?fid=3148420))
cuttmc 0.3.0 (http://nerdswap.com/files/201d3932545ba2f78912067737b094b8cuttmc0.3.0.7z) : This is an 876kB archive of an executable version and the source - (alt download (http://www.savefile.com/files3.php?fid=8987063))
Changelog:
0.3.0 - Time mode inputs now correctly seconds, not ms. Verbose mode provides audio cut timings
0.2.0 - Added ability to specify cut points in seconds instead of frames
0.1.1 - Initial release
Enjoy!