I am developing application which is recording video using MediaCodec and converting it into Mp4(h.264+aac) using MediaMuxer. I want to keep that mp4 encrypted but i am not able to find anyway to encrypt video while recording .So currently I have to encrypt video once video is created. Since MediaCrypto is used while decoding is there any other way ?
Asked
Active
Viewed 186 times
4
-
Could you perhaps show us the code that you use for converting the video? – Jaap Joris Vens Oct 16 '20 at 14:19
-
I am using https://github.com/google/grafika sample for converting video in Android. – ʌɐɥqıɐʌ Oct 17 '20 at 07:22
-
this may be [helpful](https://stackoverflow.com/questions/11638463/encrypt-video-on-the-fly-from-android-camera) – gowridev Oct 20 '20 at 07:14