BrettSheleski / comchap

Commercial detection script to add chapters into video file
MIT License
138 stars 26 forks source link

totalcutduration Incorrect if EDL Starts with 0.00 #33

Open arrmo opened 5 years ago

arrmo commented 5 years ago

Have been pulling my hair out a bit with this, but it turns out ... if the EDL starts with identically 0 (i.e. 0.00). then the first cut is missed when calculating totalcutduration => and the metafile (and video length that is set) is incorrect as a result.

If the first entry in the EDL starts with zero, the duration of this first cut needs to be added to totalcutduration.

Thanks!