I am encrypting a video using AES...The file format that i am using is .avi.
In order to play the encrypted video i need to save the header information of the video before encryption to be able to display the video as a video format(.avi).
I got the header info from this link http://www.fastgraph.com/help/avi_header_format.html
and i am saving the 1st 56 bytes before encryption..
The problem is that the encrypted video is displayed as a video format(.avi) but its not playing..
I am getting error:- The file is corrupted and cannot play
I need to play the encrypted video...
Can anyone help how we can play the encrypted video...