Decode H264 From Array of Integers
问题 I'm trying to decode a H264 raw protocol from a camera but I'm having some problems using the Jcodec H264Decoder. I receive an array of integers with the information from the camera. Below a sample of the data: array: 00 00 01 FD 00 00 14 69 00 00 00 01 61 E4 80 6F D3 5B 76 97 DF 04 3A EF 54 97 0E D9 F5...more The code I'm using is : ByteBuffer bb = ByteBuffer.wrap( Utils.intArrayToByteArray(array, arraySize) ); bb.rewind(); // Create a buffer to hold the output picture which is big enough