Page 1 of 1

obtain I frames from MPEG TS header

Posted: 09 Mar 2008 08:11
by nehjain
Hi
I want to know if there is any method of finding out when an I-frame starts , by examining a MPEG TS stream . There is a field in the MPEG TS header : random_access_indicator whose purpose is to aid random access into the video stream ( ie corresponds to a I-frame) , but i find that this field is set only for a very very few frames , even though the number of I-frames is much more . Hence I am not sure whether this field actually is set for each I-frame .
Could anyone help me out in this regard..

Thanks