MP4 File Contents Analysis[Back] This is a page for MP4 file analysis (Header). Try sample file: Try an exampleWhat are we looking for?For an MP4 file, we look for the byte sequence 00 00 00 18 66 74 79 70 6D 70 34 32 or the ASCII sequence of ....ftypmp42 Try your ownOr enter your own URL to analyse the first six sectors of the file: |
File contents analysis |
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); }