AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[flac](ubuntu)

Martin Hope
Adures
Asked: 2019-11-17 15:19:33 +0800 CST

自动翻录机 (ARM) - 翻录到 flac,而不是翻录到 mp3

  • 1

所以我配置了 ARM,它对 flac 文件正常工作。但是,当我为 mp3 设置它时(我是为其他人做的,他们更喜欢 mp3)它不起作用。

至于日志:

[2019-11-17 00:01:17] INFO ARM: Starting ARM processing at 2019-11-17    00:01:17.3539
[2019-11-17 00:01:17] INFO ARM: ARM version: 2.0.1-stable
[2019-11-17 00:01:17] INFO ARM: Python version: 3.6.8 (default, Oct  7 2019, 12:59:55) [GCC 8.3.0]
[2019-11-17 00:01:17] INFO ARM: Looking for log files older than 1 days old.
[2019-11-17 00:01:17] INFO ARM: Starting Disc identification
[2019-11-17 00:01:17] INFO ARM: Mounting disc to: /mnt/dev/sr1
[2019-11-17 00:01:21] INFO ARM: **** Logging ARM variables ****
[2019-11-17 00:01:21] INFO ARM: devpath: /dev/sr1
[2019-11-17 00:01:21] INFO ARM: mountpoint: /mnt/dev/sr1
[2019-11-17 00:01:21] INFO ARM: videotitle: 
[2019-11-17 00:01:21] INFO ARM: videoyear: 
[2019-11-17 00:01:21] INFO ARM: videotype: 
[2019-11-17 00:01:21] INFO ARM: hasnicetitle: False
[2019-11-17 00:01:21] INFO ARM: label: LimpBizkitECD
[2019-11-17 00:01:21] INFO ARM: disctype: music
[2019-11-17 00:01:21] INFO ARM: **** End of ARM variables ****
[2019-11-17 00:01:21] INFO ARM: **** Logging config parameters ****
[2019-11-17 00:01:21] INFO ARM: skip_transcode: False
[2019-11-17 00:01:21] INFO ARM: mainfeature: True
[2019-11-17 00:01:21] INFO ARM: minlength: 600
[2019-11-17 00:01:21] INFO ARM: maxlength: 99999
[2019-11-17 00:01:21] INFO ARM: videotype: auto
[2019-11-17 00:01:21] INFO ARM: ripmethod: backup
[2019-11-17 00:01:21] INFO ARM: mkv_args: 
[2019-11-17 00:01:21] INFO ARM: delrawfile: True
[2019-11-17 00:01:21] INFO ARM: hb_preset_dvd: High Profile
[2019-11-17 00:01:21] INFO ARM: hb_preset_bd: High Profile
[2019-11-17 00:01:21] INFO ARM: hb_args_dvd: --subtitle scan -F
[2019-11-17 00:01:21] INFO ARM: hb_args_bd: --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio
[2019-11-17 00:01:21] INFO ARM: logfile: /home/arm/logs/LimpBizkitECD.log
[2019-11-17 00:01:21] INFO ARM: armpath: /home/arm/Desktop
[2019-11-17 00:01:21] INFO ARM: rawpath: /home/arm/media/raw/
[2019-11-17 00:01:21] INFO ARM: media_dir: /home/arm/media/movies/
[2019-11-17 00:01:21] INFO ARM: extras_sub: extras
[2019-11-17 00:01:21] INFO ARM: emby_refresh: False
[2019-11-17 00:01:21] INFO ARM: emby_server: 
[2019-11-17 00:01:21] INFO ARM: emby_port: 8096
[2019-11-17 00:01:21] INFO ARM: notify_rip: True
[2019-11-17 00:01:21] INFO ARM: notify_transcode True
[2019-11-17 00:01:21] INFO ARM: **** End of config parameters ****
[2019-11-17 00:01:21] INFO ARM: Disc identified as music
[ERROR] abcde: mp3gain is not in your path.
[INFO] Define the full path to the executable if it exists on your system.
[INFO] Hint: sudo apt-get install 
[2019-11-17 00:01:21] ERROR ARM: Call to abcde failed with code: 1(b'')
[2019-11-17 00:01:21] INFO ARM: Music rip failed.  See previous errors.  Exiting.

似乎 mp3 编码器的路径错误,但是当我查看 abcde.conf 文件时,路径对我来说似乎没问题。

# -----------------$HOME/.abcde.conf----------------- #
# 
# A sample configuration file to convert music cds to 
#       FLAC using abcde version 2.7.2
# 
#       http://andrews-corner.org/abcde.html
# -------------------------------------------------- #
#
# This script was copied from the above site with the following modification:
#
# Set to non-interactive
# CDDMETHOD=cddb since it's more reliable (for my CDs)
# Enabled getalbumart
# Change output format from artist-album to artist/album



INTERACTIVE=n

# 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 'cddb':
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 FLAC. In this case
# flac is the only choice.
FLACENCODERSYNTAX=flac
MP3ENCODERSYNTAX=lame
# 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/flac
FLAC=flac
LAME=/usr/bin/lame
# Specify your required encoding options here. Multiple options can
# be selected as '--best --another-option' etc.
# Overall bitrate is about 880 kbs/s with level 8.
FLACOPTS='-s -e -V -8' 
LAMEOPTS='--preset extreme'

# Output type for FLAC.
OUTPUTTYPE="mp3"

# 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/adures/Desktop/Music"               

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

# Decide here how you want the tracks labelled for a standard 'single-artist',
# multi-track encode and also for a multi-track, 'various-artist' encode:
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various Artists/${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'

# Decide here how you want the tracks labelled for a standard 'single-artist',
# single-track encode and also for a single-track 'various-artist' encode.
# (Create a single-track encode with 'abcde -1' from the commandline.)
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${ALBUMFILE}'
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various Artists/${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 Artists/${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.1'           # Place a comment...
EJECTCD=y                               # Please eject cd when finished :-)

你有什么想法可能会丢失吗?

编辑:我在 Ubuntu 18.04

Edit2:我粘贴了两次日志而不是日志,现在已修复 abcde.conf。

cd mp3 flac abcde
  • 1 个回答
  • 719 Views
Martin Hope
Averroista
Asked: 2019-04-26 10:36:52 +0800 CST

使用 opus 转换文件夹

  • 1

我有这个命令将所有 .flac 文件从目录转换为 .opus

for flacfile in *.flac ;do opusenc --bitrate 64 "$flacfile" "${flacfile%.flac}.opus" ;done

我应该使用什么命令来做同样的事情,但包括子文件夹?

directory flac ogg-opus
  • 1 个回答
  • 607 Views
Martin Hope
burnedfaceless
Asked: 2018-11-21 08:37:39 +0800 CST

如何刻录音频 DVD

  • 2

我买了一些 192KHZ、24 位 FLAC 文件。

我想将这些刻录到音频 DVD 上,这样我就可以通过家用系统上的蓝光播放器播放它们。

我该怎么做呢?

dvd dvd-audio flac
  • 1 个回答
  • 824 Views
Martin Hope
fricadelle
Asked: 2018-05-21 00:21:41 +0800 CST

提示文件中的特殊字符:shnsplit 中断

  • 4

我正在使用以下单行将带有提示表的 flac 文件拆分为几个 flac 文件:

shntool split -f "Album.cue" -o flac -t '%n - %p - %t' "Album.flac"

问题是:当提示表中的标题包含“ç”或“?”时 相应的拆分文件似乎已损坏,我无法收听。当然,如果我完全删除标题:

-t '%n - %p'

创建文件没有任何错误。

那么,我如何处理提示表中的那些特殊字符(与标题一起出现,但它也可能影响表演者的名字”)

bash flac
  • 1 个回答
  • 889 Views
Martin Hope
AlexOnLinux
Asked: 2018-02-15 00:47:19 +0800 CST

如何即时将 FLAC 转码为 mp3

  • 3

我正在使用minidlna/ReadyMedia-Server 在我的网络中流式传输我的音乐文件。

不幸的是,我的一个播放器无法读取 FLAC 文件,因此我正在研究如何将所有 FLAC 文件转码为 mp3 格式的解决方案

transcode mp3 flac minidlna
  • 1 个回答
  • 1298 Views
Martin Hope
Markus Gratis
Asked: 2016-01-10 07:09:01 +0800 CST

将 DSD 音频(.dsf、.dff)转换为 Flac

  • 5

所以我从我的 Windows-PC 上得到了几个 SACD 撕裂,作为我硬盘上的 .dsf 文件。现在我想最终将它们编码为 opus ,以便在我的手机上播放它们。为了能够做到这一点,我需要首先将它们转换成一些无损音频编解码器 [通过 PCM?!],最好是 flac。不幸的是,我现在唯一可用的设备在 Ubuntu 14.04 LTS 上运行。

到目前为止,我通过 Wine 尝试了 foobar2000,它甚至无法播放它们。

不幸的是,我也无法编译 dsf2flac。

有什么建议么?

flac
  • 3 个回答
  • 19911 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve