MCPcopy Create free account
hub / github.com/PhilLab/Android-MediaCodec-Examples / CameraToMpegTest

Class CameraToMpegTest

CameraToMpegTest.java:68–952  ·  view source on GitHub ↗

Record video from the camera preview and encode it as an MP4 file. Demonstrates the use of MediaMuxer and MediaCodec with Camera input. Does not record audio. Generally speaking, it's better to use MediaRecorder for this sort of thing. This example demonstrates one possible advantage: editing

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected