如何使用sox来压缩mp3?

RNA*_*RNA 7 compression mp3 sox sample-rate bit-depth

我想用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
Run Code Online (Sandbox Code Playgroud)

Tho*_*hor 7

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

sox 2008-12-28-2.MP3 -r 8000 -c 1 foo.mp3
Run Code Online (Sandbox Code Playgroud)

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

sox 2008-12-28-2.MP3 foo.mp3 remix 1 rate 8000
Run Code Online (Sandbox Code Playgroud)