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 / 问题

问题[mp3](ubuntu)

Martin Hope
Bill Barnett
Asked: 2021-12-06 21:02:28 +0800 CST

K3b CD 翻录 - 无法更改 LAME 设置

  • 0

我正在尝试使用 VBR 设置 V0 将 CD 翻录为 mp3。在早期版本的 K3b 中,您可以配置 LAME 命令字符串。但在 19.12.3 版本中,LAME 配置设置中的屏幕已替换为最大、平均和最小比特率条目:

K3b 中的可变比特率配置屏幕

但是,无论我在这里指定什么(并且我确实选择了可变比特率),翻录的 mp3 文件的媒体属性显示:

编码设置 -mj -V 4 -q 0 -lowpass 17.5 --vbr-new -b -32

比特率在 160 左右。所以它总是在 V4 翻录,但我想要 V0。我尝试更改最小和平均比特率条目,但无济于事。我怎样才能让 K3b 以 V0 撕裂?

(Ubuntu 20.04.3 LTS)

mp3
  • 1 个回答
  • 261 Views
Martin Hope
yop
Asked: 2020-07-10 15:05:49 +0800 CST

打开一首 mp3 歌曲以视频而不是 rythmbox 的形式打开

  • 0

每当我尝试编写 mp3 音乐文件时,它都会以视频而不是节奏框打开。有没有人知道如何做音乐播放器是要使用的程序?使用最新版本的 Ubuntu

rhythmbox mp3
  • 1 个回答
  • 162 Views
Martin Hope
MitchellJ
Asked: 2020-01-24 12:54:51 +0800 CST

数据包太小 ffmpeg 将 wav 转换为 mp3

  • 2

尝试使用 ffmpeg 将 wav 文件转换为 mp3 时,我继续收到此错误。

这是我正在运行的命令

ffmpeg -i 11_22_40AM.wav  -acodec mp3 11_22_40AM.mp3

这就是错误

[gsm_ms @ 0x5567d18626c0] Packet is too small
Error while decoding stream #0:0: Invalid data found when processing input

以及由命令引起的所有输出

ffmpeg -i 11_22_40AM.wav  -acodec mp3 11_22_40AM.mp3
ffmpeg version 4.2.2-0york0~16.04 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
  configuration: --prefix=/usr --extra-version='0york0~16.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, wav, from '11_22_40AM.wav':
  Duration: 00:01:08.68, bitrate: 13 kb/s
    Stream #0:0: Audio: gsm_ms (1[0][0][0] / 0x0031), 8000 Hz, mono, s16, 13 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (gsm_ms (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '11_22_40AM.mp3':
  Metadata:
    TSSE            : Lavf58.29.100
    Stream #0:0: Audio: mp3 (libmp3lame), 8000 Hz, mono, s16p
    Metadata:
      encoder         : Lavc58.54.100 libmp3lame
[gsm_ms @ 0x5567d18626c0] Packet is too small
Error while decoding stream #0:0: Invalid data found when processing input
size=      67kB time=00:01:08.69 bitrate=   8.0kbits/s speed= 169x    
video:0kB audio:67kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.379184%
conversion ffmpeg mp3 wav
  • 1 个回答
  • 946 Views
Martin Hope
fxgreen
Asked: 2020-01-04 07:24:07 +0800 CST

如何使用命令行将 .m4a 音频文件转换为 .mp3?

  • 8

如何将 .m4a 音频文件转换为 .mp3 命令行?(如果可能,质量不会下降)。Ubuntu 16.04LTS 媒体信息:

General
Complete name                            : show.m4a
Format                                   : MPEG-4
Format profile                           : Apple audio with iTunes info
Codec ID                                 : M4A  (M4A /mp42/isom)
File size                                : 55.5 MiB
Duration                                 : 1h 48mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 71.7 Kbps

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : 40
Duration                                 : 1h 48mn
Bit rate mode                            : Variable
Bit rate                                 : 72.0 Kbps
Maximum bit rate                         : 93.8 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz / 22.05 KHz
Frame rate                               : 21.533 fps (1024 spf)
Compression mode                         : Lossy
Stream size                              : 54.9 MiB (99%)
Writing library                          : Nero AAC codec 1.5.4.0
Encoding settings                        : -q 0.25
ffmpeg codecs mp3 audio-recording m4a
  • 3 个回答
  • 18200 Views
Martin Hope
MichaelB
Asked: 2020-01-01 12:45:16 +0800 CST

格式化所有选定字段的 Puddletag 格式值

  • 2

我是 Puddletag 的普通用户,我最近尝试编写一个操作来格式化 .mp3 文件轨道标记,以将前导 0 添加到单个数字值。

我通过将操作设置为使用格式值函数并将字段设置为标题,并将格式字符串设置$num(%track%, 2)为如下所示来做到这一点。 如上所述的功能窗口图像

理论上,这应该只格式化轨道值,但在我的情况下,这会格式化所有选择的字段。

我在 Ubuntu 19.10 上使用 Puddletag 1.2.0。

感谢您提供的任何帮助。

重现的完整步骤

  1. 打开 Puddletag 并导航到包含文件的.mp3文件夹。
  2. 选择任意字段组合。
  3. 运行上述操作。

视频应该在这里上传

music mp3
  • 1 个回答
  • 93 Views
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
Volker Weißmann
Asked: 2019-07-14 11:20:20 +0800 CST

使用 youtube-dl 和 id3v2 的 mp3 标签问题

  • 1

简而言之:我跑了:

sudo apt install youtube-dl ffmpeg id3v2 -y
echo "youtube-dl version:"
youtube-dl --version
echo "id3v2 version:"
id3v2 --version
youtube-dl --extract-audio --audio-format mp3 "https://youtu.be/Sqk3B2041uk" --output test.mp3
id3v2 -t "cooltitle" -a "coolartist" test.mp3

输出正常:

*normal output of apt install*
youtube-dl version:
2019.01.17
id3v2 version:
id3v2 0.1.12
Uses id3lib-3.8.3

This program adds/modifies/removes/views id3v2 tags, 
and can convert from id3v1 tags
[youtube] Sqk3B2041uk: Downloading webpage
[youtube] Sqk3B2041uk: Downloading video info webpage
[download] test.mp3 has already been downloaded
[download] 100% of 2.07MiB
[ffmpeg] Post-process file test.mp3 exists, skipping

从理论上讲,这个脚本应该下载一个 mp3 文件并将其标题设置为“cooltitle”,并将其艺术家设置为“coolartist”。但是当我使用 rythmbox 打开文件 test.mp3 时,它没有显示正确的标题和艺术家。

有谁知道为什么这不起作用或如何解决它?

mp3 tag youtube-dl
  • 1 个回答
  • 2137 Views
Martin Hope
Pointy
Asked: 2019-02-14 21:11:55 +0800 CST

如何将多个 mp3 曲目刻录到一系列纯音频 CD

  • 0

据我所知,默认的 Brasero 应用程序在被要求将大量 mp3 曲目刻录到多个 CDR 时根本什么都不做。我知道它的一些支持应用程序(cdrdao 等)的权限问题,修复这些问题并不能解决我看到的基本问题,即“刻录多个磁盘”选项完全没有任何作用。

这只是一个已知问题(例如底层工具的权限问题)吗?我意识到现在没有太多人刻录老式音频 CD。

对不起,这是 16.04,我很抱歉没有澄清。

可以使用 Brasero 成功地刻录包含适合单张普通音频 CD 的mp3 文件组的音频“项目” 。

burning mp3 brasero
  • 1 个回答
  • 107 Views
Martin Hope
user1175461
Asked: 2019-02-05 14:46:33 +0800 CST

如何从子文件夹中的所有文件中制作随机 m3u 播放列表?

  • 0

我想为我的 90,000 首曲目的整个音乐收藏创建一个随机播放列表。- 即在我的音乐文件夹的每个子文件夹中生成一个包含每个 mp3 的单个 m3u 播放列表,并以随机顺序显示该列表。关于如何做到这一点的任何建议?

mp3 playlists
  • 1 个回答
  • 1610 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

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