linux - 使 *.mp3 的开始和结束段没有声音的最佳方法?

标签 linux bash ubuntu debian

<分区>

我知道有多种 Linux 软件包可以让您裁剪歌曲的一部分。例如,从 1 分钟标记开始裁剪 2 分钟歌曲 mysong.mp3 的 30 秒部分

ffmpeg -ss 60 -t 30 -acodec copy -i mysong.mp3 30secondportion.mp3

如何创建新的 .mp3,这首歌曲的前 60 秒没有声音,接下来的 30 秒有声音,最后 30 秒没有声音?

生成的 .mp3 长度应为 2 分钟。

我使用的是 ubuntu 10.04

最佳答案

看看这个tutorial :

  • 使用 Sox 提取文件的子部分
  • 使用 Sox 创造沉默
  • 使用 Sox 连接文件

关于linux - 使 *.mp3 的开始和结束段没有声音的最佳方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9976562/

相关文章:

linux - 无法使用Java代码在Linux运行时创建文件

使用C计算Linux多核机器上的CPU使用率

MySQL - 从 LOCAL INFILE 加载数据 - 如何提高性能

bash - ImageMagick:是否可以删除 "Crop marks"?

ubuntu - 使用 2 级代理的 Nginx Web 服务器

c - Linux 模块 : performance counter does not work

linux - Debian 11 (bullseye) 上的 "The repository does not have a Release file"错误,即使存储库有 Release 文件

bash - 带有 wget 的 Shell 脚本获取减去 1 天的日期

php - 如何在 XAMPP 上安装 Imagick? [Ubuntu 12.04]

ubuntu - 无法在 Ubuntu 12.04 上安装 NetBeans