Android :: How To Get Media Recorder In MP3 Format
Apr 10, 2009Would be more useful than AMR / MP4. Also would be compatible with the very handy source code for RingDroid.
View 2 RepliesWould be more useful than AMR / MP4. Also would be compatible with the very handy source code for RingDroid.
View 2 RepliesWhat kind of format is the .3pg the video recording is saved? Can zoom be enable for the video recorder?
View 2 Replies View RelatedI have a situation where my MediaRecorder instance causes a segfault. I'm working with a HTC Hero, Android 1.5+APIs. In the log i see (after the segfault announcement) a register dump and then a numbered list #00 libmedia_jni.so to #18 linker, then a stack trace. My Eclipse won't let me copy the log buffer, but I've done three screen captures that sum it up. If you have time to examine, send me a direct e-mail.<pre><code> if (mRecorder == null) mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.MPEG_4_SP);// mRecorder.setVideoSize(640, 480); // mRecorder.setVideoFrameRate(20); mRecorder.setPreviewDisplay(surfaceHolder.getSurface()); mRecorder.prepare();mRecorder.start(); </code></pre> I've tried other variants, including H263 and 3gp. What else can I do to debug this? Everythin g seems fine up to prepare(). I tried adding the onErrorListener, but it seems to interfere with the MediaPlayer's onErrorListener. I'm using a 4-second beep-count to prepare for auto triggering of the camera, and when I enable the error handler for the MR everything in my handler state machines goes awry.
View 4 Replies View RelatedI am building a camera app, where photos and videos are continuously being captured and saved to the SD card. The videos are short (few minutes), and their length are preset with setMaxDuration(). When Media Recorder.MEDIA_RECORDER_INFO_MAX_DURATION_REACHED is reached, the video is saved, and a new sequence is initialized with something like: The whole process works fine, while the main activity is in the foreground. But, when I go to another activity (e.g. settings), the video recording works in the background only until max duration is reached. The file is saved, but a new sequence can not be started because prepare() fails. setPreviewDisplay() needs to be there, but it doesn't like not having a proper surface to attach to. I tried to use a dummy Surface, a dummy SurfaceHolder, or reuse the Camera with mMediaRecorder.set Camera(), but nothing works. Is there a way to initialize Media Recorder in the background?
View 2 Replies View RelatedSo with Cupcake looming, does anyone know what kinda Frames per second the video recorder will have?
View 2 Replies View RelatedI'm new in Android development and I have the next question/problem. I'm playing around with the Media Recorder class to record just audio from the microphone. I'm following the steps indicated in the official ://developer.android.com/reference/android/media/MediaRecorder.html
So I have a method that initializes and configure the Media Recorder object in order to start recording. Here you have the code:
//initializes audio recorder
//configure the input sources
mrecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
//set the output format
mrecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
//set the audio encoding
mrecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT)
can anyone tell me if there is going to be a way to download a video recorder to the tmobile g1, since there isn't one on the phone as is?
View 7 Replies View RelatedI'm new in Android development and I have the next question/problem. I'm playing around with the Media Recorder class to record just audio from the microphone. I'm following the steps indicated in the official site:
http://developer.android.com/reference/android/media/MediaRecorder.html
So I have a method that initializes and configure the MediaRecorder object in order to start recording. Here you have the code:
this.mr = new MediaRecorder();
this.mr.setAudioSource(MediaRecorder.AudioSource.MIC);
this.mr.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
this.mr.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
this.mr.setOutputFile(this.path + this.fileName);
try { this.mr.prepare();
} catch (IllegalStateException e) { Log.d("Syso", e.toString());
e.printStackTrace();
} catch (IOException e) { Log.d("Syso", e.toString());
e.printStackTrace();
}
When I execute this code in the simulator, thanks to logcat, I can see that the method setAudioSource(MediaRecorder.AudioSource.MIC) gives the next error (with the tag audio_ipunt) when it is called:
ERROR/audio_input(34): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
ERROR/audio_input(34): VerifyAndSetParameter failed
And then when the method prepare() is called, I get the another error again:
ERROR/PVOMXEncNode(34): PVMFOMXEncNode-Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle
If I start to record by calling the method start(). I get lots of messages saying:
AudioFlinger(34):RecordThread: buffer overflow
Then after stop and release, I can see that a file has been created, but it doesn't seem that it been well recorded. Anyway, if I try this in a real device I can record with no problems, but I CAN'T play what I just recorded. I guess that the key is in these errors that I've mentioned before.
They are stored on my SD card in .wmv format.
View 4 Replies View RelatedWhat would y'all recommend? I see tons of them on AppBrain, but it doesn't seem that any of them do both things, and the few that do have ridiculous time limits o the records like 2-4 minutes.
View 7 Replies View RelatedWe are a new company that is focused on Android development. We have completed and uploaded our Fusion Recorder application into the Android Market. We've worked hard to make sure that it is a reliable product and that it contains a solid set of features for version one (v.1). We are currently working on the designs for our our Website, facebook, and Twitter pages since posting our application. We look forward to adding features as we move forward.
We are interested in feedback from users and want to make sure our product(s) are as defect free as possible. So, if you do run into an issue, big or small, please shoot us an email at our support email.
Here are a some screen shots that show off the Fusion Recorder User Interface.
Also, if you don't see a feature you like please email that to us so we can add it to our Feature Request database. It may not be the next week we add it (we take testing seriously, which takes time). But we definitely will review such requests, which we understand are valuable.
Also, we were able to test this on a few Android Smartphones, but we are looking forward to seeing if there are any issues on phones we have not tested on. So, if you run into an issue please include, at the least, the Android Smartphone manufacturer, product name, Android OS version number (e.g. Android 2.2).
I was using Cucusoft ipod video converter to recode my divx and wmv movies to 320x240 using the H.264 codec so they would be playable on my ipod nano. Does anyone know the best combination of codec, recoding software, and settings (res, etc), to use for the G1? I downloaded "video player" but I haven't played with it yet.
View 7 Replies View RelatedI have a moto droid and I have video playing issues, and I don't understand technology at all. Somebody sent me a video (from new samsung fascinate) and when I tried to watch it I only got audio. I have the arcmedia app, which allows me to watch the video, but I think the audio is messed up. This video is in mp4. So why can't I watch this video with my stock media player?
View 27 Replies View RelatedDoes anyone know how I can recorder on my phone in msm or another format that I can send to someone phone or email. Every time I try to load or send a video I am told its to big.
View 10 Replies View RelatedHow to record audio into ogg format?
View 1 Replies View RelatedI know that any format conversion sometimes (or most of the time) produces less than desirable results. So what are some tips for converting from text files to ePub format? For example, the best way to get chapters identified so they show up in a table of contents?
View 2 Replies View RelatedEncoding a video to the following specs and loading it on the EVO plays with the included video player perfectly. No jumping and clear, in sync sound. 720p resolution so the HDMI out should work once the cables are available. h.264 at Level 3.1, 3 reference frames and baseline profile. 1280 x 720 AAC stereo audio at 44100Hz, 128kbps Bit rate does not seem to be all that important as long as the video file is less than 2GB.Muxed to an mp4 container in IMSA standard format and optimized for streaming.
View 12 Replies View RelatedI want to play/Stream asf files on android. I tried using android media player but i am getting unsupported file type exception. Does any one have experience with asf file formats with android.
View 1 Replies View RelatedSamsung Galaxy S getting "Unsupported file format" on .mp3s in AllShare (DLNA). Want to stream music from Windows 7 computer to Android device. Connected AllShare to Windows Media Player 12 over WiFi G network to "Play file from server on my phone". I can browse PC media folders from the Galaxy S. In AllShare, I click an .MP3 from my PC library, add it to the AllShare playlist, then the circle spins for about 10 seconds and I finally get the pop-up error "Unsupported file format." All .mp3's are DRM-free unprotected files. They play fine directly from the MicroSD card through the standard Android Music app. Disconnected/reconnected WiFi, same results. Read a few other posts on various forums, a few people have the same issue. Looks like fewer are even trying to use DLNA like this. Heard plenty of "hypothetical" troubleshooting steps but still searching for someone who's actually tried the steps & got it to work. Some had success with other DLNA media servers or by using different software altogether. I want to specifically stream music from a PC to my SGS using DLNA & WMP. Great for portability. Any "dittos"? Resolutions? By the way this device is AWESOME (Sprint Epic 4G) Also I realize this post is verbose; I want it to easily appear for others' search results. Please feel free to copy, paste & post in a more appropriate forum or thread.
View 3 Replies View RelatedIn the android phone, click "settings" and then goto "date & time settings" , user can choose "Use 24-hour format" or not. My question is how to find out this setting through api?
View 6 Replies View RelatedThis maybe be a simple question but how do you format a double into a dollar format? For example I have a value of 4.2. In a textview I would like to see $4.20. Also what are my options for applying the correct currency symbol?
View 2 Replies View RelatedPassing two int values m =0 & s = 11, to below function String formatted = String.format("%1$02d:%2$02d", m, s); returning the value like .0:11 ,What could be the problem? m=0, s=11 -->.0:11 m=0, s=1 --> .0:.1. The 0 added to format the string always coming as '.' (dot). Can anyone know ,from where the number patterns are getting loaded in Android? I gone thorough the code, Its related the following file, androiddalviklibcoreicusrcmainjavacomibmicu4jniutil Resources.java ->localeData.numberPattern. How the pattern for particular locale is loaded, What could be the problem for the above?
View 3 Replies View RelatedI am trying to convert string to date, and then I ma saving this date in a file , which saves in the following format:Mon Jun 21 16:31:24 Asia/Karachi 2010.and then when later I read this date from file as a String, I again want to save it to a Date,
View 2 Replies View RelatedI recorded some stuff with me on the drums on the native Voice Recorder App. 1 I can't find the file on my SD card, and 2 If I email it to myself it is in the format .amr which i don't recognize.3. Is there a better voice recorder? Better quality, different format files, editing, or easier to export?
View 3 Replies View RelatedI'm having a hard time finding an app that functions as a Voice Recorder, but it also attempts to convert your recording into text. This would be very help imfho.
View 1 Replies View RelatedI am looking for an automatic conversation recorder application. What I need the application to do is to constantly 'listen' on the microphone, and as soon somebody around starts speaking (the noise level increases to high) it automatically starts to record the conversation. Once there are no more sounds coming in for e.g. a few minutes, it stops recording.
View 13 Replies View RelatedAre ther any existing Android application, working similar to the following working steps
1. Automatic receive the call, then
2. Play some sound out to the caller, wait for DTMF response, then
3. Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)
4. Callee can play back the recoreded sound later.If there aren't any, is it possible now for provided Android SDK to develop it.
Any way to record phone calls beside google voice?
View 11 Replies View RelatedIs there and app out there that will let me choose which contacts I'd like to back up sms and record the calls? Rather than all of them?
View 1 Replies View RelatedI'm wondering if there are any voice recorders out there that allow you to share recordings via text msg? Anyone know?
View 4 Replies View Related