-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
How to convert ByteBuffer byteBuffer to jpeg format? Could you give a sample code? Thanks for your help.
@OverRide
public void onDecodedFrameStream(ByteBuffer byteBuffer, MediaCodec.BufferInfo bufferInfo, boolean b, int i, int i1, int i2) {
// decoded stream data
Log.d("onDecodedFrameStream","frame isIFrame == " + b +" width = "+ i +" height = "+ i1 +" stream FormatType = " + i2 );
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels