TheMetalCenter / m4b-mp3-chapters-from-cuesheets

merge audiobooks or podcasts without re-encoding (remuxing only) to single m4b with quicktime/nero chapters or mp3 with id3v2 chapters using cuesheets; also allows for renaming/editing chapters
25 stars 0 forks source link

Converting ffmetadata to cuesheet #8

Closed TheMetalCenter closed 3 years ago

TheMetalCenter commented 3 years ago

I'd like a way to convert ffmetadata back to a cuesheet. I haven't seen an existing way to do this yet.

Ffmetadata is all that is needed for editing of embedded chapters, but some players may only use cuesheets, particularly for mp3 if id3v2 chapters aren't supported.

TheMetalCenter commented 3 years ago

Or alternatively a program that can save id3v2 chapters as a cuesheet

TheMetalCenter commented 3 years ago

Added in an auto backup of cuesheet during merging since this remains unresolved

TheMetalCenter commented 3 years ago

This was achieved using export-cue.py and export-cue.bat

ffprobe -print_format compact=print_section=0:nokey=1:escape=csv -show_chapters "export.m4b" > metadata_chapters.txt py export-cue.py metadata_chapters.txt --audio-file="export.m4b" --output-file="cuesheet.cue"