harryjackson / ffmpeg_split

Split an ffmpeg file by chapter
Apache License 2.0
55 stars 20 forks source link

Do not drop data between start and first chapter #11

Closed fenugrec closed 5 months ago

fenugrec commented 10 months ago

If the first defined Chapter doesn't start at 0.0, then some data may be lost. This inserts a chapter at the beginning (with a dummy '00') title if required.

A somewhat naive fix for #10 , #worksforme but comments welcome

harryjackson commented 5 months ago

I'm not comfortable adding something that doesn't exist. There are three chapters and it prints them out. If it's considered a bug, we should throw an error, but I don't think we should add anything that's not already there.