Folks,

Any replies? I am still facing the problem in my Nexus 7 tablet which runs 
Jelly Bean.

Thanks
Shakti

On Wednesday, October 31, 2012 1:50:31 PM UTC-7, shakti sourav sahu wrote:
>
> Hi,
>
> I am getting the following error when trying to use android MediaCodec 
> class to encode audio.
>
>      MediaCodec codec = MediaCodec.createEncoderByType("audio/;");
>     MediaFormat toFormat = MediaFormat.createAudioFormat("audio/3gpp", 
> 8000, 1);
>     codec.configure(toFormat, null, null, 
> MediaCodec.CONFIGURE_FLAG_ENCODE);
>
> This is where it fails to configure.
>
> 10-31 12:00:40.634: E/WVMExtractor(19862): Failed to open libwvm.so
> 10-31 12:00:40.644: I/OMXClient(19862): Using client-side OMX mux.
> 10-31 12:00:40.665: E/ACodec(19862): [OMX.google.aac.encoder] 
> configureCodec returning error -38
> 10-31 12:00:40.665: E/MediaCodec(19862): Codec reported an error. (omx 
> error 0x80001001, internalError -38)
> 10-31 12:00:40.665: W/System.err(19862): java.lang.IllegalStateException
> 10-31 12:00:40.674: W/System.err(19862): at 
> android.media.MediaCodec.native_configure(Native Method)
> 10-31 12:00:40.674: W/System.err(19862): at 
> android.media.MediaCodec.configure(MediaCodec.java:257)
>
> Any pointers would be highly appreciated.
>
> Thanks
> Shakti
>

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

Reply via email to