Linux 中的 MP3 重采样

发布于 2024-08-26 02:27:57 字数 189 浏览 7 评论 0原文

今晚我正在整理我的音乐收藏。我想将我的大量 MP3 重新采样到 192Kb/s 以用于我的 Zune。我知道执行此操作的明显方法是使用 lame 将 MP3 编码为 192 的递归函数 - 但 lame 不维护 ID3 标签!

有谁知道另一个可以保留 ID3 信息的选项吗?

感谢大家的时间/帮助!

Tonight I am working on my music collection. I would like to resample a large selection of my MP3's to 192Kb/s for my Zune. I know the obvious way to do this is a recursive function using lame to encode MP3 at 192 - but lame doesn't maintain the ID3 tags!

Does anyone know of another option that will retain ID3 info?

Thank you all for your time / help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

孤独患者 2024-09-02 02:27:58

您可以使用 id3 标记工具,例如 id3v2 首先保存 mp3 的这些标记。只是一个演示来说明

for mp3 in *mp3
do
  id3v2 -l  "$mp3" | while IFS=":" read -r tag info
  do
      case "$tag" in
       TYER*)
          echo "year: $info"
          year="$info" #save year info
          ;;
       TALB*)
          echo "album: $info" #save album info
          album=$info
          ;;
      esac
  done
  lame <options> "$mp3" temp #temp is output file
  id3v2 -A "$album" -y "$year" temp
  mv temp "$mp3"
done

you can use id3 tagging tools like id3v2 to save those tags of your mp3 first. Just a demo to illustrate

for mp3 in *mp3
do
  id3v2 -l  "$mp3" | while IFS=":" read -r tag info
  do
      case "$tag" in
       TYER*)
          echo "year: $info"
          year="$info" #save year info
          ;;
       TALB*)
          echo "album: $info" #save album info
          album=$info
          ;;
      esac
  done
  lame <options> "$mp3" temp #temp is output file
  id3v2 -A "$album" -y "$year" temp
  mv temp "$mp3"
done
贱贱哒 2024-09-02 02:27:58

使用 Audacity 的 Apply Chain 功能。

此功能类似于“宏”
允许您选择的命令
一条链(这是一个序列
通过编辑链创建的命令)和
将其应用于当前
项目,或专门选择的
文件或文件组。

Use Audacity's Apply Chain function.

This function is similar to a "Macro"
of commands which allows you to select
a Chain (which is a sequence of
commands created via Edit Chains) and
apply it to either the current
project, or to a specifically selected
file or group of files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文