1

I want to record video with Date/Time (put/draw current time and date on the each frame in some corner).

I din't really found any solution. I saw some similar questions here, but they doesn't have answers.

So I want to use MediaRecorder class to record video (I already implemented this) and somehow add Date/Time at each frame so later I could open recorded video with some video player and see this Date/Time.

user924
  • 8,146
  • 7
  • 57
  • 139
  • There is nothing built into Android for this. – CommonsWare May 02 '17 at 17:58
  • @CommonsWare ok, could you please suggest where to look then? do I need some library for this? mb `javacv` or is it possible to extend some camera/mediarecorder class and edit byte/frames before it will be added to output video file? – user924 May 02 '17 at 18:39
  • I would have your server post-process the video, adding in the time overlay. Trying to do that on a mobile device will be *very* slow. – CommonsWare May 02 '17 at 18:42

1 Answers1

1

If you want to add text into original video file, it will not be that simple. You need external tools to handle this, for example FFMPEG. this links give you more info about this topic: How to add text on video recording? and How to embed text while recording video in Android?

Community
  • 1
  • 1
Abhilash Maurya
  • 302
  • 3
  • 18