http://www.videohelp.com/tools?tool=TS_Packet_EditorQuote:
TS Packet Editor is a tool which allows you to trim and perform error scans on Transport Stream files (.ts) containing either MPEG2 video data or h.264 video data. The data can be standard definition or high definition, SD MPEG2, HD MPEG2, and 720p and 1080i h.264. TSPE can analyse the stream and scan for the most common types of capture errors, that is 'continuity errors' and 'TEI errors'. Requires .net framework.