Top "Android-mediacodec" questions

MediaCodec is a class from the package "android.

Decoding h264 ByteStream on Android

I want to decode and display a raw h264 video byte stream in Android and therefore I'm currently using the …

java android video decode android-mediacodec
How to initialize MediaFormat to configure a MediaCodec to decode raw AAC data?

I have a strange issue with my StreamPlayer and I need any help I can get. The main goal I …

android android-mediacodec
Use MediaCodec and MediaExtractor to decode and code video

I need to decode a video into a sequence of bitmaps, such that I am able to modify them, and …

android video bitmap android-mediacodec mediaextractor
Media Codec dequeueOutputBuffer IllegalStateException

I try to decode a mp3 audio data stream with Android Media Codec. With a sample rate of 44100 the decoding …

android mp3 android-mediacodec decoder
In Android, how to pass a predefined Surface to MediaCodec for encoding?

I have an app that manages its own GLSurfaceView and now I want to use Android 4.3's new MediaCodec feature …

android android-mediacodec
MediaCodec H264 Encoder not working on Snapdragon 800 devices

I have written a H264 Stream Encoder using the MediaCodec API of Android. I tested it on about ten different …

java android h.264 encoder android-mediacodec
Android MediaCodec for HEVC

I'm looking into using the android MediaCodec class to decode HEVC. Are there any examples of projects that do this? …

android android-ndk android-mediacodec hevc
What does error code -1010 in Android MediaCodec mean?

Here is the stack trace: E/ACodec: [OMX.qcom.video.encoder.avc] configureCodec returning error -1010 E/ACodec: signalError(omxError 0…

android android-mediacodec
Android Camera onPreviewFrame frame rate not consistent

I am trying to encode a 30 frames per second video using MediaCodec through the Camera's PreviewCall back(onPreviewFrame). The video …

android android-camera android-mediacodec
The H.264 avc video encoded by MediaCodec in Android cannot be played

BACKGROUND: I have been working on implementing a Vine like video recorder for two days. First, I tried the MediaRecorder. …

android video h.264 android-mediacodec encoder