[Live-devel] H264 H264VideoRTPSource

Jeremy Noring jnoring at logitech.com
Mon Jan 25 07:19:45 PST 2010


On Mon, Jan 25, 2010 at 3:25 AM, Miguel Angel Arcos
<marcos at a5security.com>wrote:

> Dear Ross,
>
> I'm working with the class H264VideoRTPSource when I recieve RTP data
> information of an IP Camera and I have some questions.
>
> First, If I look my (subsession->(fVideoWidth y fVideoHeight)) and I can't
> extract video resolution because this values are 0. Then I'm looking to
> extract that information looking the SPS, Sequence Parameter Set, packets.
> On the live555 classes I have been looking and I can't find any parser of
> that data. Is possible extract that information using live555 or I need to
> search another parser to do that task?
>

Live555 doesn't have a parser for the sequence parameter sets.  Writing such
a parser isn't too hard, although it's not completely trivial because the
SPS info uses exponential golomb encoding (a form of variable length
encoding) for many parameters.  I'd read the H264 specification if you're
interested in parsing it; also read the wiki page on exponential golomb:

http://en.wikipedia.org/wiki/Exponential-Golomb_coding

(also note that the resolution is inferred from several different values in
the SPS set--it isn't just a single value for width/height)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100125/e3a3f719/attachment.html>


More information about the live-devel mailing list