I'm trying to get MediaRecorder to work, in isolation without doing anything fancy, and no matter what I do either prepare fails or I get a segfault. I've tested on the emulator in 1.5 and 2.0, and in 1.5 on an htc hero, and I always get the same results. If I record with no audio I get this:
E/PVOMXEncNode( 31): PVMFOMXEncNode-Video_AVC::DoPrepare(): Cannot get component OMX.PV.avcenc handle, try another component if available and prepare fails with a java.lang.RuntimeException. If I record with audio I get a segfault. Recording with audio but no video works. I am using h264 as my video encoder. If the codec isn't available, shouldn't I get an exception when I call setVideoEncoder, and not a generic "java.lang.RuntimeException: prepare failed" when I call prepare? Has anybody run up against this before? Does anybody have working MediaRecorder example code I can compare mine against? --wtzytrliil -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

