您的位置:首页 > 其它

[ffmpeg] ffmpeg encode raw audio (pcm) into other formats (mp3, aac, wav, etc)

2014-02-17 12:00 661 查看
input raw audio info:

sample rate: 44.1k

sample format: 16bit signed integer, little endian

channel numbers: 2

encoding the raw pcm audio into .wav using ffmpeg, command line:

ffmpeg -f s16le -ar 44.1k -ac 2 -i input_file.pcm output_file.wav

thanks to http://stackoverflow.com/questions/11986279/can-ffmpeg-convert-audio-from-raw-pcm-to-wav
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: