The invention discloses an embedded type based code stream analysis system, comprising a hardware part and a software part. The hardware part is mainly composed of a FPGA (Field Programmable Gate Array) and an ARM (Advanced Risc Machine) and is further provided with peripheral chips, such as an ASI (Asynchronous Serial Interface) chip, an Ethernet interface chip, an SDRAM (Synchronous Dynamic random access memory), FLASH and the like, to constitute a complete embedded system. The software part comprises four modules, namely, an FPGA interface module, a TS (Transport Stream) code stream analysis module, a network server module and a web server module. According to the invention, TS code stream data can be subjected to synchronous byte extraction and packet sequence error check, a data stream can be monitored in real time, and error time and error conditions can be recorded in time.