TehBamski@lemmy.world to Antique Memes Roadshow@lemmy.worldEnglish · 8 days agoInsanity Wolflemmy.worldimagemessage-square18linkfedilinkarrow-up1488arrow-down16
arrow-up1482arrow-down1imageInsanity Wolflemmy.worldTehBamski@lemmy.world to Antique Memes Roadshow@lemmy.worldEnglish · 8 days agomessage-square18linkfedilink
minus-squarebaltakatei@sopuli.xyzlinkfedilinkarrow-up25arrow-down1·8 days agoHere’s my Bash script for combining a directory of .mp3 files into a single .mkv container using ffmpeg. It also reëncodes the audio using the opus codec which can help smooth out weird encoding artifacts from sloppily created MP3 files. The script retains the original MP3 file partitions as seekable chapters named after the input file names. I find it useful for some audiobooks purchased from libro.fm which are only available in MP3 format.
minus-squareohulancutash@feddit.uklinkfedilinkEnglisharrow-up7·8 days agoThere’s already a container for audiobooks - m4b
minus-squarewatson@sopuli.xyzlinkfedilinkarrow-up5·8 days agoMka is excellent because you can add all the chapters and everything to the file and nothing needs to be re-encoded.
Here’s my Bash script for combining a directory of
.mp3
files into a single.mkv
container usingffmpeg
. It also reëncodes the audio using the opus codec which can help smooth out weird encoding artifacts from sloppily created MP3 files. The script retains the original MP3 file partitions as seekable chapters named after the input file names. I find it useful for some audiobooks purchased from libro.fm which are only available in MP3 format.There’s already a container for audiobooks - m4b
Mka is excellent because you can add all the chapters and everything to the file and nothing needs to be re-encoded.