[Live-devel] Parser for sprop-parameter-sets at desribe response to get width- height...

Ross Finlayson finlayson at live555.com
Tue Jan 10 17:00:27 PST 2012


> Well, actually i do not decode h264 stream but just need width, height info...
> 
> For h264 stream, here is simple buggy parser which gets width height
> from  fSpropParameterSets...
> Maybe someone also need a starting point for parsing those data...

Note that we already provide a function:
	parseSPropParameterSets()
(defined in "liveMedia/include/H264VideoRTPSource.hh") that parses the "MediaSubsession::fmtp_spropparametersets()" string, Base64-decodes it, etc. - returning an array of NAL units (in binary form).

So you don't need to do the string-to-binary conversion.  Instead, you need focus on parsing the NAL unit binaries.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120110/f1f57f31/attachment.html>


More information about the live-devel mailing list