I am trying to get the images in bytes from Video in c#.I am uploading the video file and from that video file we need to get images in byte format so that I can separate byte for each image and I can match the byte with other images.
Kindly give me some suggestion how can i do this.
Now I am doing this but getting byte of all video ,i am not sure how can i get the byte of images in video.
byte[] byt = null;
using (Stream s = file.InputStream)
{
MemoryStream ms = s as MemoryStream;
if (ms == null) ms = new MemoryStream();
s.CopyTo(ms);
byt = ms.ToArray();
}