[Live-devel] how to identify about frame type(I, P, B)?
Raja Muhammad Hammad
rajahammad at gmail.com
Thu Mar 10 19:02:57 PST 2005
> Note that there's already a mechanism by which you can stream only I-frames
> (when streaming MPEG-1 or 2 video). Note the "iFramesOnly" variable in
> "testOnDemandRTSPServer.cpp".
>
> The actual information about the type of each frame is obtained by the
> appropriate 'framer' class, when it parses MPEG-1, 2 or 4 video data). To
> see this, run
> grep coding_type liveMedia/*Framer.cpp
The type of frame information is contained in
MPEG4VideoStreamParser::parseVideoObjectPlane()
where it is defiend as vop_coding_type but how can I use it because
its scope is limited just that funtion.
The point is how can I get frame type where packets are generated
(either containing one or multiple frames), can you be more specific.
Regards
Hammad
More information about the live-devel
mailing list