Dear all, we are trying to use the new MediaCodec API and we follow the example here http://developer.android.com/reference/android/media/MediaCodec.html to decode live H264 video. We queue individual H264 frames to the decoder and expect to receive decoded data after dequeueing the output buffers. We also pass the SPS/PPS information at the beginning with the corresponding CodecConfig flag. However, the result of DequeueOutputBuffer is still -1. The first frame we enqueue is an H264 IDR frame, then we queue some P frames but we cant get the decoded result (DequeueOutputBuffer still returns -1). We know that the H264 frames are valid. Can anybody think of a reason why it is not woking for us? Does the decoder expect some special start codes at the beginning of the frames? Thanks for any suggestions. Alex
-- 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