broken videoredo output

Where all the bugs are reported and discussed
Post Reply
jobrien2001
Posts: 7
Joined: Wed Jun 28, 2017 3:13 pm

broken videoredo output

Post by jobrien2001 » Sat Aug 26, 2017 8:27 am

Comskip output for video redo is missing ending tags and seems to be an older version .vprj format.

I am including what comskip outputs and then some random cuts i made with videoredo and saved to .vprj for comparison.

Output by comskip:

Code: Select all

<Version>2
<Filename>O:\DVR.back\test.ts
<MPEG Stream Type>4
<VideoStreamPID>256
<AudioStreamPID>257
<SubtitlePID1>0
<Cut>0:895591165
<Cut>6069134389:9078346696
<Cut>12776141518:15193186212
<Cut>21593600644:24301057691
<Cut>28601362199:31709491526
<Cut>36275687637:36592455632
<SceneMarker 0>40534491
<SceneMarker 1>289244885
<SceneMarker 2>463559015
<SceneMarker 3>513601348
<SceneMarker 4>598673310
<SceneMarker 5>640375256
<SceneMarker 6>657389646
<SceneMarker 7>895591165
<SceneMarker 8>6068967580
<SceneMarker 9>6199411266
<SceneMarker 10>6210920996
<SceneMarker 11>6223097965
<SceneMarker 12>6523685580
<SceneMarker 13>6673478965
<SceneMarker 14>6785573793
<SceneMarker 15>6836283358
<SceneMarker 16>6896500964
<SceneMarker 17>6928861667
<SceneMarker 18>6946710101
<SceneMarker 19>6973732965
<SceneMarker 20>7124360389
<SceneMarker 21>7274153768
<SceneMarker 22>7424113965
<SceneMarker 23>7574407768
<SceneMarker 24>7724367965
<SceneMarker 25>7874494965
<SceneMarker 26>8005439074
<SceneMarker 27>8036465313
<SceneMarker 28>8072662610
<SceneMarker 29>8097016535
<SceneMarker 30>8117033474
<SceneMarker 31>8177084276
<SceneMarker 32>8324542349
<SceneMarker 33>8342724394
<SceneMarker 34>8363742175
<SceneMarker 35>8389764193
<SceneMarker 36>8401273933
<SceneMarker 37>8475503389
<SceneMarker 38>8775423768
<SceneMarker 39>9078346696
<SceneMarker 40>12775974711
<SceneMarker 41>13080232088
<SceneMarker 42>13346624108
<SceneMarker 43>13381153322
<SceneMarker 44>13530613088
<SceneMarker 45>13657720619
<SceneMarker 46>13680740088
<SceneMarker 47>13981327711
<SceneMarker 48>14002512298
<SceneMarker 49>14113105853
<SceneMarker 50>14188836585
<SceneMarker 51>14281248088
<SceneMarker 52>14540300578
<SceneMarker 53>14581502088
<SceneMarker 54>14732129518
<SceneMarker 55>14757651107
<SceneMarker 56>15034718831
<SceneMarker 57>15193186212
<SceneMarker 58>21593433839
<SceneMarker 59>21747564223
<SceneMarker 60>21763744585
<SceneMarker 61>21824629420
<SceneMarker 62>21841143393
<SceneMarker 63>22047818223
<SceneMarker 64>22197945223
<SceneMarker 65>22498199223
<SceneMarker 66>22648326223
<SceneMarker 67>22948580223
<SceneMarker 68>23248834223
<SceneMarker 69>23341078933
<SceneMarker 70>23398460807
<SceneMarker 71>23698547996
<SceneMarker 72>23999469223
<SceneMarker 73>24301057691
<SceneMarker 74>28601195393
<SceneMarker 75>28755492586
<SceneMarker 76>28881932879
<SceneMarker 77>28893442617
<SceneMarker 78>28905619586
<SceneMarker 79>29055746586
<SceneMarker 80>29205873586
<SceneMarker 81>29356000586
<SceneMarker 82>29506127586
<SceneMarker 83>29656254586
<SceneMarker 84>29806715199
<SceneMarker 85>29956508586
<SceneMarker 86>30106635586
<SceneMarker 87>30256762586
<SceneMarker 88>30406889586
<SceneMarker 89>30557016586
<SceneMarker 90>30707143586
<SceneMarker 91>30806727833
<SceneMarker 92>31114654988
<SceneMarker 93>31293306112
<SceneMarker 94>31317660055
<SceneMarker 95>31332672754
<SceneMarker 96>31361363691
<SceneMarker 97>31406068175
<SceneMarker 98>31435593156
<SceneMarker 99>31479463600
<SceneMarker 100>31497312030
<SceneMarker 101>31600065619
<SceneMarker 102>31617413631
<SceneMarker 103>31709491526
<SceneMarker 104>36275520831
<SceneMarker 105>36592455632
Sample created with videoredo:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VideoReDoProject Version="5"><VideoReDoVersion BuildNumber="719">5.1.1.719 - Dec 17 2014</VideoReDoVersion>
<Filename>O:\DVR.back\test.ts</Filename>
<Description></Description>
<StreamType>4</StreamType>
<Duration>36594790778</Duration>
<SyncAdjustment>0</SyncAdjustment>
<AudioVolumeAdjust>1.000000</AudioVolumeAdjust>
<TitleScreen></TitleScreen>
<CutMode>1</CutMode>
<VideoStreamPID>256</VideoStreamPID>
<AudioStreamPID>257</AudioStreamPID>
<ProjectTime>19880844672</ProjectTime>
<CutList><cut Sequence="1" CutStart="00:00:00;00" CutEnd="00:08:44;25" Elapsed="00:00:00;00"><CutTimeStart>0</CutTimeStart>
<CutTimeEnd>5244436556</CutTimeEnd>
<CutByteStart>0</CutByteStart>
<CutByteEnd>217647785</CutByteEnd>
</cut><cut Sequence="2" CutStart="00:16:14;48" CutEnd="00:26:09;18" Elapsed="00:07:30;21"><CutTimeStart>9748246556</CutTimeStart>
<CutTimeEnd>15693275778</CutTimeEnd>
<CutByteStart>401653913</CutByteStart>
<CutByteEnd>644712909</CutByteEnd>
</cut><cut Sequence="3" CutStart="00:39:27;59" CutEnd="00:48:40;27" Elapsed="00:20:49;02"><CutTimeStart>23680032223</CutTimeStart>
<CutTimeEnd>29204705778</CutTimeEnd>
<CutByteStart>952160777</CutByteStart>
<CutByteEnd>1198392273</CutByteEnd>
</cut></CutList><SceneList/><ChapterList/></VideoReDoProject>
Last edited by jobrien2001 on Sat Aug 26, 2017 8:58 am, edited 1 time in total.

