Android :: Video Camera Recorder - Source And Encoder Lines

May 26, 2009

I've been trying to develop an application for the android 1.5 sdk version that allows the user to simply recorder a video but it has been a long road. I can record audio with the simple example on the android developers website but when I put the VideoSource and the VideoEncoder lines it gives a 100 error that means that the Camera server died. Here is an example of the code.
recorder.setCamera(mCamera); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile("/sdcard/dcim/Camera/test.3gp");
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.MPEG_4_SP);
recorder.prepare(); recorder.start(); ...

Here is the debug error messages:
05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.audio_flinger' died 05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.player' died 05-26 11:37:55.331: INFO/ServiceManager(30): service 'media.camera' died 05-26 11:37:55.331: WARN/MediaPlayer(690): MediaPlayer server died! 05-26 11:37:55.331: ERROR/MediaPlayer(690): error (100, 0) 05-26 11:37:55.331: WARN/Camera(1462): Camera server died! 05-26 11:37:55.331: WARN/Camera(1462): ICamera died 05-26 11:37:55.341: ERROR/MediaPlayer(690): Error (100,0) 05-26 11:37:55.341: INFO/SONGSEARCH(690): album="The Assassination of Jesse James" 05-26 11:37:55.391: INFO/DEBUG(1485): debuggerd: Apr 21 2009 13:42:23 05-26 11:37:55.401: INFO/ActivityManager(60): Displayed activity org.reccamera.com/.camera: 5276 ms 05-26 11:37:55.421: ERROR/Camera(1462): Error 100 05-26 11:37:55.421: WARN/AudioSystem(60): AudioFlinger server died!

Android :: Video Camera Recorder - Source and Encoder Lines


Android :: Video Recording / Source And Encoder Giving Error

Nov 18, 2009

When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.

setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }

View 3 Replies View Related

Android :: Video Recorder As Alternative To Camera Preview Filter?

May 9, 2009

A number of previous posts imply that attempts to apply bespoke image processing on a Camera preview are hamstrung by a buggy API and will in any event run extremely slowly due to the need to manually decode the preview buffer. Can anyone comment on whether it is possible to use the video recorder as an alternative means of achieving this?

View 2 Replies View Related

Android : Direct Video Encoder Access

Apr 16, 2009

Does anybody know of a way to directly access the Video Encoders provided by the(android.media.MediaRecorder) API? I'd like to make changes to the raw camera data "before" it gets encoded.

View 4 Replies View Related

Media :: Save Encoded Video Steam From Encoder And Add Custom Composer Engine?

Dec 5, 2009

First, I want to save the encoded video stream from the encoder,And then, the encoder recieves the uncompressed video stream from camera. How can my application recieve the compressed stream from the encoder?

Second, I'd like to add the custom composer engine to media framework(opencore), And then I'll use the already-launched device, HTC Hero and Motrola Droid, etc. The custom composer engine will recieve the video stream from the encoder. And, save the stream using the custom file format. Is it possible add the custome engine using the already-lauched device? If it is posselbe, where can I find the references?

View 2 Replies View Related

Android :: Media Recorder Class Setting Audio Source / Unsupported Parameter

Jun 9, 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 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.

View 5 Replies View Related

Android :: Camera Preview - Strange Lines On 1.5 Version Of Sdk

Jan 13, 2010

I am developing the camera module for an android application. In main application when user clicks on 'take picture' button, new view with SurfaceView control is opened and camera preview is shown. When users click on dpad center, camera takes picture and save it to the disc. Pretty simple and straightforward.

Everything works fine on my device - HTC Tattoo, minsdkversion 1.6...but when I tested application on HTC Hero minsdkversion 1.5, when camera preview is shown,some strange lines occur. altough preview is crashed, taking of pictures works fine

Here is the picture:

View 3 Replies View Related

Android :: Video Recorder Application No Longer In Market

Mar 6, 2009

I just got a new g1 today and was reinstalling my apps. I noticed the video recorder app is no longer on the market. I was able to find the voice client (sound for the video) but not the actual video recorder. Does anyone know why it was pulled by google or does anyone know the dev's site/or have it where I can just download it?

View 2 Replies View Related

General :: What App For A Video Recorder

Mar 1, 2013

Is there a good free video app that can record video upto 12 hours , to catch a thief, my installed video camera will only let me record up to 30 minutes which is no good for me, my phone is gingerbread, or can i buy a stand alone battery powered video recorder.

View 1 Replies View Related

Media :: Video Recorder Frames Per Second?

Apr 10, 2009

So with Cupcake looming, does anyone know what kinda Frames per second the video recorder will have?

View 2 Replies View Related

Android :: Call Built-in Video Recorder In Droid Through An Implicit Intent?

Aug 26, 2010

Is it possible to call the built-in Video Recorder in Android through an implicit Intent? I did some search but haven't figured out yet.

View 1 Replies View Related

HTC EVO 4G :: Low Quality Audio Ever Be Fixed For Video Recorder?

Jun 15, 2010

The audio being recorded is horrible. Will there ever be a fix for that because I'm considering taking my EVO back.

