ffmpeg-android icon indicating copy to clipboard operation
ffmpeg-android copied to clipboard

pcm to mp3 with sampling rates of 16000

Open maoai-xianyu opened this issue 9 years ago • 2 comments

“-y -ac 1 -ar 8000 -f s16le -i xxx.pcm -acodec libmp3lame -ab 128K yyyy.mp3 ” I use sampling rates of 8000, PCM covert mp3 is right. When I use sampling rates of 16000, PCM covert mp3 is wrong. How can I fix it. Please help me. How can I change the code.

maoai-xianyu avatar Nov 18 '16 08:11 maoai-xianyu

"-y -ac 1 -ar 16000 -f s16le -i xxx.pcm -c:a libmp3lame -q:a 2 yyy.mp3"

maoai-xianyu avatar Nov 18 '16 11:11 maoai-xianyu

ffmpeg -f s16be -ar 44.1k -ac 1 -i input.pcm -ar 16k output.mp3

hope help you

lessismore100 avatar Sep 26 '17 08:09 lessismore100