All Projects → lykhonis → Mediacodec

lykhonis / Mediacodec

Example of how to use MediaCodec to encode/decode and pass samples as byte array

Programming Languages

java
68154 projects - #9 most used programming language

MediaCodec

Example show case use cases of MediaCodec. It can be valuable for applications that doing encoding, decoding and transfering samples in H.264 (for example) over network, etc.

Example contains:

  • Creating surface and associated canvas to draw onto
  • Binding surface to encoder to produce H.264 samples
  • Creating surface view and binding decoder to it
  • Configuring decoder to accept H.264 and draw onto surface view
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].