jobrien2001
Posts: 7
Joined: Wed Jun 28, 2017 3:13 pm

Re: Unusable videoredo output

Post by jobrien2001 » Sat Aug 26, 2017 8:36 am

I have manually added ending tags to the output file and still does not work, so adding ending tags will not solve the problem.

I guess its not backwards compatible.

erik
Site Admin
Posts: 3310
Joined: Sun Aug 21, 2005 3:49 pm

Re: broken videoredo output

Post by erik » Sat Aug 26, 2017 1:33 pm

Can you test if removing the cutbytestart and cutbytend information still works?
I may be able to change to the new format but only without the byte information

Also check what other information (like PID) can be remove while still keeping the required functionality

jobrien2001
Posts: 7
Joined: Wed Jun 28, 2017 3:13 pm

Re: broken videoredo output

Post by jobrien2001 » Sat Aug 26, 2017 3:33 pm

erik wrote:Can you test if removing the cutbytestart and cutbytend information still works?
I may be able to change to the new format but only without the byte information

Also check what other information (like PID) can be remove while still keeping the required functionality
Removing those cut tags like so will still make it work and removing the (PID) still works. You do have a matching PID on comskip's current output.

Here is the modified working code

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VideoReDoProject Version="5"><VideoReDoVersion BuildNumber="719">5.1.1.719 - Dec 17 2014</VideoReDoVersion>
<Filename>O:\DVR.back\test.ts</Filename>
<Description></Description>
<StreamType>4</StreamType>
<Duration>36594790778</Duration>
<SyncAdjustment>0</SyncAdjustment>
<AudioVolumeAdjust>1.000000</AudioVolumeAdjust>
<TitleScreen></TitleScreen>
<CutMode>1</CutMode>
<ProjectTime>19880844672</ProjectTime>
<CutList><cut Sequence="1" CutStart="00:00:00;00" CutEnd="00:08:44;25" Elapsed="00:00:00;00"><CutTimeStart>0</CutTimeStart>
<CutTimeEnd>5244436556</CutTimeEnd>
</cut><cut Sequence="2" CutStart="00:16:14;48" CutEnd="00:26:09;18" Elapsed="00:07:30;21"><CutTimeStart>9748246556</CutTimeStart>
<CutTimeEnd>15693275778</CutTimeEnd>
</cut><cut Sequence="3" CutStart="00:39:27;59" CutEnd="00:48:40;27" Elapsed="00:20:49;02"><CutTimeStart>23680032223</CutTimeStart>
<CutTimeEnd>29204705778</CutTimeEnd>
</cut></CutList><SceneList/><ChapterList/></VideoReDoProject>

