7

我想用 sox 减小一些 mp3 音频的文件大小。我想我可以将立体声减少到只有 1 个通道(即单声道),降低采样率并降低位深度。我发现似乎 sox 什么都做不了。这是真的还是我做对了?

$ sox -r 8000 -c 1 2008-12-28-2.MP3 foo.mp3
sox WARN formats: can't set sample rate 8000; using 44100
sox WARN formats: can't set 1 channels; using 2
4

1 回答 1

7

参数应该在输出文件之前:

sox 2008-12-28-2.MP3 -r 8000 -c 1 foo.mp3

它们也可以作为效果提供:

sox 2008-12-28-2.MP3 foo.mp3 remix 1 rate 8000
于 2012-09-07T13:47:35.887 回答