问题
I want to decode and then encode a video file. The example I found on bigflakes is using the Inputsurface for decoding. I want to directly provide the decoded data to the encoder as input. I am getting error that the output buffer from decoder is null, when I provide that as input to the encoder. Any suggestions ?
Thanks
来源:https://stackoverflow.com/questions/25901345/mediacodec-android-how-to-do-decoding-encoding-from-buffer-to-buffer