Thank you guys. ISO 13818-2 indeed holds the solution. Section 6.2 describes the Video bitstream syntax. Just need to find the picture header(described in 6.2.3) wich contains the picture coding type. Nico Sabbi wrote: > Il Thursday 04 October 2007 15:34:11 Thomas Lagemann ha scritto: > >> Hi there, >> this is a bit off-topic since it is not a really linux-specific >> question, but maybe someone does know this right away. >> I'm lookig for a way to recognize the type of a video-frame in >> MPEG-2 (I.P or B) to create smooth transitions between video files, >> without having to decode the whole frame. I looked through the >> MPEG-2 TS and PES definitions, but all i found was a >> splicing_point_falg in the TS Adaptation Field. Unfortunately the >> hardware-encoder i'm working with doesn't seem to set these flags. >> >> Does anybody know another way how to determin the frame type? >> >> > > you need to demux the video stream and analyze the picture_coding type > in the picture_header. Search for some draft of ISO 13818-2 in google > > _______________________________________________ > linux-dvb mailing list > linux-dvb@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb