下载FFMPEG

https://ffmpeg.zeranoe.com/builds/

Example to encode VBR MP3 audio with ffmpeg using the libmp3lame library:

ffmpeg -i input.wav -codec:a libmp3lame -qscale:a 2 output.mp3

Control quality with -qscale:a (or the alias -q:a). Values are encoder specific, so for libmp3lame the range is 0-9 where a lower value is a higher quality. 0-3 will normally produce transparent results, 4 (default) should be close to perceptual transparency, and 6 produces an "acceptable" quality. The option -qscale:a is mapped to the -V option in the standalone lame command-line interface tool.

LAME Bitrate Overview
lame option Average kbit/s Bitrate range kbit/s ffmpeg option
-b 320 320 320 CBR (non VBR) example -b:a 320k (NB this is 32KB/s, or its max)
-V 0 245 220-260 -q:a 0 (NB this is VBR from 22 to 26 KB/s)
-V 1 225 190-250 -q:a 1
-V 2 190 170-210 -q:a 2
-V 3 175 150-195 -q:a 3
-V 4 165 140-185 -q:a 4
-V 5 130 120-150 -q:a 5
-V 6 115 100-130 -q:a 6
-V 7 100 80-120 -q:a 7
-V 8 85 70-105 -q:a 8
-V 9 65 45-85 -q:a 9

In our example above, we selected -qscale:a 2, meaning we used LAME's option -V 2, which gives us a VBR MP3 audio stream with an average stereo bitrate of 170-210 kBit/s.

最新文章

  1. js函数封装
  2. Windows 10 周年版尝鲜
  3. WPF学习之路(五) 实例:写字板(续)
  4. 开源免费的HTML5游戏引擎——青瓷引擎(QICI Engine) 1.0正式版发布了!
  5. 如何查看postfix的版本
  6. leetcode Database3(Nth Highest Salary<—>Consecutive Numbers<—>Department Highest Salary)
  7. [原博客] HEOI2014 行记
  8. Tree( 树) 组件[3]
  9. zsh 简单介绍
  10. python+matplotlib+web.py
  11. Java并发编程实战(chapter_1)(原子性、可见性)
  12. html5中的全局属性
  13. 解决Kettle ETL数据乱码
  14. 牛客G-指纹锁【一题三解】
  15. ThinkPHP框架知识(比较全的知识)
  16. 腾讯云服务器 - 配置JDK环境以及Tomcat+nginx服务器
  17. leetcode:Count and Say【Python版】
  18. init只创建一次 只有父类的init创建servletContext的对象
  19. ajax 参数data问题 data中的 参数名 参数值为string 提交到后台后,会自动转换参数名相同的 类型 和 js字符串拼接
  20. (转)Asp.net页面生命周期详解任我行(1)-小试牛刀,编写页面代码

热门文章

  1. jquery 利用CSS 控制打印样式
  2. 【转】nGrinder 简易使用教程
  3. [kafka] 001_kafka起步
  4. android 向服务器上传
  5. 基础 | batchnorm原理及代码详解
  6. 取消excel 工作保护 密码的宏
  7. VS自带的dbghelp.h文件 报错
  8. e814. 创建一个可监听选择状态的菜单项
  9. mysql limit分页查询效率
  10. java Object类源代码详解 及native (转自 http://blog.csdn.net/sjw890821sjw/article/details/8058843)