Finding I-Frames in MPEG-2 PS or TS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruby33
    Junior Member
    Junior Member
    • Sep 2009
    • 8

    Finding I-Frames in MPEG-2 PS or TS

    Hi guys,
    I am trying to find out a way to detect I-Frames in a Mpeg2-PS or TS stream.
    I tried it with Mpeg2-PS, as in started looking for the occurrence of the byte sequence "00 00 01 00" for all MPEG-2 PS Packs having a PTS or PTS and DTS with stream type E0 (Video Stream). With this, atleast the I-Frame,P-Frame and B-Frame count matched with that of VirtualDubMod 1.5... Please let me know if this is a correct approach or not.

    Thanks,
    Ruby
Working...