Android : Mp3 Encoder - Record Audio In Mp3 Format
Aug 2, 2010
I want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?
View 1 Replies
Dec 20, 2009
How to record audio into ogg format?
View 1 Replies
View Related
May 14, 2009
Now i want to record audio in WAV format. What should i do now because android only supports *.3gp or *.AMR type?
View 6 Replies
View Related
Jul 19, 2010
I need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.
package com.video;
* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class video extends Activity {
public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}
View 2 Replies
View Related
Oct 9, 2009
My application cannot handle the JNIE overhead, as I need to make 2 JNIE calls to the native C/C++ code for every 20msec. So I am trying to use the native media libraries and the realted C/C++ files provided by Android in the folder "//external/srec/audio/test" of the donut build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing all the calls in the native layer.
I am using the sampling rate as 8000 and want to read 160 samples (320 bytes) at a time.
I used the following values to create the AudioRecord..
CODE:..........
It says "success" after creating this interface but I am getting the error "Bad Value" if I am doing the InitCheck.
And it is crashing once I start reading the samples or if I try to retrieve the configured sampling rate.
Has anybody tried to access this native code?
View 4 Replies
View Related
Jan 17, 2010
I have searched the whole group but wasn't able to find a answer for my problem.I want to record audio from the microphone, apply some audio signal processing and than save the processed audio data in a compressed format.I figured out, how to record audio uncompressed but now I wonder if I can use some api functions to store this data in a supported compressed format.
View 4 Replies
View Related
Jun 2, 2009
Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.
View 5 Replies
View Related
May 8, 2010
Is there a way to determine the audio format of an audio file in Android? On normal java I do it like this:
File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();
View 2 Replies
View Related
Jun 15, 2010
In the camcorder application, I have chosen to record the video's in MP4. However, when you then side load them to the PC or what-not they appear as 3GPP or something. Is 3GPP a version of MP4 or is the camcorder telling fibs? If it's not, how do I record in plain old MP4?
View 4 Replies
View Related
Nov 16, 2010
Does 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 Related
Mar 10, 2009
I want to send audio stream to internet directly, instead of store in the file. But the output of MediaRecord only supports file by seting setOutputFile(String path) , not OutputStream. Is there any methods to do this?
View 2 Replies
View Related
Jun 7, 2009
How do I record some audio using Android?
View 1 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the blue tooth input and not the device microphone? I am able to playback whatever am saying through device's mic but not able to figure out how to use the blue tooth mic instead. Any assistance would be greatly appreciated.
View 1 Replies
View Related
Jul 21, 2010
I try to record audio using android ndk. people say I can use "frameworks/base/media/libmedia/AudioRecord.cpp". but it is in kernel. how can I access and use it?
View 2 Replies
View Related
Aug 20, 2010
How to put on pause? I have not found such a function. There are other ways?
View 1 Replies
View Related
Jul 7, 2010
Does anyone know of a way to do this? I have a FM audio stream that I want to record to a digital audio file.
View 5 Replies
View Related
Dec 9, 2009
I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?
View 3 Replies
View Related
Apr 11, 2014
I am trying to run some audio tests on smartphones. what i want to do is to generate a tone from the phone's speaker AND record it by the same phone's microphone at the same exact time.the tone generations runs pretty well, but is it possible to self record?
View 8 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the bluetooth input and not the device microphone? I am able to playback whatever am saying through device's mic but am not able to figure out how to use the bluetooth mic instead.
View 6 Replies
View Related
Jun 19, 2010
1st. Are our phones (HTC Incredible) capable of digitally recording audio from a mic? For example, can I plug a microphone into the 3.5mm jack and start recording the audio. (given the hardware is capable) Which leads me to my next question, if so, is there an app for it? I searched and searched but couldn't find much info on it...
View 3 Replies
View Related
Mar 29, 2010
I'm getting the above error message when i run below code. please let me know if you have found any solution for this? code...
View 2 Replies
View Related
Oct 26, 2010
I can use AudioRecord to pull the audio data out. But the format is PCM, which is too huge to sent out through network. Does any one know how to change it to AMR ?
View 2 Replies
View Related
Jun 4, 2010
I'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)
View 1 Replies
View Related
Jan 22, 2010
Does such a thing exist please folks - want to rip some audio for an mp3 ringtone from a comedy video clip
View 4 Replies
View Related
Jun 22, 2010
I have developed a streaming app for Android. My app is streaming AAC audio.The app works fine on 1.5, 1.6, and 2.1. I tested it on Froyo, the android 2.2 and it does not work there.I have try everthing - Streaming directly from server url - Download incrementaly the content, store in a temp file, start reading. - Download incrementaly the content, store in a ContentProvider and start reading.No luck, I always got errors : 06-23 02:47:02.257: ERROR/MediaPlayer(266): Unable to to create media player 06-23 02:47:02.257: INFO/System.out(266): setDataSourceFD failed.: status=0x80000000 Does Froyo support AAC? Anyone happens to stream AAC?
View 4 Replies
View Related
Oct 12, 2010
I am doing recording in following way and storing byte array in a binary file. But the binary file I am getting is not in any format. what can be the problem? code...
View 3 Replies
View Related
Mar 5, 2014
According to the MS website, Windows Media Player queries an MTP device to see what formats it supports. My Razr Maxx HD supports ogg and m4a. When attempting to sync WMP does not sync those files stating they might not be supported on the device. Being that I've had so much trouble in the past even getting any of the Android devices to be properly detected as an MTP device I'm worried this is a driver issue.I should be able to get WMP to at least convert them.
this is the device mis-reporting the formats, Windows not querying them properly, or an actual WMP issue? Would like to be able to get sync working without any conversions. Maybe there is a way to hardcode formats within the mtp inf file?
View 1 Replies
View Related
Aug 11, 2010
i'm big into freestyling. i have over 1500 instrumentals on my phone.i can't figure out how to play them and record myself (either audio or video) at the same time.i figure i'm either gonna have to download a new music player that won't close or a video/audio recorder that won't close the "Music" player that came with my evo.and before anyone goes tryin to be smart, i realize that even if i was able to accomplish such an action the quality would probably be really low due to speaker and mic being so close.my intent is more of a "on the fly lyric composition" rather than a " put myself on youtube to show everyone how awesome i am"
View 2 Replies
View Related
Oct 19, 2010
We have one of the crappiest microphones on any phone. I tried to record some audio/video with my camera and the freakin audio SUCKS! what gives? is there anything HTC/Sprint/we can do about this?
View 8 Replies
View Related
Jan 25, 2013
I have a Galaxy Note 2 and can't figure out how to record via my bluetooth headset not via the phone mic. Tried 20+ apps that record great via the phone mic but not via my headset.
View 10 Replies
View Related