Linux下的音频批量转换软件:音乐魔方Audio-convert-mod简体中文版

2013年08月27日

如果你需要在 Linux 下进行音频格式转换,那么 Audio-convert-mod 是一个值得一用的工具。Audio-convert-mod 简单易用,转换音频格式文件只需三步即可搞定。另外,使用 Audio-convert-mod 可执行批量转换。目前,Audio-convert-mod 支持 MP3、OGG、FLAC、WAV、AAC/MP4/M4A、MAC/Monkey’s Audio/APE、MPC (Musepack)、WV (wavpack) 等音频格式的编码和解码。

Audio-convert-mod 的当前版本为3.46.0,提供有源码包和 RPM 包。安装 Audio-convert-mod 需要 gawk 和 file。此外,为了获得上述音频格式的编码/解码支持,需要安装一些常用的编码/解码器,比如:lame 用于 MP3 转换、vorbis-tools 用于 OGG 转换、flac 用于 FLAC 转换、mac 用于 APE 转换等等。

安装方法:

#yum install gawk
#yum install python-mutagen
#yum install gettext
#yum install intltool
#wget https://www.diffingo.com/downloads/audio-convert-mod/audio-convert-mod-3.46.0b.tar.bz2
#tar -xjvf audio-convert-mod-3.46.0b.tar.bz2
#cd audio-convert-mod-3.46.0b
#./configure --prefix=/usr
#make
#make install
#yum install lame
#yum install vorbis-tools*
#yum install musepack-tools*
#yum install flac
#yum install mac*
#yum install faac*
#yum install wavpack*
#yum install a52dec*
#yum install faad*

 
错误解决:
如果你在./configure这一步的时候遇到以下的提示,可以先安装atrpms和epel源来安装所需要的文件依赖包.
configure: error: The intltool scripts were not found. Please install intltool.
如果出现以上错误信息,请安装intltool

#yum install intltool

 

Traceback (most recent call last):
File “/usr/share/audio-convert-mod/acm-runapp.pyw”, line 56, in
from audio_convert_mod import widgets
File “/usr/share/audio-convert-mod/audio_convert_mod/widgets.py”, line 28, in

from audio_convert_mod import formats
File “/usr/share/audio-convert-mod/audio_convert_mod/formats.py”, line 42, in

import mutagen
ImportError: No module named mutagen
如果在运行audio-convert-mod的时候出现以上错误提示,请安装python-mutagen

#yum install python-mutagen

 

安装完整过程:

[RucLinux@localhost ~]$ su root
密码:
[root@localhost RucLinux]# cd audio-convert-mod-3.46.0b
[root@localhost audio-convert-mod-3.46.0b]# ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
configure: creating ./config.status
config.status: creating bin/Makefile
config.status: creating bin/audio-convert-mod
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/audio_convert_mod/Makefile
config.status: creating src/audio_convert_mod/__init__.py
config.status: creating Makefile
config.status: creating audio-convert-mod.spec
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
[root@localhost audio-convert-mod-3.46.0b]# make
Making all in bin
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
Making all in po
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/po'
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/po'
Making all in src
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
Making all in src/audio_convert_mod
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b'
[root@localhost audio-convert-mod-3.46.0b]# make install
Making install in bin
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
make[2]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh /home/RucLinux/audio-convert-mod-3.46.0b/install-sh -d /usr/bin
/usr/bin/install -c -m 755 audio-convert-mod /usr/bin/audio-convert-mod
make[2]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/bin'
Making install in po
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/po'
linguas="zh_CN "; \
	for lang in $linguas; do \
	  dir=/usr/share/locale/$lang/LC_MESSAGES; \
	  /bin/sh /home/RucLinux/audio-convert-mod-3.46.0b/install-sh -d $dir; \
	  if test -r $lang.gmo; then \
	    /usr/bin/install -c -m 644 $lang.gmo $dir/audio-convert-mod.mo; \
	    echo "installing $lang.gmo as $dir/audio-convert-mod.mo"; \
	  else \
	    /usr/bin/install -c -m 644 ./$lang.gmo $dir/audio-convert-mod.mo; \
	    echo "installing ./$lang.gmo as" \
		 "$dir/audio-convert-mod.mo"; \
	  fi; \
	  if test -r $lang.gmo.m; then \
	    /usr/bin/install -c -m 644 $lang.gmo.m $dir/audio-convert-mod.mo.m; \
	    echo "installing $lang.gmo.m as $dir/audio-convert-mod.mo.m"; \
	  else \
	    if test -r ./$lang.gmo.m ; then \
	      /usr/bin/install -c -m 644 ./$lang.gmo.m \
		$dir/audio-convert-mod.mo.m; \
	      echo "installing ./$lang.gmo.m as" \
		   "$dir/audio-convert-mod.mo.m"; \
	    else \
	      true; \
	    fi; \
	  fi; \
	done