jobrien2001
Posts: 7
Joined: Wed Jun 28, 2017 3:13 pm

Re: broken videoredo output

Post by jobrien2001 » Sat Aug 26, 2017 4:22 pm

Further removal of tags and time in cut sequence and duration still yields a working sample:

I guess those are the frame numbers left?

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VideoReDoProject Version="5">
<Filename>O:\DVR.back\test.ts</Filename>
<StreamType>4</StreamType>
<SyncAdjustment>0</SyncAdjustment>
<CutMode>1</CutMode>
<CutList><cut Sequence="1"><CutTimeStart>0</CutTimeStart>
<CutTimeEnd>5244436556</CutTimeEnd>
</cut><cut Sequence="2"><CutTimeStart>9748246556</CutTimeStart>
<CutTimeEnd>15693275778</CutTimeEnd>
</cut><cut Sequence="3"><CutTimeStart>23680032223</CutTimeStart>
<CutTimeEnd>29204705778</CutTimeEnd>
</cut></CutList>
<SceneList>
<SceneMarker Sequence="1" Timecode="00:00:07;10">71902580</SceneMarker>
<SceneMarker Sequence="2" Timecode="00:00:31;47">317977770</SceneMarker>
<SceneMarker Sequence="3" Timecode="00:00:51;31">515338800</SceneMarker>
<SceneMarker Sequence="4" Timecode="00:00:54;06">541197600</SceneMarker>
<SceneMarker Sequence="5" Timecode="00:00:56;13">562385140</SceneMarker>
<SceneMarker Sequence="6" Timecode="00:00:58;15">582737900</SceneMarker>
<SceneMarker Sequence="7" Timecode="00:01:00;54">609264410</SceneMarker>
<SceneMarker Sequence="8" Timecode="00:01:05;14">652473780</SceneMarker>
<SceneMarker Sequence="9" Timecode="00:01:20;38">806458720</SceneMarker>
<SceneMarker Sequence="10" Timecode="00:10:46;04">6460687770</SceneMarker>
<SceneMarker Sequence="11" Timecode="00:10:51;28">6514907790</SceneMarker>
<SceneMarker Sequence="12" Timecode="00:10:56;47">6568127370</SceneMarker>
<SceneMarker Sequence="13" Timecode="00:11:21;34">6815870510</SceneMarker>
<SceneMarker Sequence="14" Timecode="00:11:23;39">6836558050</SceneMarker>
<SceneMarker Sequence="15" Timecode="00:11:51;36">7116166610</SceneMarker>
<SceneMarker Sequence="16" Timecode="00:12:21;34">7415960540</SceneMarker>
<SceneMarker Sequence="17" Timecode="00:13:21;41">8017051850</SceneMarker>
<SceneMarker Sequence="18" Timecode="00:13:51;44">8317348410</SceneMarker>
<SceneMarker Sequence="19" Timecode="00:13:54;30">8345207790</SceneMarker>
<SceneMarker Sequence="20" Timecode="00:13:57;12">8372235140</SceneMarker>
<SceneMarker Sequence="21" Timecode="00:13:58;56">8389585240</SceneMarker>
<SceneMarker Sequence="22" Timecode="00:14:12;46">8527887770</SceneMarker>
<SceneMarker Sequence="23" Timecode="00:14:21;45">8617643110</SceneMarker>
<SceneMarker Sequence="24" Timecode="00:14:51;56">8919607360</SceneMarker>
<SceneMarker Sequence="25" Timecode="00:21:57;09">13171622580</SceneMarker>
<SceneMarker Sequence="26" Timecode="00:22:03;32">13235518720</SceneMarker>
<SceneMarker Sequence="27" Timecode="00:22:09;41">13296912580</SceneMarker>
<SceneMarker Sequence="28" Timecode="00:22:12;42">13327108800</SceneMarker>
<SceneMarker Sequence="29" Timecode="00:22:15;21">13353635140</SceneMarker>
<SceneMarker Sequence="30" Timecode="00:22:17;08">13371486050</SceneMarker>
<SceneMarker Sequence="31" Timecode="00:22:30;57">13509787900</SceneMarker>
<SceneMarker Sequence="32" Timecode="00:22:39;56">13599543540</SceneMarker>
<SceneMarker Sequence="33" Timecode="00:22:53;11">13732007360</SceneMarker>
<SceneMarker Sequence="34" Timecode="00:23:00;47">13807915140</SceneMarker>
<SceneMarker Sequence="35" Timecode="00:23:09;58">13899838800</SceneMarker>
<SceneMarker Sequence="36" Timecode="00:23:40;00">14200134040</SceneMarker>
<SceneMarker Sequence="37" Timecode="00:23:45;04">14250850700</SceneMarker>
<SceneMarker Sequence="38" Timecode="00:23:51;14">14312410740</SceneMarker>
<SceneMarker Sequence="39" Timecode="00:24:10;04">14500930250</SceneMarker>
<SceneMarker Sequence="40" Timecode="00:24:12;23">14523953060</SceneMarker>
<SceneMarker Sequence="41" Timecode="00:24:13;44">14537466590</SceneMarker>
<SceneMarker Sequence="42" Timecode="00:24:30;49">14708300540</SceneMarker>
<SceneMarker Sequence="43" Timecode="00:24:40;03">14800725140</SceneMarker>
<SceneMarker Sequence="44" Timecode="00:24:45;18">14853277070</SceneMarker>
<SceneMarker Sequence="45" Timecode="00:25:10;23">15104023460</SceneMarker>
<SceneMarker Sequence="46" Timecode="00:33:47;26">20274441760</SceneMarker>
<SceneMarker Sequence="47" Timecode="00:33:52;34">20325826050</SceneMarker>
<SceneMarker Sequence="48" Timecode="00:33:58;44">20387553110</SceneMarker>
<SceneMarker Sequence="49" Timecode="00:34:17;38">20576572510</SceneMarker>
<SceneMarker Sequence="50" Timecode="00:34:47;54">20879203710</SceneMarker>
<SceneMarker Sequence="51" Timecode="00:34:50;45">20907730720</SceneMarker>
<SceneMarker Sequence="52" Timecode="00:34:53;49">20938427790</SceneMarker>
<SceneMarker Sequence="53" Timecode="00:35:14;40">21146799890</SceneMarker>
<SceneMarker Sequence="54" Timecode="00:35:17;41">21176996590</SceneMarker>
<SceneMarker Sequence="55" Timecode="00:35:32;35">21326143100</SceneMarker>
<SceneMarker Sequence="56" Timecode="00:35:47;51">21478626590</SceneMarker>
<SceneMarker Sequence="57" Timecode="00:36:17;43">21777419930</SceneMarker>
<SceneMarker Sequence="58" Timecode="00:36:32;45">21927734030</SceneMarker>
<SceneMarker Sequence="59" Timecode="00:36:34;34">21945919390</SceneMarker>
<SceneMarker Sequence="60" Timecode="00:36:37;50">21978450710</SceneMarker>
<SceneMarker Sequence="61" Timecode="00:37:08;18">22283250520</SceneMarker>
<SceneMarker Sequence="62" Timecode="00:37:17;34">22375841760</SceneMarker>
<SceneMarker Sequence="63" Timecode="00:37:32;35">22525990200</SceneMarker>
<SceneMarker Sequence="64" Timecode="00:38:02;43">22827286050</SceneMarker>
<SceneMarker Sequence="65" Timecode="00:38:32;38">23126580250</SceneMarker>
<SceneMarker Sequence="66" Timecode="00:38:35;25">23154440510</SceneMarker>
<SceneMarker Sequence="67" Timecode="00:38:38;07">23181467390</SceneMarker>
<SceneMarker Sequence="68" Timecode="00:38:39;52">23198817620</SceneMarker>
<SceneMarker Sequence="69" Timecode="00:38:53;42">23337120290</SceneMarker>
<SceneMarker Sequence="70" Timecode="00:39:02;56">23429544120</SceneMarker>
<SceneMarker Sequence="71" Timecode="00:46:28;18">27883259400</SceneMarker>
<SceneMarker Sequence="72" Timecode="00:46:31;18">27913120850</SceneMarker>
<SceneMarker Sequence="73" Timecode="00:46:35;35">27955997390</SceneMarker>
<SceneMarker Sequence="74" Timecode="00:46:49;34">28095800720</SceneMarker>
<SceneMarker Sequence="75" Timecode="00:46:58;33">28185557030</SceneMarker>
<SceneMarker Sequence="76" Timecode="00:47:28;34">28485851810</SceneMarker>
<SceneMarker Sequence="77" Timecode="00:47:48;57">28689719450</SceneMarker>
<SceneMarker Sequence="78" Timecode="00:47:58;36">28786147390</SceneMarker>
<SceneMarker Sequence="79" Timecode="00:48:11;09">28911603780</SceneMarker>
<SceneMarker Sequence="80" Timecode="00:48:20;03">29000690890</SceneMarker>
<SceneMarker Sequence="81" Timecode="00:48:22;02">29020377620</SceneMarker>
<SceneMarker Sequence="82" Timecode="00:48:33;45">29137827070</SceneMarker>
<SceneMarker Sequence="83" Timecode="00:48:46;34">29265953060</SceneMarker>
<SceneMarker Sequence="84" Timecode="00:48:51;39">29316669450</SceneMarker>
<SceneMarker Sequence="85" Timecode="00:48:53;56">29339525310</SceneMarker>
<SceneMarker Sequence="86" Timecode="00:48:58;39">29386737900</SceneMarker>
<SceneMarker Sequence="87" Timecode="00:49:01;20">29413430810</SceneMarker>
<SceneMarker Sequence="88" Timecode="00:49:28;41">29687033940</SceneMarker>
<SceneMarker Sequence="89" Timecode="00:49:31;12">29712226280</SceneMarker>
<SceneMarker Sequence="90" Timecode="00:49:41;55">29819330510</SceneMarker>
<SceneMarker Sequence="91" Timecode="00:49:49;35">29895906590</SceneMarker>
<SceneMarker Sequence="92" Timecode="00:49:58;43">29987329450</SceneMarker>
<SceneMarker Sequence="93" Timecode="00:50:13;44">30137477360</SceneMarker>
<SceneMarker Sequence="94" Timecode="00:50:18;59">30190028720</SceneMarker>
<SceneMarker Sequence="95" Timecode="00:50:43;47">30437939450</SceneMarker>
<SceneMarker Sequence="96" Timecode="00:51:14;08">30741570850</SceneMarker>
<SceneMarker Sequence="97" Timecode="00:51:17;00">30770099930</SceneMarker>
<SceneMarker Sequence="98" Timecode="00:51:19;32">30795457830</SceneMarker>
<SceneMarker Sequence="99" Timecode="00:51:40;54">31009167840</SceneMarker>
<SceneMarker Sequence="100" Timecode="00:51:44;10">31041867390</SceneMarker>
<SceneMarker Sequence="101" Timecode="01:00:35;45">36357599880</SceneMarker>
<SceneMarker Sequence="102" Timecode="01:00:59;32">36595500250</SceneMarker>
</SceneList><ChapterList/></VideoReDoProject>

jobrien2001
Posts: 7
Joined: Wed Jun 28, 2017 3:13 pm

Re: broken videoredo output

Post by jobrien2001 » Sun Aug 27, 2017 12:44 am

i added the scene markers

McGuyver
Posts: 10
Joined: Fri Oct 25, 2013 6:39 am

Re: broken videoredo output

Post by McGuyver » Sun Aug 27, 2017 5:21 pm

This is what I have in my comskip.ini file and I don't have problem with vprj files.

Code: Select all

output_videoredo=0 ; The old videoredo format
output_videoredo3=1 ; The new videoredo v3 format.

Post Reply