【问题标题】:Trim just 1sec mp3 file by sox command通过 sox 命令仅修剪 1 秒的 mp3 文件
【发布时间】:2019-04-09 11:04:48
【问题描述】:

我想通过 sox 命令创建 1 秒的 mp3 文件。 我在下面发布了命令

sox input.mp3 output.mp3 trim 0 1
soxi output.mp3

结果是

Input File     : 'output.mp3'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:01.04 = 46040 samples = 78.2993 CDDA sectors
File Size      : 16.7k
Bit Rate       : 128k
Sample Encoding: MPEG audio (layer I, II or III)

我想获取 1.00 秒的 mp3 文件,但创建了 1.04 秒的 mp3。

我尝试了 sox 命令选项 s(samples)。但结果相同。

sox input.mp3 output.mp3 trim 0 44100s

无法修剪 1.00 秒的 mp3 文件?

【问题讨论】:

    标签: sox


    【解决方案1】:

    我能做到。输出wav文件格式。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-09-15
      • 1970-01-01
      • 2012-04-07
      • 1970-01-01
      • 2015-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多