Closed fenugrec closed 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.
There are three chapters and it prints them out
Well, in .wav files, these markers are actually cue points and not chapters :
The
cue-points chunk identifies a series of positions in the waveform data stream. ( Multimedia Programming Interface and Data Specifications 1.0 )
So it wouldn't necessarily make sense to have a cue point defined at 0.0 ; in any case Zoom decided not to generate one and unfortunately I cannot change that. I wonder if other audio recorders also behave this way. ffmpeg calls them chapters probably just stay consistent accross codecs and containers.
If it's considered a bug, we should throw an error
Well I wouldn't say a bug, at least not in all cases, but I think a warning would be nice. I was batch processing files and it actually took me a bit of time to realize I was losing important parts.
If the first defined Chapter doesn't start at 0, some data gets dropped . Example :
In that example, the script creates 3 files, and the recording between 0 and 0.617 is dropped.
Tested with this file, a 5-second recording with 3 split points : STE-000.wav.zip