View 3 Replies View Related

Motorola Droid :: Video Recorder - How To Zoom In?

Jan 31, 2010

Is it just me or does the Video camera suck? How do you zoom in ?

View 2 Replies View Related

Samsung Vibrant :: Video Recorder HD APK File

Nov 20, 2010

After installing a custom ROM, T-Mobile's video recorder HD is obviously not there anymore. Anybody willing to message me the APK file for it?

View 3 Replies View Related

Media : Way To Download A Video Recorder To Tmobile G1?

Oct 19, 2008

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 Related

Android :: App Serves As Both - Call Recorder And A Regular Voice Recorder

Aug 3, 2010

What 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 Related

Motorola Droid X :: Video Recorder Undocumented Upgrade

Sep 23, 2010

Now records at 30Fps with stereo sound. Phone arena is saying this was an undocumented upgrade. Sorry if this was posted already, but I didn't see it anywhere.

View 2 Replies View Related

HTC Droid Eris :: Video Recorder 3gp Format And Zoom Feature

Feb 21, 2010

What kind of format is the .3pg the video recording is saved? Can zoom be enable for the video recorder?

View 2 Replies View Related

Samsung Moment :: Virtual Keyboard - Available Apps - Video Recorder

Nov 12, 2009

So despite the GPS glitches I experienced with my first Moment, this second unit is really impressing me. Everyday I grow to like it even more and I can't believe I almost traded it for a Hero!

I love the solid build and the ability to customize the phone.

I love the physical keyboard but also having the option of a virtual keyboard.

I love the thousands of available apps.

I love having a video recorder and camera in one.

I love the AMOLED screen.

View 49 Replies View Related

Motorola Droid :: Automatic Brightness Of Video Recorder Not Working Correctly

Dec 4, 2009

i don't record video very often, so i just noticed this problem after having my droid for almost a month. does anyone else experience this? it's a little difficult to explain, but it seems like the automatic brightness of the video recorder is not working correctly. in low light scenarios, instead of the video getting brighter so you can see more, it actually gets DIMMER. i can tell this because i set up a scenario where half the room is regular light and half is low light.

things look fine in the regular light. additionally, things look fine when i have both sides of the room in the picture, and i can tell the droid adjusts a little because the the picture will get brighter, causing the regular light side to be very bright but the low light side to be visible (that's the expected behavior). then, when i pan to the low light side, i see the camera make a brightness adjustment again, but it gets dimmer rather than brighter, making it almost impossible to see anything. the screen basically turns black. i'm sure this is not how it's supposed to work, but what i'm wondering is whether i have a faulty unit and should exchange or whether everyone has this issue. did anyone understand this post?

View 4 Replies View Related

Android :: Fusion Recorder - Audio Recorder

Nov 6, 2010

We 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).

View 4 Replies View Related

Android :: Getting Source For Hardware Camera

Aug 13, 2010

I have been trying to find the source for Android's Camera class so that I can examine how it calls the drivers that it is supposed to interface with. The API that android provides is insufficient for my purposes, and I am hoping to be able bypass that API. However, I am having trouble finding any documentation, and am resorting to accessing the code that is supposed to be extremely open source for samples. I have been able to access the documentation

Here, the source for my specific phone here, and (what I thought was most promising) the source for Android libraries here. However, I have not been able to find android.hardware.Camera in this git repo, or any of these locations.

View 2 Replies View Related

Android :: Source Code Of Sample Camera Application?

Apr 2, 2010

I want a sample application for camera in android. If anybody developed any application please share with me along with source code.

View 1 Replies View Related

Android :: Droid Camera Application Source Code?

Jul 9, 2009

Where can I get the android Camera application source code, I'm referring to the camera application that is already installed on my G1, not the camera API source code.

View 1 Replies View Related

Android :: G1 Video Driver Source For Phone?

Apr 9, 2009

Where can I find G1 video driver source?

View 5 Replies View Related

Android :: Video Recording - Source Code For Camcorder

Jul 3, 2009

Where can I get source code for camcorder? Also, it would be of much help to me if anyone could post a simple example for video recording.

View 3 Replies View Related

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 View Related

General :: Which File Is Char Encoder On Android

Jan 28, 2014

I get a new phone a month ago.(tronsmart TS7 - mtk6582) and in some place the hebrew language (my longuage) doesn't render

for example:

when I port a rom from another MTK6582 phone (W450) the font was perfect, but a lot other thing was a mess (cam,GPU driver/codec) my Q is with file is the one that make this "render" so I can port just this file from the other phone rom?

View 1 Replies View Related

HTC EVO 4G :: Camera / Video Camera Settings?

Jul 25, 2010

I'm Trying to fine tune the Camera settings and was wondering if you guys changed the settings around and got better Pictures/Video and what did you change your settings to? I'm more concerned about fine tuning the video Settings even though i know both the Camera/Camcorder share the same settings.

View 1 Replies View Related

General :: MP3 To AAC Encoder / Converter

Mar 24, 2012

Music takes up too much space on my phone.. What aac converter for music transfers to phones? it must preserve the tags in mp3s. the artworks etc

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved