AVIThis is a page for AVI file analysis (Header). Try sample file: Try an exampleWhat are we looking for?For an AVI file, we are looking for "RIFF" or, in hex, 52 49 46 46 at the start of the file. |
File contents analysisByte 1, 2, 3 and 4 should be [RIFF]: RIFF File signature analysis (Header analysis)WAV (Starts with 0x52 0x49 0x46 0x46)Additional scanning signature analysisPossible: [AVI file (AVI - vids = Video stream), sig: 76696473] Count: 1 File hex characters[00000000] 52 49 46 46 D8 79 03 00 41 56 49 20 4C 49 53 54 RIFF.y..AVI.LIST Base-64 conversionUklGRth5AwBBVkkgTElTVCAEAABoZHJsYXZpaDgAAADDogAAAAAAAAAAAAAQCAAAAQAAAAAA |
Sample code
public string getMp4(byte[] b) { string TextBox1 = ""; try { TextBox1 += "Byte 0 [Should be 00]: " + Global.intToHex(b[0]) + "<br/>"; TextBox1 += "Byte 1 [Should be 00]: " + Global.intToHex(b[1]) + "<br/>"; TextBox1 += "Byte 2 [Should be 00]: " + Global.intToHex(b[2]) + "<br/>"; TextBox1 += "Byte 3 [Should be 18 or 1C]: " + Global.intToHex(b[3]) + "<br/>"; TextBox1 += "Byte 4 [Should be 66 - f]: " + Global.intToHex(b[4]) + "<br/>"; TextBox1 += "Byte 5 [Should be 74 - t]: " + Global.intToHex(b[5]) + "<br/>"; TextBox1 += "Byte 6 [Should be 79 - y]: " + Global.intToHex(b[6]) + "<br/>"; TextBox1 += "Byte 7 [Should be 70 - p]: " + Global.intToHex(b[7]) + "<br/>"; TextBox1 += "Byte 8 [Should be 6D - m]: " + Global.intToHex(b[8]) + "<br/>"; TextBox1 += "Byte 9 [Should be 70 - p]: " + Global.intToHex(b[9]) + "<br/>"; TextBox1 += "Byte 10 [Should be 34 - 4]: " + Global.intToHex(b[10]) + "<br/>"; TextBox1 += "Byte 11 [Should be 32 - 2]: " + Global.intToHex(b[11]) + "<br/>"; } catch { } return (TextBox1); }