linux convert mp3 to wav
来源:互联网 发布:程序员笔记软件 知乎 编辑:程序博客网 时间:2024/04/28 13:58
convert wav to flac
http://flac.sourceforge.net/faq.html
Install mpg321 or mpg123
Type the following command under Debian / Ubuntu Linux, enter:
sudo apt-get install mpg321
OR
sudo apt-get install mpg123
I recommend using mpg123 as it is updated frequently.
Install mpg123 under CentOS / RHEL / Fedora Linux
Turn on rpmforge repo and type the following command:
yum install mpg123
Convert an MP3 to WAV
The -w option will convert an .mp3 file to .wav file. The syntax is:
mpg123 -w output.wav input.mp3
OR
mpg321 -w output.wav input.mp3
A Sample Shell Script Helper Function
Add the following to your ~/.bashrc startup file (tested with bash v3.x+):
mp3towav(){[[ $# -eq 0 ]] && { echo "mp3wav mp3file"; exit 1; }for i in "$@"do# create .wav file namelocal out="${i%/*}.wav"[[ -f "$i" ]] && { echo -n "Processing ${i}..."; mpg123 -w "${out}" "$i" &>/dev/null && echo "done." || echo "failed."; }done}
Use it as follows:
mp3towav *.mp3mp3towav "this is a test.mp3"ls *.wav
- linux convert mp3 to wav
- iPhone convert mp3 to wav or caf
- convert wav to mp3 with ffmpeg
- Convert WMA to MP3 in Linux
- ubuntu Mp3 to WAV pydub install
- Linux下wav与mp3互转
- Compressing Wav file to MP3(代码实现:将Wav格式压缩成Mp3 )
- FFMPEG mp3->wav wav->pcm
- linux下lame编程:wav转MP3示例代码
- linux下lame编程:wav转MP3示例代码
- linux下音乐播放器wav和mp3
- C#播放wav,MP3
- AAC AMR WAV MP3
- MP3转换为WAV
- MP3/WAV 播放
- lame wav mp3
- Java WAV转MP3
- ffmpeg MP3转wav
- 1年内近两千团购网蒸发 第三方统计数据打架
- objective-c 中随机数的用法 (3种:arc4random() 、random()、CCRANDOM_0_1() )
- java导出excel
- 做无线分享时用到的xml生成类,分享了
- Cross Validation
- linux convert mp3 to wav
- android中listview分页加载数据
- 【iOS-Cocos2d游戏开发】触屏事件处理机制
- 黑马程序员——黑马诗歌
- J2EE架构与struts2.0基本配置
- java导出CSV文件
- 弹出窗口的返回按键事件处理
- strtol
- window.event对象详细介绍