Record Video via Media Recorder

  • Replies:1
Daniel S.
  • Forum posts: 3

Apr 12, 2012, 2:43:48 PM via Website

Hi everybody,

I have a question regarding the Android MediaRecorder - This class is driving me nuts. ;)

My test device
HTC Desire HD
Firmware 2.3.5

I want to write an app, which records a video. This should be implementet via the MediaRecorder (not via Intents).
On the Google-Developers site I found a "tutorial" (http://developer.android.com/guide/topics/media/camera.html)

My problem:

I followed the whole tutorial.
When I'm starting my application on my test device it throws an exception ("start failed") at recorder.start() if I set the quality to high (CamcorderProfile.QUALITY_HIGH).
If I change the setting to QUALITY_LOW the app starts recording for 1-2 seconds. After that the screen freezes and my LogCat tracks the following errors:
  • media server died!
  • camera server died
  • ICamera died
I also get ERROR 100

Hopefully you can help me.

Thanks and regards
Daniel

Reply
Eric McBride
  • Forum posts: 1,790

Apr 12, 2012, 4:04:03 PM via Website

Are there any devs available that can help Daniel out with this?

You could also try posting on XDA Developers to see if the devs there can help.

Reply