Package Details: flac2all 5.5-2

Git Clone URL: (read-only, click to copy)
Package Base: flac2all
Description: Multi-threaded audio converter of FLAC to either Ogg Vorbis or MP3 retaining all tags and metadata.
Upstream URL:
Licenses: GPL2
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 37
Popularity: 0.136492
First Submitted: 2012-03-04 13:23 (UTC)
Last Updated: 2022-05-05 18:11 (UTC)

Latest Comments

Freso commented on 2021-06-17 15:21 (UTC) (edited on 2021-06-17 15:30 (UTC) by Freso)

Okay, yes, I guess that a commit hash is probably unique, but when browsing through my $SRCDEST the commit hash isn’t very informative in telling me what package the .tar.gz is from/for… $pkgname-$_commit.tar.gz would probably be better. :)

Freso commented on 2021-06-17 10:00 (UTC)

The .patch file should probably be named with the $pkgname too, to make sure it is unique in the $SRCDEST, as per :)

graysky commented on 2020-12-23 19:11 (UTC)

Try 5.5-1

rootpeer commented on 2020-12-22 23:22 (UTC)

Getting this error:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/flac2all_pkg/", line 42, in <module>
    from shell import shell
ModuleNotFoundError: No module named 'shell'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/flac2all", line 33, in <module>
    sys.exit(load_entry_point('flac2all==5.2', 'console_scripts', 'flac2all')())
  File "/usr/bin/flac2all", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/", line 77, in load
    module = import_module('module'))
  File "/usr/lib/python3.9/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/flac2all_pkg/", line 50, in <module>
    from .core import modetable, generate_summary, write_logfile
  File "/usr/lib/python3.9/site-packages/flac2all_pkg/", line 69, in <module>
    modetable.extend([["f:" + x[0], x[1]] for x in ffmpeg(None, None).codeclist()])
  File "/usr/lib/python3.9/site-packages/flac2all_pkg/", line 27, in codeclist
    flist = sp.check_output([
  File "/usr/lib/python3.9/", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-encoders']' returned non-zero exit status 127.

python 3.9.1, Arch 5.4.82-1-lts. Any ideas?

graysky commented on 2020-01-19 14:00 (UTC)

graysky commented on 2020-01-08 13:54 (UTC)

@jlangeveld or anyone - I do not have time to test 5.0-1 so please try it and report back.

pigmonkey commented on 2018-12-04 00:25 (UTC)

pkgver should be 3.79, not 2.79.

graysky commented on 2018-11-12 10:50 (UTC)

Not my job. I don't have an Github Account and I don't want to have one. If a developer puts obstacles in my way to report bugs, I will not report it.

You are a user of free and open-source software. Who’s job do you think it is to report a bug affecting you that you found? How is github an obstacle? Your attitude is baffling to me.

indianahorst commented on 2018-11-12 00:58 (UTC)

Not my job. I don't have an Github Account and I don't want to have one. If a developer puts obstacles in my way to report bugs, I will not report it.

graysky commented on 2018-11-09 18:47 (UTC)

Recommend you post to upstream github.

indianahorst commented on 2018-11-09 00:30 (UTC)

flac2all vorbis input/ -v quality=7 -o output/

Flac2all python script, v3 . Copyright 2006-2015 Licensed under the GPLv3 . Project website:

opusenc is /usr/sbin/opusenc Traceback (most recent call last): File "/usr/sbin/flac2all", line 839, in <module> opusClass = opus() File "/usr/sbin/flac2all", line 110, in init data ="\d.\d.\d",data).group(0) AttributeError: 'NoneType' object has no attribute 'group'

neitsab commented on 2017-06-10 09:10 (UTC)

Hi Graysky, issue has been resolved and so opus-tools can be moved to optdepends again :) Thanks!

graysky commented on 2017-02-14 20:34 (UTC)

@vaporeon - this PKGBUILD pulls the tagged releases which I believe is stable. @NYG - If you found an error in the script please report upstream.

NYG140 commented on 2017-02-14 03:51 (UTC)

Passed the arguement as :resample' 44.1' and worked.

NYG140 commented on 2017-02-14 02:50 (UTC)

When passing options to LAME there I think there is a spacing error that doesn't let the user resample. The argument --lame-options=-samplerate44.1 outputs lame: unrecognized option --samplerate44.1 The arguement --lame-options=-samplerate 44.1 lame: unrecognized option --samplerate So it seems like it's feeding lame "samplerate44.1" and "samplerate " when what we actually want is "sameplerate 44.1".

Vaporeon commented on 2017-02-14 02:46 (UTC)

Hello. I wont flag this but I think the latest tagged release is not the latest stable release if I understand how that git repo is laid out correctly.

TrialnError commented on 2017-01-25 19:40 (UTC)

The downloaded package has the name v2.75.tar.gz. Glancing at the file doesn't say a thing about its content. Just it is something of version 2.75. And if using a common SRCDEST (like it can be specified in the makepkg.conf), this "naming" could clash with another PKGBUILD, that also aims to download a file with the same name (only containing a version number), but belonging to a completly different program/name. This kind of conflict was also fixed for the PKGBUILDs in the repos[0] ________ [0]

