如何在abcde中使用AIFF编码?

安德鲁46

我看到CD Ripper abcde的最新开发版本现已提供AIFF编码

我如何在Ubuntu的Xenial Xerus下轻松地进行测试?

(完全免责声明:我个人在abcde中添加了AIFF编码...)

安德鲁46

您甚至可以在没有完全安装abcde的情况下轻松地在Ubuntu下进行测试。这将允许您在abcde 2.8.2发布之前测试AIFF编码:)。四个简单步骤:

1.安装一些必需的应用程序...

这是必须安装的一些先决条件打开一个终端窗口,然后运行以下命令:

sudo apt-get install cd-discid cdparanoia abcde ffmpeg git

(这也将安装库存的Ubuntu abcde,因为这也许也是安装脚本cddb-tool的最简单方法。)

2.放置一个配置文件:

放置详细的配置文件时,abcde最佳运行。首先创建一个空文件:

touch $HOME/.abcde.conf

现在,使用您首选的文本编辑器将以下配置详细信息放置在此文件中:

# -----------------$HOME/.abcde.conf----------------- #
# 
#   A sample configuration file to convert music cds to 
#   Audio Interchange File Format (AIFF). This requires
#   abcde version 2.8.2 and a recent copy of FFmpeg
# 
#   http://andrews-corner.org/linux/abcde/index.html
# -------------------------------------------------- #

# Encode tracks immediately after reading. Saves disk space, gives
# better reading of 'scratchy' disks and better troubleshooting of
# encoding process but slows the operation of abcde quite a bit:
LOWDISK=y

# Specify the method to use to retrieve the track information,
# the alternative is to specify 'musicbrainz':
CDDBMETHOD=cddb

# Make a local cache of cddb entries and then volunteer to use 
# these entries when and if they match the cd:
CDDBCOPYLOCAL="y"
CDDBLOCALDIR="$HOME/.cddb"
CDDBLOCALRECURSIVE="y"
CDDBUSELOCAL="y"

# Specify the encoder to use for Audio Interchange File Format (AIFF):
AIFFENCODERSYNTAX=ffmpeg

# Specify the path to the selected encoder. In most cases the encoder
# should be in your $PATH as I illustrate below, otherwise you will 
# need to specify the full path. For example: /usr/bin/ffmpeg
FFMPEG=ffmpeg

# Specify your required AIFF encoding options here. These options are
# needed by FFmpeg for tagging and selection of id3v2 version:
#  1. '-write_id3v2 1' allows id3v2 tagging while '-write_id3v2 0' disables tagging
#  2. '-id3v2_version 4' gives version id3v2.4 while '3' gives id3v2.3 
AIFFENCOPTS="-write_id3v2 1 -id3v2_version 4"  

# Output type for AIFF:
OUTPUTTYPE="aiff"                        

# The cd ripping program to use. There are a few choices here: cdda2wav,
# dagrab, cddafs (Mac OS X only) and flac. New to abcde 2.7 is 'libcdio'.
CDROMREADERSYNTAX=cdparanoia            

# Give the location of the ripping program and pass any extra options,
# if using libcdio set 'CD_PARANOIA=cd-paranoia'.
CDPARANOIA=cdparanoia  
CDPARANOIAOPTS="--never-skip=40"

# Give the location of the CD identification program:       
CDDISCID=cd-discid

# Give the base location here for the encoded music files.
OUTPUTDIR="$HOME/Music"               

# The default actions that abcde will take.
ACTIONS=cddb,playlist,read,encode,tag,move,clean

OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'

# Create playlists for single and various-artist encodes. I would suggest
# commenting these out for single-track encoding.
PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u'
VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u'

# This function takes out dots preceding the album name, and removes a grab
# bag of illegal characters. It allows spaces, if you do not wish spaces add
# in -e 's/ /_/g' after the first sed command.
mungefilename ()
{
  echo "$@" | sed -e 's/^\.*//' | tr -d ":><|*/\"'?[:cntrl:]"
}

# What extra options?
MAXPROCS=2                                # Run a few encoders simultaneously
PADTRACKS=y                               # Makes tracks 01 02 not 1 2
EXTRAVERBOSE=2                            # Useful for debugging
COMMENT='abcde version 2.8.2'             # Place a comment...
EJECTCD=y                                 # Please eject cd when finished :-)

3.获取git abcde的副本:

现在,使用您的git客户端下载abcde git树的最新版本:

git clone http://git.einval.com/git/abcde.git ~/abcde

这会将abcde的工作副本保留在中$HOME/abcde

4.运行abcde:

现在为乐趣而已:)。将音频CD放入驱动器中,然后运行以下两个命令:

cd $HOME/abcde
./abcde