installing zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/audio-convert-mod.mo
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/po'
Making install in src
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
make[2]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/audio-convert-mod" || /bin/mkdir -p "/usr/share/audio-convert-mod"
 /usr/bin/install -c -m 644 BugReport.glade audio-convert-mod.glade audio-convert-mod-kde3.desktop audio-convert-mod-kde4.desktop acm-runapp.pyw '/usr/share/audio-convert-mod'
/bin/sh /home/RucLinux/audio-convert-mod-3.46.0b/install-sh -d /usr/share/applications
/usr/bin/install -c -m 644 audio-convert-mod.desktop /usr/share/applications/audio-convert-mod.desktop
make[2]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src'
Making install in src/audio_convert_mod
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[2]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/audio-convert-mod/audio_convert_mod" || /bin/mkdir -p "/usr/share/audio-convert-mod/audio_convert_mod"
 /usr/bin/install -c -m 644 acmlogger.py const.py config.py formats.py i18n.py __init__.py interface.py widgets.py '/usr/share/audio-convert-mod/audio_convert_mod'
make[2]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b/src/audio_convert_mod'
make[1]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b'
make[2]: Entering directory `/home/RucLinux/audio-convert-mod-3.46.0b'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b'
make[1]: Leaving directory `/home/RucLinux/audio-convert-mod-3.46.0b'
[root@localhost audio-convert-mod-3.46.0b]# 

 
官方安装教程:

-- DEPENDENCIES --
audio-convert-mod requires the following software to be installed:
  * python >= 2.4
  * PyGTK >= 2.10 with Glade support
  * Mutagen (often called python-mutagen)

Once audio-convert-mod is running, you may select "File > Show Format Conversion
Capabilities" to see which additional tools are required to convert audio into
your preferred format(s).

-- BUILDING --
  $ ./configure --prefix=/usr
  $ make

-- INSTALLING --
  $ make install

-- USEAGE --
To start audio-convert-mod, simply run:
  $ audio-convert-mod

If you would like to specify files to convert, add each an argument:
  $ audio-convert-mod /path/to/File1.mp3 /path/to/File2.ogg [...]

-- HELP --
If you think you've found a bug in audio-convert-mod, please send the program
log with verbose output enabled to s.adam at diffingo.com:
  $ audio-convert-mod --verbose

Please send bug reports with the verbose messages _attached_, not posted
please.

 
写在教程之后:
在安装之前,请先安装atrpms和epel源.把gawk python-mutagen gettext intltool这些所依赖的包装上,然后再安装audio-convert-mod.最后才是安装所需的解码器插件.
Linux安装atrpms更新源:https://www.myzhenai.com.cn/post/1227.html
Linux Centos系统安装Epel更新源:https://www.myzhenai.com/thread-15362-1-2.html
audio-convert-mod:https://www.diffingo.com/oss/audio-convert-mod/download

Linux 音频 批量 转换 软件  音乐 魔方 Audio-convert-mod 简体 中文版

Linux 下的音频批量转换软件:音乐魔方Audio-convert-mod简体中文版


Linux 音频 批量 转换软件 音乐魔方 Audio-convert-mod 简体中文版

Linux 下的音频批量转换软件:音乐魔方Audio-convert-mod简体中文版


Linux 音频 批量转换软件 音乐魔方 Audio-convert-mod 简体中文版

Linux 下的音频批量转换软件:音乐魔方Audio-convert-mod简体中文版


sicnature ---------------------------------------------------------------------
I P 地 址: 3.138.134.247
区 域 位 置: 美国
系 统 信 息: 美国
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://myzhenai.com/post/1271.html

没有评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注