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
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