HelloHuDi / ScreenCapture

Implement screen capture without root on Android 5.0+ by using MediaProjectionManager, VirtualDisplay, AudioRecord, MediaCodec and MediaMuxer APIs
https://github.com/yrom/ScreenRecorder
Apache License 2.0
23 stars 13 forks source link

do you know anyway to add watermark in this project? #2

Open quocb14005xx opened 5 years ago

HelloHuDi commented 5 years ago

sorry, no such function is provided, but you can use ScreenCaptureStreamCallback(/screencapture/callback/ScreenCaptureStreamCallback.java) or other tools later to add watermark to video

quocb14005xx commented 5 years ago

i was try to get byte[] from videoContentByte function but this byte array not true format to convert to bitmap or any way to add watermark

HelloHuDi commented 5 years ago

this is a continuous feedback callback, recorded data that may not be a frame, so ,you may have to wait until the recording is complete to add a watermarking to the video