解析Rtsp响应参数,该参数是sprop-parameterssets [英] Parsing Rtsp response parameter that is sprop-parameter-sets
问题描述
我只是从RTSP DESCRIBE请求中获得响应.[对于H264流]
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==
对于
sprop-parameter-sets = Z0IAKOkAoAQNgPsgAAADACAAAAMDwWIEJQ ==,aM44gA ==
RFC 3984第8.1节说它是[第45页]
The RFC 3984 Section 8.1 says that it is [page 45]
该参数的值为base64
The value of the parameter is the base64
但是使用在线Base64转换器[http://coderstoolbox.net/string/]我从该字符串中没有得到有意义的结果...
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?
推荐答案
通过base64解码不会得到人类可读的结果.您仍然需要解码H.264序列参数集.看来您没有看到我在其他答案中发布的链接,所以这里又是:
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
这篇关于解析Rtsp响应参数,该参数是sprop-parameterssets的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!