<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><br><div id="yui_3_16_0_ym19_1_1495785869910_108508">There isn't any real magic number for m2ts files. Those files are raw MP4 Part 12 streams without headers. As such streams usually start with a sync byte (value of a sync byte is always 0x47), you can consider this to be the magic number you were after.</div><div id="yui_3_16_0_ym19_1_1495785869910_108507"><br></div><div id="yui_3_16_0_ym19_1_1495785869910_108509">Cheers,</div><div id="yui_3_16_0_ym19_1_1495785869910_108510"><br></div><div id="yui_3_16_0_ym19_1_1495785869910_108511">Cyril APAN.<br></div></div></body></html>