https://github.com/lykhonis/mediacodec
Example of how to use MediaCodec to encode/decode and pass samples as byte array
https://github.com/lykhonis/mediacodec
Last synced: 4 months ago
JSON representation
Example of how to use MediaCodec to encode/decode and pass samples as byte array
- Host: GitHub
- URL: https://github.com/lykhonis/mediacodec
- Owner: lykhonis
- Created: 2015-06-05T18:24:41.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T21:10:17.000Z (about 11 years ago)
- Last Synced: 2025-06-15T17:08:52.881Z (about 1 year ago)
- Language: Java
- Size: 156 KB
- Stars: 79
- Watchers: 10
- Forks: 33
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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