[Live-devel] Type of frame in MPEG2 video streaming
Ross Finlayson
finlayson at live.com
Fri Oct 1 15:22:50 PDT 2004
>I'm studying the Live library from code and I would know if exists any method
>to get the informations about the MPEG2 Video which is receiving in a
>RTP-Multicast
>communication (information as type of frame, gop-length and so on..).
Each RTP packet containing MPEG-1 or 2 video begins with a 4-byte
'video-specific header' (see RFC 2250, section 3.4) that has information
about the enclosed MPEG data. For incoming MPEG video RTP packets, you
can inspect this header within the function
MPEG1or2VideoRTPSource::processSpecialHeader()
(see "liveMedia/MPEG1or2VideoRTPSource.cpp")
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list