Parsing Rtsp response parameter that is sprop-parameter-sets

爷,独闯天下 提交于 2019-12-12 02:43:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!