[android-developers] Re: SoundRecordingDemo in v1.0
To my knowledge, ffmpeg is the only available application I've found which can convert these files into something more useable(wav, mp3) I've just finished setting up a server which uses ffmpeg to get the audio data out of files recorded by the phone. If you need any help, let me know. It took me about a day of fiddling and reading through countless articles to get everything working the way I needed. On Nov 19, 5:23 am, Alvin Yates mamboth...@gmail.com wrote: It is a 3gp file. If you want theAMRdata, you'll have to use ffmpeg to rip it directly (As far as I'm aware). That will require some knowhow and the ability to compile the source from CVS, since ffmpeg isn't a typical open source project in the sense it has release builds of any kind. There's a couple of guides to doing so floating around the web. On Nov 19, 12:12 am, bluekidjoe bluekid...@gmail.com wrote: Excuse me... Could anyone give me the SoundRecordingDemo app??? I have already spent a lot time... but in vain... Besides, I followed the source code described in the following hyperlink:http://code.google.com/android/reference/android/media/MediaRecorder. recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); Is the recorded audio file a 3gp file or aamrfile? I checked the header of the recorded file and it seems not aamrfile.http://wiki.forum.nokia.com/index.php/AMR_format(amrformat) Could I get the pureamrfile? and how? Thanks~ On 10月1日, 下午9時12分, Guillaume Perrot guillaume.p...@gmail.com wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the newfilein the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SoundRecordingDemo in v1.0
Excuse me... Could anyone give me the SoundRecordingDemo app??? I have already spent a lot time... but in vain... Besides, I followed the source code described in the following hyperlink: http://code.google.com/android/reference/android/media/MediaRecorder.html. recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); Is the recorded audio file a 3gp file or a amr file? I checked the header of the recorded file and it seems not a amr file. http://wiki.forum.nokia.com/index.php/AMR_format (amr format) Could I get the pure amr file? and how? Thanks~ On 10月1日, 下午9時12分, Guillaume Perrot [EMAIL PROTECTED] wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the newfilein the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SoundRecordingDemo in v1.0
It is a 3gp file. If you want the AMR data, you'll have to use ffmpeg to rip it directly (As far as I'm aware). That will require some knowhow and the ability to compile the source from CVS, since ffmpeg isn't a typical open source project in the sense it has release builds of any kind. There's a couple of guides to doing so floating around the web. On Nov 19, 12:12 am, bluekidjoe [EMAIL PROTECTED] wrote: Excuse me... Could anyone give me the SoundRecordingDemo app??? I have already spent a lot time... but in vain... Besides, I followed the source code described in the following hyperlink:http://code.google.com/android/reference/android/media/MediaRecorder. recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); Is the recorded audio file a 3gp file or a amr file? I checked the header of the recorded file and it seems not a amr file.http://wiki.forum.nokia.com/index.php/AMR_format(amr format) Could I get the pure amr file? and how? Thanks~ On 10月1日, 下午9時12分, Guillaume Perrot [EMAIL PROTECTED] wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the newfilein the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SoundRecordingDemo in v1.0
Eventually I used a hidden default intent to capture a sound and retrieve the audio file: new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); On 1 oct, 15:12, Guillaume Perrot [EMAIL PROTECTED] wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the new file in the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SoundRecordingDemo in v1.0
How do you test the code without real phone? Can you record from emulator? what is the format of sound? Thank! On Oct 1, 9:25 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Eventually I used a hidden default intent to capture a sound and retrieve the audio file: new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); On 1 oct, 15:12, Guillaume Perrot [EMAIL PROTECTED] wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the new file in the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SoundRecordingDemo in v1.0
yes you can. the format is .amr and you can read it with the mediaplayer. -:) 2008/10/1 april [EMAIL PROTECTED] How do you test the code without real phone? Can you record from emulator? what is the format of sound? Thank! On Oct 1, 9:25 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Eventually I used a hidden default intent to capture a sound and retrieve the audio file: new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); On 1 oct, 15:12, Guillaume Perrot [EMAIL PROTECTED] wrote: I found SoundRecordingDemo in the mailing list files. I tried this because I try to record a sound in one of my activities... First I had to add the RECORD_AUDIO permission in order not to have an error message. Regarding the code, the media scanner should be launched after recording, but I had to do this myself (in dev tools application) in order to see the new file in the music application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---