Package Details: flac2mp3-bash 1.0-4

Git Clone URL: https://aur.archlinux.org/flac2mp3-bash.git (read-only)
Package Base: flac2mp3-bash
Description: Bash script to convert FLAC files to MP3 format
Upstream URL: http://www.linuxtutorialblog.com
Licenses: GPL
Submitter: None
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 32
Popularity: 0.001496
First Submitted: 2010-01-07 20:44
Last Updated: 2015-06-08 12:40

Dependencies (2)

Required by (0)

Sources (1)

  • flac2mp3.sh

Latest Comments

FredBezies commented on 2013-08-24 12:12

Encoding problem, maybe ? Will try to work on it asap.

dimti commented on 2013-08-23 03:57

Script not working for me:

----
[dimti@prototype 2013 - Обман Зрения]$ flac2mp3 01.\ Увертюра.flac
Thanks for using flac2mp3 1.0! This script by Rechosen.
Двоичный файл (стандартный ввод) совпадает
: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

Converting Двоичный файл (стандартный ввод) совпадает
to Двоичный файл (стандартный ввод) совпадает
... 0% Time left: 00:00/usr/bin/flac2mp3: line 241: [: 0: ожидается использование унарного оператора
cat: Двоичный файл (стандартный ввод) совпадает
: Нет такого файла или каталога

-: ERROR while decoding metadata
state = FLAC__STREAM_DECODER_END_OF_STREAM
Warning: unsupported audio format
Done.
----

I need to work similary script that:
$flac2mp3
Its all (if Im in directory with flac files - then convert automatically, no need send to flac2mp3 input and output paths)


Its:
----
#!/bin/bash

for f in *.flac; do
ffmpeg -i "$f" -qscale:a 0 "${f[@]/%flac/mp3}"
done
----
Fancy working - converting all my flas files in selected directory to mp3 (without errors, without questions). Why your script not working that?

FredBezies commented on 2013-02-11 10:55

Indeed. Fixed :)

ybsar commented on 2013-02-10 21:01

For the same reason, you might want to set arch to 'any'.

FredBezies commented on 2013-02-04 20:15

PKGBUILD fixed.

FredBezies commented on 2013-02-02 20:12

Will change it asap, next mùonday. Thanks for the tip.

rscholer commented on 2013-02-02 16:49

You might want to change build() to package() since no building is done.
See: https://wiki.archlinux.org/index.php/Creating_Packages#The_package.28.29_function

graysky commented on 2010-11-10 23:20

nice script, thanks! You can make it really rockin' by multithreading it. Have a look at my wav2mp3 that does this. You can make a minor mod to your script to accomplish the same effect.

http://aur.archlinux.org/packages.php?ID=35133

graysky commented on 2010-11-10 23:16

nice script, thanks!

Anonymous comment on 2010-07-13 06:54

xiong.chiamiov, you're right. Fixed.

Anonymous comment on 2010-07-13 04:40

I don't see why this should conflict with flac2mp3, since they use different executable names.