Hi:

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!

..

Does anyone knows how to resolve this issue? does anyone have the same
problem?

Thanks in advance..

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to