Package Details: m4b-tool-bin 0.4.2~20230214-2

Git Clone URL: https://aur.archlinux.org/m4b-tool-bin.git (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: https://github.com/sandreas/m4b-tool
Keywords: audiobook ffmpeg m4b mp4
Licenses: custom:MIT
Provides: m4b-tool
Submitter: spiritomb
Maintainer: spiritomb
Last Packager: spiritomb
Votes: 2
Popularity: 0.000000
First Submitted: 2019-10-20 00:39 (UTC)
Last Updated: 2023-06-04 22:37 (UTC)

Latest Comments

spiritomb commented on 2023-06-04 21:27 (UTC)

@dreieck Done. Thank you for the good housekeeping suggestion!

dreieck commented on 2023-06-04 20:42 (UTC) (edited on 2023-06-04 20:44 (UTC) by dreieck)

Please change tone-bin optional dependency to tone.

tone-bin should provide tone (↗ issue reported).

So the user is free to decide which variant of tone to install (even if now only one might be available).

Regards!

spiritomb commented on 2023-06-04 20:14 (UTC)

I have updated the PKGBUILD. It is important to note that currently, the version of libmp4v2 in official stable Arch repo (in extras) is out of date and is flagged as such, so if problems arise I may consider maintaining an AUR package for the most up-to-date release of libmp4v2, but if m4b-tool works well enough with the official repo's libmp4v2, I'd rather not take on that responsibility. If I did that I'd want a co-maintainer because I don't have enough knowledge and free time for troubleshooting a libmp4v2 build.

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: https://github.com/sandreas/m4b-tool/releases/tag/latest 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
sha256sums=('0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7'

[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: https://github.com/sandreas/m4b-tool/issues/150

SOLUTION (workaround); manually download the latest release and follow the instructions: https://github.com/sandreas/m4b-tool/releases/tag/latest

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