m4b-mp3-chapters-from-cuesheets icon indicating copy to clipboard operation
m4b-mp3-chapters-from-cuesheets copied to clipboard

Chapter end time X before start Y

Open TheMetalCenter opened this issue 2 years ago • 3 comments

Occasionally this error is obtained when concating files:

[ffmetadata @ 000001c2fa0422c0] Chapter end time 99394000 before start 105338000 metadata.txt: Cannot allocate memory

This occurs when a chapter END time is less than the START time. So far it is always the last chapter, perhaps due to ffprobe getting the wrong total duration.

Quick solution is to edit the metadata.txt (close out of the cmd window so it isn't auto-deleted) and replace the end time with the start time so they match. Then run ext_mergemetadata.bat

Note, this will cause some media players to calculate the duration of the last chapter as 0 seconds, however it should still play fine.

TheMetalCenter avatar Sep 05 '21 16:09 TheMetalCenter