Jump to content

nsaspook

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Zoneminder 1.28 latest Git version screen-cap Debian 64 Linux server Debian 32 Linux display, Firefox browser. SWNHD-820CAM Raptor 5.20 firmware
  2. Some information about zoneminder rtsp bugs. Zoneminder 1.25 rtsp mode seems to choke on the stream response from the camera with HIKVISION firmware when it reports the ONVIF stream with the m type of 'application'. I'm using the Sub Stream video set to MJPEG. 08/10/13 19:32:10.066458 zmc_m17[12361].DB2-zm_rtsp.cpp/72 [Received RTSP response: RTSP/1.0 200 OK^M CSeq: 1^M Content-Type: application/sdp^M Content-Base: rtsp://10.1.1.181:554/Streaming/Channels/2/^M Content-Length: 553^M ^M v=0^M o=- 1376163129998643 1376163129998643 IN IP4 10.1.1.181^M s=Media Presentation^M e=NONE^M b=AS:5050^M t=0 0^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/^M m=video 0 RTP/AVP 26^M b=AS:5000^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/trackID=1^M a=rtpmap:26 JPEG/90000^M m=application 0 RTP/AVP 107^M b=AS:50^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/trackID=3^M a=rtpmap:107 vnd.onvif.metadata/90000^M a=Media_header:MEDIAINFO=494D4B48010100000400040000000000000000000000000000000000000000000000000000000000;^M a=appversion:1.0^M (692 bytes)] 08/10/13 19:32:10.066533 zmc_m17[12361].DB1-zm_rtsp.cpp/304 [Processing SDP 'v=0^M o=- 1376163129998643 1376163129998643 IN IP4 10.1.1.181^M s=Media Presentation^M e=NONE^M b=AS:5050^M t=0 0^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/^M m=video 0 RTP/AVP 26^M b=AS:5000^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/trackID=1^M a=rtpmap:26 JPEG/90000^M m=application 0 RTP/AVP 107^M b=AS:50^M a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/trackID=3^M a=rtpmap:107 vnd.onvif.metadata/90000^M a=Media_header:MEDIAINFO=494D4B48010100000400040000000000000000000000000000000000000000000000000000000000;^M a=appversion:1.0^M '] 08/10/13 19:32:10.066562 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'v=0'] 08/10/13 19:32:10.066569 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'o=- 1376163129998643 1376163129998643 IN IP4 10.1.1.181'] 08/10/13 19:32:10.066576 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 's=Media Presentation'] 08/10/13 19:32:10.066579 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'e=NONE'] 08/10/13 19:32:10.066582 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'b=AS:5050'] 08/10/13 19:32:10.066586 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 't=0 0'] 08/10/13 19:32:10.066589 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/'] 08/10/13 19:32:10.066596 zmc_m17[12361].DB3-zm_sdp.cpp/298 [Ignoring general SDP attribute 'control:rtsp://10.1.1.181:554/Streaming/Channels/2/'] 08/10/13 19:32:10.066599 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'm=video 0 RTP/AVP 26'] 08/10/13 19:32:10.066607 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'b=AS:5000'] 08/10/13 19:32:10.066612 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'a=control:rtsp://10.1.1.181:554/Streaming/Channels/2/trackID=1'] 08/10/13 19:32:10.066616 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'a=rtpmap:26 JPEG/90000'] 08/10/13 19:32:10.066622 zmc_m17[12361].DB3-zm_sdp.cpp/165 [Processing SDP line 'm=application 0 RTP/AVP 107'] 08/10/13 19:32:10.066705 zmc_m17[12361].ERR-zm_rtsp.cpp/314 [Unsupported media type 'application' in SDP media attribute 'application 0 RTP/AVP 107'] 08/10/13 19:32:10.067008 zmc_m17[12361].DB2-zm_thread.cpp/266 [Exiting thread, status 0xffffffffffffffff] 08/10/13 19:32:19.089890 zmc_m17[12359].FAT-zm_remote_camera_rtsp.cpp/118 [No RTSP sources] The sdp parser fails when the m code is other than 'audio or 'video'. case 'm' : { StringVector tokens = split( line, " " ); if ( tokens.size() < 4 ) throw Exception( "Can't parse SDP media description '"+line+"'" ); std::string mediaType = tokens[0]; if ( mediaType != "audio" && mediaType != "video" ) throw Exception( "Unsupported media type '"+mediaType+"' in SDP media attribute '"+line+"'" ); StringVector portTokens = split( tokens[1], "/" ); int mediaPort = atoi(portTokens[0].c_str()); int mediaNumPorts = 1; if ( portTokens.size() > 1 ) mediaNumPorts = atoi(portTokens[1].c_str()); std::string mediaTransport = tokens[2]; if ( mediaTransport != "RTP/AVP" ) throw Exception( "Unsupported media transport '"+mediaTransport+"' in SDP media attribute '"+line+"'" ); int payloadType = atoi(tokens[3].c_str()); currMedia = new MediaDescriptor( mediaType, mediaPort, mediaNumPorts, mediaTransport, payloadType ); mMediaList.push_back( currMedia ); break; } Modifing the sdp code to ignore the onvif data on the rtsp DESCRIBE response looks like a possible fix.
  3. You can get clones from here. (878a 8 chip / 8 port, make sure they send the cable) http://www.ebay.com/itm/8-CH-Channel-Real-Time-CCTV-DVR-Security-PCI-Card-/310229121810?ssPageName=ADME:X:eRTM:US:1123 I'm using one with Linux and Zoneminder.
×