How to decode sprop-parameter-sets in a H264 SDP?

Cipi picture Cipi · Mar 4, 2010 · Viewed 23.6k times · Source

What is the meaning of Base64 decoded bytes in sprop-parameter-sets in SDP for a h264 stream? How can I know the video size from this example?

SDP example:

sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA==

First part decoded from Base64 to Base16:

67 42 00 29 E3 50 14 07 B6 02 DC 04 04 06 90 78 91 15

Second part (comma separated):

68 CE 3C 80

ANSWER: Fetching the dimensions of a H264Video stream

Answer

Jonathan Websdale picture Jonathan Websdale · Mar 12, 2010

The spec you require is available for free download from the ITU website here:- H.264 (03/10)

Select the freely downloadable PDF and you'll find the format detailed in section 7.3.2.1.1.

Sorry, wasn't being obtuse with my previous answer, just didn't know that the information was available in the public domain.