问题
I just get the response from RTSP DESCRIBE request.[ For H264 stream]
a=fmtp:96 profile-level-id=42A01E;packetization-mode=1;
sprop-parameter-sets=Z0IAKOkAoAQNgPsgAAADACAAAAMDwWIEJQ==,aM44gA==
For the
sprop-parameter-sets=Z0IAKOkAoAQNgPsgAAADACAAAAMDwWIEJQ==,aM44gA==
The RFC 3984 Section 8.1 says that it is [page 45]
The value of the parameter is the base64
But using an online Base64 Converter [ http://coderstoolbox.net/string/] i get no meaningfull result from that string...
What am i doing wrong? How to parse it to get meaningfull info?
回答1:
You won't get a human-readable result by base64 decoding it. You still need to decode the H.264 sequence parameter set. It seems like you didn't see the link I posted in the other answer, so here it is again: Fetching the dimensions of a H264Video stream
来源:https://stackoverflow.com/questions/7900091/parsing-rtsp-response-parameter-that-is-sprop-parameter-sets