Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android:How To Get Media Recorder Output In MP3 Format?

Tags:

android

I am creating an app that contains voice recording and playing. Is it possible to record files in MP3 format?

I need output file as mp3 format. Thanks.

like image 843
Piyush Avatar asked Feb 03 '11 12:02

Piyush


Video Answer


1 Answers

There's currently no MP3 encoder built into the Android framework (as far as I know), so you can't do it out of the box. You need to add an MP3 encoding library to your project to do so.

For this, you can look at this stackoverflow post for a complete answer.

like image 89
Lior Avatar answered Nov 05 '22 17:11

Lior