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

Method prepareEncoder

CameraToMpegTest.java:331–378  ·  view source on GitHub ↗

Configures encoder and muxer state, and prepares the input Surface. Initializes mEncoder, mMuxer, mInputSurface, mBufferInfo, mTrackIndex, and mMuxerStarted.

(int width, int height, int bitRate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encodeCameraToMpegMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected