I want to record video of whatever happens on surface.
I'm playing video on surface and showing camera preview over it. I want to record both in one video and export as .mp4. what should I do for it. your help would be much appreciated.
Video and preview both are placed in one surface view.
(1) I'm highly recommend to refer grafika project from Google's repository in Github and try with RecordFBOActivity
.
(2) see EZFilter
repositoey in Github.
and
(3) RecordableSurfaceview
in Github
May this will much helpful to you.