Package Details: m4b-tool-bin 0.4.2~20210603-1

Git Clone URL: (read-only, click to copy)
Package Base: m4b-tool-bin
Description: A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
Upstream URL:
Keywords: audiobook ffmpeg m4b mp4
Licenses: MIT
Submitter: spiritomb
Maintainer: spiritomb
Last Packager: spiritomb
Votes: 2
Popularity: 0.000002
First Submitted: 2019-10-20 00:39 (UTC)
Last Updated: 2022-04-15 23:31 (UTC)

Latest Comments

rafdre commented on 2022-04-29 18:44 (UTC) (edited on 2022-09-02 15:20 (UTC) by rafdre)

the latest version has issues which can be fixed if you download prerelease and replace file /usr/local/bin/m4b-tool with m4b-tool.phar downloaded from here: I downloaded version from 2022-08-06 and it works great. So far no issues. This can be workaround till we have next version on AUR.

spiritomb commented on 2022-04-17 22:53 (UTC)

@Starwalker Thanks, I corrected the checksum.

There is a tagged prerelease from 2022 but the developer cautions that a specific fork of lipmp4v2 that isn't on the AUR is a dependency, which means that I need to test whether it would work without the forked libmp4v2, and if not, decide whether make a separate PKGBUILD for libmp4v2-enzo and make it a dependency, or modify m4b-tool-bin's to include it.

Starwalker commented on 2022-04-15 19:25 (UTC)

[ivan@arch m4b-tool-bin]$ makepkg -si
==> Making package: m4b-tool-bin 0.4.2~20210603-1 (Fri 15 Apr 2022 22:23:20 EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading m4b-tool.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   614  100   614    0     0   4121      0 --:--:-- --:--:-- --:--:--  4148
100  512k  100  512k    0     0  1666k      0 --:--:-- --:--:-- --:--:-- 1666k
==> Validating source files with sha256sums...
    m4b-tool.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

[ivan@arch m4b-tool-bin]$ sha256sum m4b-tool.tar.gz 
ae3b350ddc4b3037205a8594cd9255c406130fe264cf965f40357927acbc9925  m4b-tool.tar.gz

[ivan@arch m4b-tool-bin]$ cat PKGBUILD | grep sha256

[ivan@arch m4b-tool-bin]$ cat .SRCINFO | grep sha256
    sha256sums = 0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7

rafdre commented on 2021-12-20 11:38 (UTC) (edited on 2021-12-20 21:27 (UTC) by rafdre)

After recent archlinux upgrade I got this error when I try to use m4b-tool:

Your ffmpeg version cannot produce top quality aac using encoder aac instead of libfdk_aac PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in phar:///usr/bin/m4b-tool/vendor/twig/twig/src/Node/Node.php on line 43 an error occured, that has not been caught: Array ( [type] => 64 [message] => Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) [file] => phar:///usr/bin/m4b-tool/vendor/twig/twig/src/Node/Node.php [line] => 43 )

PROBLEM with PHP is described here:

SOLUTION (workaround); manually download the latest release and follow the instructions:

archisman commented on 2021-05-31 09:38 (UTC)

I had to install fdkaac to use the tool. It should be added to dependencies.

Here is the error message

You need fdkaac to be installed for using audio profiles