title: How do I find a keyframe in a transport stream?
body: <p>I wrote a program that will parse a transport stream. But I need to know if a transport stream packet contains an i-frame. What is the best way to do this? I heard somewhere that I need to look at a couple of bits after the picture start code but I don't know where to find this in the TS packet.</p>