Unfortunately, in the current Android API there is no way to install between the camera input and the encoder. Any solution would include capturing frames from a video source, overlaying an additional image, and then turning on an encoder for captured frames. Even in native code with NEON optimization in a fast system, this will be a slow process. Alternatively, the entire stream may be further processed in a similar manner, but a decoder will also be required.
source
share