RTSP problem, sprop-parameter-sets in RTSP/SDP and SPS nalu

RTSP problem, sprop-parameter-sets in RTSP/SDP and SPS nalu

Support ForumCategory: QuestionsRTSP problem, sprop-parameter-sets in RTSP/SDP and SPS nalu
progressive7 asked 2 years ago
Hi, One of the customers uses eveostream rtsp streaming server. We are implementing a client program that connects to the rtsp server. 1> Can’t decode SPS at sprop-paramter-sets How do we parse “Z01AHppkBQF/y/+AXoBfNwEBAUAAAPoAADqYJ2giEag=” ? We just decode base64 and parse but width and height values was 16. Other cameras’ sps, pps is parsing normal.  We can check frame info via ffmpeg and vlc. width is 640 height 360.   2> RTSP Server does not send SPS nalu but PPS only. Intel x86 decoder we use requires SPS nalu, but server does not send.   Here is SDP. DESCRIBE rtsp://109.176.68.10:9012/s1 RTSP/1.0 CSeq: 4 Authorization: Digest username=”ubnt”, realm=”RTSP UVC G3 (2D06)”, nonce=”8c951f540b393de137d61c63550a43ed”, uri=”rtsp://109.176.68.10:9012/s1″, response=”51c57bc593d41b8eec9c444cd9747870″ User-Agent: LibVLC/3.0.18 (LIVE555 Streaming Media v2016.11.28) Accept: application/sdp RTSP/1.0 200 OK CSeq: 4 Cache-Control: no-store Content-Base: rtsp://109.176.68.10:9012/s1/ Content-Length: 592 Content-Type: application/sdp Date: Thu, 24 Feb 2000 11:20:18 UTC Expires: Thu, 24 Feb 2000 11:20:18 UTC Pragma: no-cache Server: EvoStream Media Server (www.evostream.com) v=0 o=- 3999925 0 IN IP4 192.168.1.216 s=s1 u=www.evostream.com e=contact@evostream.com c=IN IP4 192.168.1.216 t=0 0 a=recvonly a=control:* a=range:npt=now- m=audio 0 RTP/AVP 96 a=recvonly a=rtpmap:96 mpeg4-generic/11025/1 a=control:trackID=1 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1508; SizeLength=13; IndexLength=3; IndexDeltaLength=3; m=video 0 RTP/AVP 97 a=recvonly a=control:trackID=2 a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=4d401e; packetization-mode=1; sprop-parameter-sets=Z01AHppkBQF/y/+AXoBfNwEBAUAAAPoAADqYJ2giEag=,aO48gA==

Question Tags:


1 Answers
progressive7 answered 2 years ago
Hi, First one is out mistake. We can parse width,height normally.

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.