What is md5 ?
For this can you please a demo link of video to shown a example. if you able to explain it then after Matraex will move for complete project.
Small example
1. video app
==> open camera in your app
==> record video from App
==> fetch video information video time e.g. 15sec ., frame :- 30 fps , bits 2134235,
==> final save in your gallery
1. Viewer App
==> fetch same video just you save in camera gallery
==> fetch video information video time e.g. 15sec ., frame :- 30 fps , bits 2134235
Please note :- md5 should be same of both the App.
If you are able to do this , Then after we will move for complete project.