mac下压缩mp3音频文件/linux 适用
2015-06-01 16:17
591 查看
为了压缩一个软件煞费苦心,最终还是没有找到一个不要钱的gui工具,郁闷之余,另辟思路,何不采用linux的命令行工具去压缩啊,于是在网上找到了这个工具lame
首先当然是用 homebrew 来安装lame
dangchengchengdeMacBook-Pro:js dangchengcheng$ brew install lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring lame-3.99.5.yosemite.bottle.1.tar.gz
linux 可以 用 apt-get install lame 或 yum install lame 来安装
安装成功了
其实压缩音频文件无非是降低采样率,所以lame大部分情况下都会用-b这个参数去压缩音频
dangchengchengdeMacBook-Pro:img dangchengcheng$ lame -b 32 music2.mp3 music4.mp3
LAME 3.99.5 64bits (http://lame.sf.net)
Resampling: input 44.1 kHz output 16 kHz
Using polyphase lowpass filter, transition band: 5484 Hz - 5677 Hz
Encoding music2.mp3 to music4.mp3
Encoding as 16 kHz j-stereo MPEG-2 Layer III (16x) 32 kbps qval=3
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
7273/7295 (100%)| 0:03/ 0:03| 0:04/ 0:04| 74.073x| 0:00
-------------------------------------------------------------------------------------------------------------
kbps LR MS % long switch short %
32.0 3.3 96.7 91.2 5.0 3.8
ReplayGain: -8.9dB
dangchengchengdeMacBook-Pro:img dangchengcheng$
最后压缩的结果还是很满意的 ,从4.2M压到了1.1M
首先当然是用 homebrew 来安装lame
dangchengchengdeMacBook-Pro:js dangchengcheng$ brew install lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring lame-3.99.5.yosemite.bottle.1.tar.gz
linux 可以 用 apt-get install lame 或 yum install lame 来安装
安装成功了
其实压缩音频文件无非是降低采样率,所以lame大部分情况下都会用-b这个参数去压缩音频
dangchengchengdeMacBook-Pro:img dangchengcheng$ lame -b 32 music2.mp3 music4.mp3
LAME 3.99.5 64bits (http://lame.sf.net)
Resampling: input 44.1 kHz output 16 kHz
Using polyphase lowpass filter, transition band: 5484 Hz - 5677 Hz
Encoding music2.mp3 to music4.mp3
Encoding as 16 kHz j-stereo MPEG-2 Layer III (16x) 32 kbps qval=3
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
7273/7295 (100%)| 0:03/ 0:03| 0:04/ 0:04| 74.073x| 0:00
-------------------------------------------------------------------------------------------------------------
kbps LR MS % long switch short %
32.0 3.3 96.7 91.2 5.0 3.8
ReplayGain: -8.9dB
dangchengchengdeMacBook-Pro:img dangchengcheng$
最后压缩的结果还是很满意的 ,从4.2M压到了1.1M
相关文章推荐
- linux修改默认语言
- CentOS上安装Bugzilla 4.5.2
- linux下解压命令大全(转)
- centos6.3系统python2.6.6升级到python2.7.9
- Mysql误删root用户或没有root用户――linux
- Linux Ctrl+Z的使用方法
- linux学习笔记—输出重定向
- Linux安装配置php
- 玩转linux,不断更新。。。
- 在CentOS4上安装JMagick
- linux 命令大全及详细实例
- 我的linux常用操作
- 使用centos6.5下安装kvm虚拟机
- linux 动态链接库
- linux设置开机服务自动启动/关闭自动启动命令
- linux 静态链接库demo
- centos 5.6下部署postfix
- linux信号量初识
- 优化Linux的内核参数来提高服务器并发处理能力
- python centos6.6安装