Access StageFright.so directly to decode H.264 stream from JNIlayer in Android
问题 Is there a way to access libstagefright.so directly to decode H.264 stream from JNI layer on Android 2.3 or above? 回答1: If your objective is to decode an elementary H.264 stream, then your code will have to ensure that the stream is extracted, the codec-specific-data is provided to the codec which is primarily SPS and PPS data and frame data along with time-stamps is provided to the codec. Across all Android versions, the most common interface would be OMXCodec which is an abstraction over an