Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcm to mp3 with sampling rates of 16000 #54

Open
maoai-xianyu opened this issue Nov 18, 2016 · 2 comments
Open

pcm to mp3 with sampling rates of 16000 #54

maoai-xianyu opened this issue Nov 18, 2016 · 2 comments

Comments

@maoai-xianyu
Copy link

“-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
Copy link
Author

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

@lessismore100
Copy link

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

hope help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants