Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
377 followers · 15894 posts · Server mastodon.xyz

Meanwhile, written a first pass script that can do the split thing. It currently splits to into a hardcoded directory. I'll make it a little more configurable tomorrow. Uses to get the chapter info, and then to do the actual split/transcode. Oh and I went with -ss & -to rather than -ss and -t

#python #m4b #audiobook #mp3 #ffprobe #ffmpeg

Last updated 6 years ago

Qyv (;* Mr. Squelch *;) 🍍 · @PhotonQyv
377 followers · 15894 posts · Server mastodon.xyz

So I've been messing about with audio books, found a script that I finally got working that can split an file into separate chapters. But it has a slight flaw in that if you want to create individual mp3 files for each chapter the script insists on transcoding the whole file to mp3 before it splits it.

If you skip that step with a command-line switch, then the files get written to the root directory of where the script is.

Think I'll end up writing my own simpler script!

#m4b #python

Last updated 6 years ago