my daughter likes to listen to audiobooks; some of them come from youtube, some are multi-hour long. it’s easier to listen, re-listen if book is chopped into shorter chapter-alike files. how do i do it?
yt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=M0Xh_DBvBAM"
mp3splt -p min=3 -o "output file name %n.mp3" -s input.mp3
yt-dlp is a swiss army knife for downloading audio/video from multiple hosting services
mp3splt allows to split mp3 files in a lossless fashion – without decoding + re-encoding them. syntax above cuts them on every 3s of silence.