petssetr.blogg.se

Aac audiobook creator mp3
Aac audiobook creator mp3







  1. #AAC AUDIOBOOK CREATOR MP3 INSTALL#
  2. #AAC AUDIOBOOK CREATOR MP3 UPGRADE#
  3. #AAC AUDIOBOOK CREATOR MP3 PLUS#

#AAC AUDIOBOOK CREATOR MP3 UPGRADE#

Then I wish I read the instructions better but after that's finished upgrade to the latest pre-release (Feb 9, 2021) or if a newer one comes out.

#AAC AUDIOBOOK CREATOR MP3 INSTALL#

  • You now have an m4b file (output.I spent many hours yesterday screwing around with m4b-tool (command line (win, linux, Mac - free wrapper for ffmpeg to create m4b audiobooks).įollowed the instructions to install on macOS Catalina with brew m4b-tool version 0.4.2 (from August 11, 2019).
  • If the file bloat is too much from afconvert, you can also move combined mp3 (output.mp3) into Music/iTunes and convert to aac from there (if so, don't need scripts 2 & 3 here), but its a lot slower and may not yield significant improvements. (5) clean up the files used and generated by this command (4) combine the m4a and FFMETADATAFILE into an m4b (2) convert the combined mp3 into an intermediate caff file (1) combine the mp3's into a single mp3 called "output.mp3" This is a joined command that will (you can split it up at the "&"s and run separately if you want): Rm output.mp3 output.m4a FFMETADATAFILE intermediate.caf *.mp3 do echo "file '$PWD/$f'" done) -c copy output.mp3 & \Īfconvert output.mp3 intermediate.caf -d 0 -f caff -soundcheck-generate -v & \Īfconvert intermediate.caf -d aac -f m4af -soundcheck-read -b 256000 -q 127 -s 2 output.m4a -v & \įfmpeg -i output.m4a -i FFMETADATAFILE -map_metadata 1 -codec copy output.m4b & \
  • Open Terminal to the directory of your mp3s and FFMETADATA file and execute the following command:įfmpeg -f concat -safe 0 -i <(for f in.
  • # import chapters and create ffmetadatafile Review to make sure it looks right\n (" "), then hit Enter to continue. Input('File created at "' + chapterFileName + '". With open(chapterFileName, "w") as chaptersFile: Title = numberSeparator.join(title.split(numberSeparator))ĬurrentTimestamp = int(currentTimestamp + audioLength) Title = os.path.splitext(file).split('/') Time = str(datetime.timedelta(seconds=currentTimestamp)) + '.000' Print(' using: "' + (numberSeparator or '(blank)') + '"')įor file in glob.glob(directory + '/*.' + fileType): NumberSeparator=input('Enumeration separator (symbol/phrase between enumeration and title): ') or '' Skip = input('Skip chapter.txt creation? (default n): ') or 'n'įileType=input('Input audio file type (default mp3): ') or 'mp3'

    aac audiobook creator mp3

    MetadataFileName = directory + "/FFMETADATAFILE" m4b file")ĭirectory=input('Directory (default pwd): ') or os.getcwd()ĬhapterFileName = directory + "/chapters.txt" Print("This script will help generate an FFMETADATA file to facilitate\nconverting an. If you followed the ordering example above, the "enumeration separator" would be " - " (enter into the command without quotes) Supply the audiobook directory that your mp3s are in.

  • Save the below python script to a file then execute it.
  • aac audiobook creator mp3 aac audiobook creator mp3

    FFMPEG ( brew install ffmpeg if you don't have it).Python3 ( brew install python if you dont have it).

    aac audiobook creator mp3

    Order your mp3 files in a directory for just that audiobook (ex.Combine the m4a and FFMETADATA file into an m4b.Generate an FFMETADATA file ( more info) using a python script ( inspired by this) to facilitate the conversion of an m4a to m4b and preserve chapters.Note that there is still some file size bloat because the command I used to turn the caf > m4a drops the -u pgcm 2 parameter because it resulted in errors ( Couldn't set audio converter property ('prop')).

    #AAC AUDIOBOOK CREATOR MP3 PLUS#

    Convert the combined mp3 into an m4a using afconvert (AFAIK mac-only) to reduce the amount of filesize increase from converting the mp3's to an m4a by utilizing the itunes plus commands ( stackexchange topic apple docs) (my attempts at using ffmpeg for this part resulted in huge file size bloat or long processing times).Combine the separate mp3s into a single mp3.I still use the python script to generate chapters.txt to be used with m4b-tool's merge script.Īfter a lot of research, I found a CLI solution and wanted to share my findings here (if you're looking for an app to handle this for you, I've had really good luck with Audiobook Binder, which can merge mp3s, m4as, and m4bs into a single m4b with very high efficiency). I'm going to be switching over to use their solution instead of my custom ffmpeg/afconvert. EDIT: Whelp, looks like m4b-tool is a great CLI tool for just this.









    Aac audiobook creator mp3