(请注意,该./部分很重要,因为这将仅引用此处下载的abcde副本,而不引用系统上也已安装的发行版。)如果一切正常,您的音频CD现在将被轻松地转换为AIFF,文件标记清晰并然后放在$HOME/Music

参考:

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何在supercsv getHeader中使用编码

来自分类Dev

如何在Skobbler中使用POI /地理编码搜索

来自分类Dev

如何在wsgi应用程序中使用gzip编码?

来自分类Dev

如何在PHP中使用PKCS8编码的私钥

来自分类Dev

如何在Ruby on Rails中使用Base64编码?

来自分类Dev

如何在wsgi应用程序中使用gzip编码?

来自分类Dev

如何在ffmpeg中使用带有nvenc的CRF编码?

来自分类Dev

如何在Java中使用编码URIbuilder()方法

来自分类Dev

如何在Android中使用地理编码API(JSON)?

来自分类Dev

如何在后端列表中使用“硬编码”范围

来自分类Dev

如何在 json 编码中使用特殊字符?

来自分类Dev

如何在Windows中使用H264视频编码器MFT编码位图

来自分类Dev

在还使用颜色编码时,如何在vega-lite中使用zero = false?

来自分类Dev

如何在PCollection <KV <String,B >>中使用自定义编码器?

来自分类Dev

如何在换行符中使用python -c“在此编码”?

来自分类Dev

如何在Spring-Web中使用RestTemplate解析gzip编码的响应

来自分类Dev

如何在Xcode 5.0.2中使用Java进行编码(在Mac 10.9.2上)

来自分类Dev

如何在python中使用西班牙语进行编码和解码

来自分类Dev

如何在跨不同语言的单个项目中使用编码风格?

来自分类Dev

我该如何在Javascript中使用[硬编码编号]。[函数调用]?

来自分类Dev

如何在经典ASP中使用地理编码API v3

来自分类Dev

如何在HTML中使用外部JSON文件而不是硬编码JSON文件?

来自分类Dev

如何在Excel 2010中使用VBA查询UTF-8编码的CSV文件?

来自分类Dev

如何在霍夫曼编码中使用Splay树数据结构进行数据压缩?

来自分类Dev

如何在JavaScript中使用Mapbox Geocoding API反向对点进行地理编码?

来自分类Dev

如何在R中使用双重求和编码该方程式?

来自分类Dev

如何在node.js中使用.proto文件解码编码的协议缓冲区数据

来自分类Dev

如何在Scala中使用编码器类型类处理Option

来自分类Dev

我该如何在Javascript中使用[硬编码编号]。[函数调用]?

Related 相关文章

  1. 1

    如何在supercsv getHeader中使用编码

  2. 2

    如何在Skobbler中使用POI /地理编码搜索

  3. 3

    如何在wsgi应用程序中使用gzip编码?

  4. 4

    如何在PHP中使用PKCS8编码的私钥

  5. 5

    如何在Ruby on Rails中使用Base64编码?

  6. 6

    如何在wsgi应用程序中使用gzip编码?

  7. 7

    如何在ffmpeg中使用带有nvenc的CRF编码?

  8. 8

    如何在Java中使用编码URIbuilder()方法

  9. 9

    如何在Android中使用地理编码API(JSON)?

  10. 10

    如何在后端列表中使用“硬编码”范围

  11. 11

    如何在 json 编码中使用特殊字符?

  12. 12

    如何在Windows中使用H264视频编码器MFT编码位图

  13. 13

    在还使用颜色编码时,如何在vega-lite中使用zero = false?

  14. 14

    如何在PCollection <KV <String,B >>中使用自定义编码器?

  15. 15

    如何在换行符中使用python -c“在此编码”?

  16. 16

    如何在Spring-Web中使用RestTemplate解析gzip编码的响应

  17. 17

    如何在Xcode 5.0.2中使用Java进行编码(在Mac 10.9.2上)

  18. 18

    如何在python中使用西班牙语进行编码和解码

  19. 19

    如何在跨不同语言的单个项目中使用编码风格?

  20. 20

    我该如何在Javascript中使用[硬编码编号]。[函数调用]?

  21. 21

    如何在经典ASP中使用地理编码API v3

  22. 22

    如何在HTML中使用外部JSON文件而不是硬编码JSON文件?

  23. 23

    如何在Excel 2010中使用VBA查询UTF-8编码的CSV文件?

  24. 24

    如何在霍夫曼编码中使用Splay树数据结构进行数据压缩?

  25. 25

    如何在JavaScript中使用Mapbox Geocoding API反向对点进行地理编码?

  26. 26

    如何在R中使用双重求和编码该方程式?

  27. 27

    如何在node.js中使用.proto文件解码编码的协议缓冲区数据

  28. 28

    如何在Scala中使用编码器类型类处理Option

  29. 29

    我该如何在Javascript中使用[硬编码编号]。[函数调用]?

热门标签

归档