johnmeyer
11th March 2015, 03:24
I want to take a cut list from my NLE, and then feed it to tsmuxer so that it creates a series of video files which are cut according to the list.
I've searched multiple forums across the 'net, but haven't found any code already written. It's always easier if someone else has done at least part of the work.
Just to be clear on what I'm trying to do, I want to take a cut list like this:
Timecode In Timecode Out
00:00.0 01:17.8
03:26.7 06:22.3
08:28.0 10:01.3
10:01.3 12:29.7
create a series of meta files like this (this one is for the first cut in the above list):
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --cut-end=77761ms --vbv-len=500
V_MPEG4/ISO/AVC, "E:\Measure for Measure\00005.MTS", insertSEI, contSPS, track=4113
A_AC3, "E:\Measure for Measure\00005.MTS", timeshift=-756ms, track=4352
S_HDMV/PGS, "E:\Measure for Measure\00005.MTS", fps=29.97, track=4608
and then recursively run tsmuxer with each of these meta files.
I've searched multiple forums across the 'net, but haven't found any code already written. It's always easier if someone else has done at least part of the work.
Just to be clear on what I'm trying to do, I want to take a cut list like this:
Timecode In Timecode Out
00:00.0 01:17.8
03:26.7 06:22.3
08:28.0 10:01.3
10:01.3 12:29.7
create a series of meta files like this (this one is for the first cut in the above list):
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --cut-end=77761ms --vbv-len=500
V_MPEG4/ISO/AVC, "E:\Measure for Measure\00005.MTS", insertSEI, contSPS, track=4113
A_AC3, "E:\Measure for Measure\00005.MTS", timeshift=-756ms, track=4352
S_HDMV/PGS, "E:\Measure for Measure\00005.MTS", fps=29.97, track=4608
and then recursively run tsmuxer with each of these meta files.