0

  I'm a camera embeded developer, and trying to develop an Android APP to capture video and provide preview at the same time. Now I want the preview has date watermark on it.

  As it in embeded system, there is specialized hardware module to handle the watermark osd task. But on Android, is it possible to manipulate the raw image adding watermark? And how long it will cost?

  Will ffmpeg or gstreamer be helpful?

Wayne Chen
  • 305
  • 2
  • 15
  • 1
    If your device runs Android, special hardware to handle watermark seems unnecessary. If you want to embed date watermark in video, you have two choices: build it into the camera driver, so that all recording apps get it, or take care on your app level. For the latter option means that you use ffmpeg to record the video. – Alex Cohn Jun 09 '19 at 10:51
  • @AlexCohn thank you for your help! I think I should pick the second option. In the first optionk, the modification over camera driver is not portable and other camera APPs will be effected. – Wayne Chen Jun 11 '19 at 03:09
  • If this satisfies your requirements, doing it in your app is much easier. Actually, you don't necessarily need 3rd party library, as ffmpeg. You can simply [employ MediaCodec](https://stackoverflow.com/a/21531653/192373). – Alex Cohn Jun 11 '19 at 03:58
  • @AlexCohn Thanks a lot. I will have a try. – Wayne Chen Jun 12 '19 at 12:01

0 Answers0