graysky commented on 2017-01-25 01:28 (UTC)

@Trail - Confused about your comment. It has a unique name as-is.

TrialnError commented on 2017-01-23 23:22 (UTC)

Could you please adjust the download source and give the downloaded package an unique name? This will help people which use SRCDEST This can be achived by adding ${pkgname}-${pkgver}.tar.gz:: in front of the download url. Thanks in advance

graysky commented on 2016-07-30 17:08 (UTC)

Sure, 2.75-2

NicoHood commented on 2016-07-30 16:48 (UTC) (edited on 2016-07-30 16:48 (UTC) by NicoHood)

If it conflicts with 'flac2all-svn' which is no longer available anyways, you could possible also add a replace 'flac2all-svn'?

graysky commented on 2016-02-09 09:42 (UTC)

I'll add it until this is fixed:

ABuffSeagull commented on 2016-02-09 06:11 (UTC)

When trying to convert flac to mp3, it kept crashing because I didn't have opus-tools. You might want to make it a required dependency.

graysky commented on 2015-10-04 09:30 (UTC)

Fixed in 3.71-5.

socke commented on 2015-10-04 00:24 (UTC)

Does not build. I always get: ERROR: Failure while downloading v3.71.tar.gz It looks like all the tags disappeared on github?

graysky commented on 2015-09-24 14:10 (UTC)

OK. Ziva is onboard with github.

graysky commented on 2015-09-23 07:21 (UTC) Will update the package once he tags the release.

graysky commented on 2015-08-29 17:19 (UTC)

Thanks, that is the same author or that person is masquerading using his first and last name :p I requested that he uses git tags[1] and will update this PKGBUILD when it happens. 1.

misc commented on 2015-08-29 15:42 (UTC)

There's now, no idea if it's from the original author tough.

graysky commented on 2015-04-25 08:49 (UTC)

I fixed up the PKGBUILD with opus-tools in the optdeps. Thanks.

dkaparis commented on 2015-04-25 07:32 (UTC)

I did have opus installed, but usr/bin/opusenc is contained in opus-tools.

graysky commented on 2015-04-23 22:12 (UTC)

Hmmm... do you haev [community]/opusenc installed?

dkaparis commented on 2015-04-23 09:05 (UTC)

On my system script exits with message sh: opusenc: command not found Installing opus-tools solves the problem. Perhaps add it to dependencies?

graysky commented on 2015-04-22 19:46 (UTC)

Sorry about that. Fixed in 3.71-2.

butler360 commented on 2015-04-21 23:36 (UTC)

I ended up having the env specified as python22 after installing this. Line one of the script: #!/usr/bin/env python22 Removing the second 2 fixes it, of course.

graysky commented on 2015-04-05 00:35 (UTC)

@Almin - Report the issue upstream.

Almin commented on 2015-04-04 19:27 (UTC)

Strangely flac2all didn't work nicely for me. Even by changing the lameopts and replacing the standard preset to insane or use -b 320 (--preset 320) for constant bit rate in the script, flac2all didn't convert using those options. It only and always converted to 128. Only needed it for mp3 and didn't try anything else.

graysky commented on 2014-08-06 22:21 (UTC)

@karol - Thanks for the heads up. Googlecode is lame. I emailed Ziva with a suggestion. Let's see if he switches hosts to github or the like. Otherwise I am open to hosting the code on repo-ck until he finds a more permanent solution.

karol_007 commented on 2014-08-06 20:33 (UTC) says "Just to let you all know, v3.48 is ready for release. Until I find a spot to host it, please check out revision 48 of the stable branch" Should I mark this package out of date or should we switch to flac2all-svn?

graysky commented on 2014-02-01 20:06 (UTC)

Bump to v3.38-1 Changelog: encompasses all the known bugs that have been resolved since v3.28.

whilealive commented on 2013-12-22 10:21 (UTC)

Ah, sorry. The request is opened.

graysky commented on 2013-12-20 11:35 (UTC)

I just package the script - open a request upstream.

whilealive commented on 2013-12-20 07:28 (UTC)

Great package, thanks! Solves a lot of problems for me. However, I would like to ask if it would be hard to also include the "compilation" tag for mp3s? It seems (at least in my case) as this one gets lost when converting flacs which are part of a compilation to mp3s.

graysky commented on 2012-11-26 21:19 (UTC)

@Thaodan - Still having problems? Builds fine for me.

Thaodan commented on 2012-11-21 02:21 (UTC)

"" id offline.

graysky commented on 2012-05-20 12:24 (UTC)

Bump to v1.2.19-2 Changelog: included a manpage and added a line in the PKGBUILD to detect how many threads to use based on the machine that builds the package PKG Commit:

graysky commented on 2012-05-20 11:38 (UTC)

Bump to v1.2.19-1 Changelog: Upstream updated code PKG Commit:

graysky commented on 2012-03-09 20:00 (UTC)

Bump to v1.2.6-3 Changelog: added conflicts array to keep this from conflicting with the flac2all-svn package PKG Commit:

graysky commented on 2012-03-04 14:27 (UTC)

Bump to v1.2.6-2 Commit:

maggie commented on 2012-03-04 13:38 (UTC)

Very nice script. Been looking for a multithreaded app for ages.