ffmpeg convert flv file to mp3

原创文章,转载请注明来源并保留原文链接

Using ffmpeg for coverting .flv file to .mp3.

ffmpeg -i source.flv -ab 128k -ac 2 -acodec libmp3lame output.mp3

I got this error:

unknown encoder 'libmp3lame'

solution:

[sudo] aptitude install libavcodec-extra-52

参数说明:

-ac 声道
-ar 采样率
-ab 比特率

One thought on “ffmpeg convert flv file to mp3

Leave a Reply

Your email address will not be published. Required fields are marked *