[solved] Vivotek IP7131 RTSP error

Forum for questions and support relating to the 1.24.x releases only.
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

[solved] Vivotek IP7131 RTSP error

Post by kylejohnson »

Hello everyone.

I am having trouble with making my Vivotek IP7131 camera work with RTSP mode. Works fine as Remote / HTTP.

When the camera is configured with Remote Method: RTP/RTSP/HTTP, with port 7070 and /live.sdp as the Remote Host Path, I see the following in syslog:

Code: Select all

Feb 13 20:52:58 cosmos zmc_m2[5497]: ERR [Response parse failure in 'RTSP/1.0 400 Bad Request^M CSeq: -1^M ^M ']
Feb 13 20:52:58 cosmos zmc_m2[5497]: INF [Starting Capture]
Feb 13 20:53:03 cosmos zmc_m2[5497]: FAT [No RTSP sources]
Feb 13 20:53:03 cosmos zmc_m2[5497]: INF [Got signal 6 (Aborted), crashing]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Signal address is (nil), from 0xb7f85424]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: [0xb7f85424]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: [0xb7f85424]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7461880]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7463248]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /usr/local/bin/zmc [0x80558d8]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /usr/local/bin/zmc [0x807d5f4]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /usr/local/bin/zmc [0x804d332]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb744c685]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: ERR [Backtrace: /usr/local/bin/zmc [0x804cea1]]
Feb 13 20:53:03 cosmos zmc_m2[5497]: INF [Backtrace complete]
Feb 13 20:53:03 cosmos zmdc[4888]: ERR ['zmc -m 2' exited abnormally, exit status 6] 
When configured with RTP/RTSP, I get the following

Code: Select all

Feb 13 20:54:57 cosmos zmc_m2[5510]: INF [Starting Capture]
Feb 13 20:54:58 cosmos zmdc[4888]: WAR [Can't find process with command of 'zma -m 2'] 
Feb 13 20:54:58 cosmos zmc_m2[5510]: ERR [Unexpected response code 400, text is 'Bad Request']
Feb 13 20:55:02 cosmos zmc_m2[5510]: FAT [No RTSP sources]
Feb 13 20:55:02 cosmos zmc_m2[5510]: INF [Got signal 6 (Aborted), crashing]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Signal address is (nil), from 0xb7f35424]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: [0xb7f35424]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: [0xb7f35424]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7411880]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7413248]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /usr/local/bin/zmc [0x80558d8]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /usr/local/bin/zmc [0x807d5f4]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /usr/local/bin/zmc [0x804d332]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb73fc685]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: ERR [Backtrace: /usr/local/bin/zmc [0x804cea1]]
Feb 13 20:55:02 cosmos zmc_m2[5510]: INF [Backtrace complete]
Feb 13 20:55:02 cosmos zmdc[4888]: ERR ['zmc -m 2' exited abnormally, exit status 6] 
Feb 13 20:55:02 cosmos zmdc[4888]: INF [Starting pending process, zmc -m 2] 
Feb 13 20:55:02 cosmos zmdc[5525]: INF ['zmc -m 2' started at 09/02/13 20:55:02] 
Feb 13 20:55:02 cosmos zmdc[4888]: INF ['zmc -m 2' starting at 09/02/13 20:55:02, pid = 5525] 
Feb 13 20:55:02 cosmos zmc_m2[5525]: INF [Debug Level = 0, Debug Log = <none>]
Feb 13 20:55:03 cosmos zms[5464]: INF [Got signal 15 (Terminated), exiting]
Feb 13 20:55:03 cosmos zms[5464]: WAR [Unable to store frame as shared memory invalid]
Feb 13 20:55:03 cosmos zms[5494]: INF [Got signal 15 (Terminated), exiting]
Feb 13 20:55:03 cosmos zms[5494]: WAR [Unable to store frame as shared memory invalid]
Feb 13 20:55:03 cosmos zmc_m2[5525]: INF [Starting Capture]
Feb 13 20:55:03 cosmos zmc_m2[5525]: ERR [Unexpected response code 400, text is 'Bad Request']
Feb 13 20:55:08 cosmos zmc_m2[5525]: FAT [No RTSP sources]
Feb 13 20:55:08 cosmos zmc_m2[5525]: INF [Got signal 6 (Aborted), crashing]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Signal address is (nil), from 0xb80ee424]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: [0xb80ee424]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: [0xb80ee424]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb75ca880]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb75cc248]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /usr/local/bin/zmc [0x80558d8]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /usr/local/bin/zmc [0x807d5f4]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /usr/local/bin/zmc [0x804d332]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb75b5685]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: ERR [Backtrace: /usr/local/bin/zmc [0x804cea1]]
Feb 13 20:55:08 cosmos zmc_m2[5525]: INF [Backtrace complete]
Feb 13 20:55:08 cosmos zmdc[4888]: ERR ['zmc -m 2' exited abnormally, exit status 6] 
Feb 13 20:55:13 cosmos zmdc[4888]: INF [Starting pending process, zmc -m 2] 
Feb 13 20:55:13 cosmos zmdc[5527]: INF ['zmc -m 2' started at 09/02/13 20:55:13] 
Feb 13 20:55:13 cosmos zmdc[4888]: INF ['zmc -m 2' starting at 09/02/13 20:55:13, pid = 5527] 
Feb 13 20:55:13 cosmos zmc_m2[5527]: INF [Debug Level = 0, Debug Log = <none>]
Feb 13 20:55:13 cosmos zmc_m2[5527]: INF [Starting Capture]
Feb 13 20:55:14 cosmos zmc_m2[5527]: ERR [Unexpected response code 400, text is 'Bad Request']
Feb 13 20:55:18 cosmos zmc_m2[5527]: FAT [No RTSP sources]
Feb 13 20:55:18 cosmos zmc_m2[5527]: INF [Got signal 6 (Aborted), crashing]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Signal address is (nil), from 0xb7f0d424]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: [0xb7f0d424]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: [0xb7f0d424]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb73e9880]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb73eb248]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /usr/local/bin/zmc [0x80558d8]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /usr/local/bin/zmc [0x807d5f4]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /usr/local/bin/zmc [0x804d332]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb73d4685]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: ERR [Backtrace: /usr/local/bin/zmc [0x804cea1]]
Feb 13 20:55:18 cosmos zmc_m2[5527]: INF [Backtrace complete]
Feb 13 20:55:18 cosmos zmdc[4888]: ERR ['zmc -m 2' exited abnormally, exit status 6] 

Here is a screenshot of the config. page for the camera:
Image

plz to help !!
Last edited by kylejohnson on Tue Mar 03, 2009 3:46 pm, edited 1 time in total.
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

Post by Normando »

Try disable audio from the camera. Audio stream break the video
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

Normando my Man,

The only option that I see for disabling audio is "Mute". Either way, same problem!
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

I am able to view the camera using VLC and RTSP without error.
newvisionantenna
Posts: 381
Joined: Sat Jan 17, 2009 7:49 pm
Location: Germany

Post by newvisionantenna »

kylejohnson,

Could you pm me the info for connecting to your camera for testing purposes? I setup RTSP last night with an ACTI mpeg4 camera. I would like to add your camera to the list of working devices if we can narrow it down to either the hardware or the way you setup 1.24.0.

If you want to try it out for yourself just see the install dvd section for the demo and login with test/test and see if you can edit the one cam there to make your setup work.
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

newvisionantenna wrote:kylejohnson,

Could you pm me the info for connecting to your camera for testing purposes? I setup RTSP last night with an ACTI mpeg4 camera. I would like to add your camera to the list of working devices if we can narrow it down to either the hardware or the way you setup 1.24.0.

If you want to try it out for yourself just see the install dvd section for the demo and login with test/test and see if you can edit the one cam there to make your setup work.
I wouldn't mind trying the DVD but my burner recently went up. :( Check your PM.
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

Still can't figure this out.
Works fine in VLC by streaming rtsp://192.168.9.14:7070/live.sdp
Looked at some wireshark output - looks like the actual video packets are going across on port 5558 UDP.
The wireshark output can be found at http://www.fixertec.net/cam.dump, if anyone is interested or if it will help get this figured out!
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you switch on debugging for zmc and see if it helps to show what is happening?
Phil
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

zoneminder wrote:Can you switch on debugging for zmc and see if it helps to show what is happening?
I have set the debug level to 9, and did not specify any components. The only thing in the debug log is:

Code: Select all

kjohnson@cosmos:/tmp$ tail -f zm_debug.log 
02/16/09 16:41:09.366691 zmfix[13007].INF-zm_debug.c/292 [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Try it set to _zmc, you should see a bit more but it may be in files numbered by pids.
Phil
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

zoneminder wrote:Try it set to _zmc, you should see a bit more but it may be in files numbered by pids.
Still nothing.
The weird this is that before 1.24, I had plenty of debug output. Now there is nothing.
In syslog, I do see

Code: Select all

Feb 16 17:30:17 cosmos zmc_m2[4925]: INF [Debug Level = 0, Debug Log = <none>]
. I have restarted both zoneminder and the entire server after making the debug change in options.
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

Code: Select all

mysql> select Id, Name, Value from Config where Id = 48 or Id = 49 or Id = 50;
+----+-----------------------+-------+
| Id | Name                  | Value |
+----+-----------------------+-------+
| 48 | ZM_EXTRA_DEBUG        | 1     | 
| 49 | ZM_EXTRA_DEBUG_TARGET | _zmc  | 
| 50 | ZM_EXTRA_DEBUG_LEVEL  | 9     | 
+----+-----------------------+-------+
3 rows in set (0.00 sec)

mysql>
So the debug option is set, zoneminder is just not picking it up?
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

Code: Select all

kyle@kjohnson-desktop:~$ ffplay rtsp://192.168.9.14:7070/live.sdp
FFplay version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c) 2003-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Oct  3 2008 22:40:31, gcc: 4.3.2
So that works.

Rebuilt ffmpeg using the most current svn, r17388, and zoneminder. After everything is installed, I changed the debug levels, started ZM, added the monitor, and still no zm_debug.log?

Code: Select all

Feb 16 22:21:50 cosmos zmdc[1353]: INF ['zmc -m 1' starting at 09/02/16 22:21:50, pid = 1409] 
Feb 16 22:21:50 cosmos zmc_m1[1409]: INF [Debug Level = 0, Debug Log = <none>]
Feb 16 22:21:50 cosmos zmc_m1[1409]: ERR [Unexpected response code 400, text is 'Bad Request']
Feb 16 22:21:50 cosmos zmc_m1[1409]: INF [Starting Capture]
Feb 16 22:21:55 cosmos zmc_m1[1409]: FAT [No RTSP sources]
Feb 16 22:21:55 cosmos zmc_m1[1409]: INF [Got signal 6 (Aborted), crashing]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Signal address is (nil), from 0xb7fa5424]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: [0xb7fa5424]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: [0xb7fa5424]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7481880]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7483248]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /usr/local/bin/zmc [0x80561c9]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /usr/local/bin/zmc [0x807f4b4]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /usr/local/bin/zmc [0x804d023]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb746c685]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: ERR [Backtrace: /usr/local/bin/zmc [0x804cbb1]]
Feb 16 22:21:55 cosmos zmc_m1[1409]: INF [Backtrace complete]
Feb 16 22:21:55 cosmos zmdc[1353]: ERR ['zmc -m 1' exited abnormally, exit status 6]

I wonder what "Bad Request" means. What port does ZoneMinder use for RTSP video streams? Wireshark tells me that the data is going across on port 5558 UDP.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There is a problem (which I have just fixed) with using _zmc, try using _zmc_m1 instead which should work.
Phil
kylejohnson
Posts: 260
Joined: Tue Aug 21, 2007 1:42 pm
Location: Baltimore, MD

Post by kylejohnson »

With the method set to Unicast:

Code: Select all

[NULL @ 0xb7e1f2f0] video codec set to : mpeg4
[rtsp @ 0xb7fa1388]hello state=0
02/17/09 06:59:28.126669 zmc_m1[2867].INF-zm_debug.c/292 [New Debug Level = 7, New Debug Log = /tmp/zm_debug.log.02867]
02/17/09 06:59:28.127373 zmc_m1[2867].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
02/17/09 06:59:28.127930 zmc_m1[2867].DB1-zm_thread.cpp/240 [Creating thread]
02/17/09 06:59:28.128153 zmc_m1[2867].DB2-zm_rtsp.cpp/187 [RTSP Local SSRC is 6b8b4567]
02/17/09 06:59:28.128176 zmc_m1[2867].DB1-zm_thread.cpp/276 [Starting thread]
02/17/09 06:59:28.128371 zmc_m1[2868].DB2-zm_thread.cpp/252 [Invoking thread]
02/17/09 06:59:28.128826 zmc_m1[2867].DB1-zm_thread.cpp/297 [Started thread 2868]
02/17/09 06:59:28.136091 zmc_m1[2867].DB1-zm_monitor.cpp/339 [monitor purpose=1]
02/17/09 06:59:28.136194 zmc_m1[2867].DB1-zm_monitor.cpp/346 [mem.size=36865192]
02/17/09 06:59:28.157104 zmc_m1[2868].DB2-zm_rtsp.cpp/137 [Assigned RTP port range is 40200-40499]
02/17/09 06:59:28.157340 zmc_m1[2868].DB2-zm_rtsp.cpp/44 [Sending RTSP message: SETUP rtsp://192.168.9.14:7070/live.sdp1 RTSP/1.0^M
Bandwidth: 8000^M
Transport: RTP/AVP;unicast;client_port=40200-40201^M
CSeq: 1^M
^M
]
02/17/09 06:59:28.160549 zmc_m1[2868].DB2-zm_rtsp.cpp/70 [Received RTSP response: RTSP/1.0 400 Bad Request^M
CSeq: 1^M
^M
 (37 bytes)]
02/17/09 06:59:28.160835 zmc_m1[2868].ERR-zm_rtsp.cpp/90 [Unexpected response code 400, text is 'Bad Request']
02/17/09 06:59:28.161124 zmc_m1[2868].DB2-zm_thread.cpp/263 [Exiting thread, status 0xffffffff]
02/17/09 06:59:28.255662 zmc_m1[2867].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
02/17/09 06:59:28.279700 zmc_m1[2867].DB1-zm_monitor.cpp/460 [Monitor New has function 2]
02/17/09 06:59:28.279781 zmc_m1[2867].DB1-zm_monitor.cpp/461 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
02/17/09 06:59:28.279894 zmc_m1[2867].DB1-zm_monitor.cpp/462 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
02/17/09 06:59:28.280256 zmc_m1[2867].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
02/17/09 06:59:28.280389 zmc_m1[2867].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
02/17/09 06:59:28.280410 zmc_m1[2867].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
02/17/09 06:59:28.280431 zmc_m1[2867].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
02/17/09 06:59:28.280452 zmc_m1[2867].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
02/17/09 06:59:28.280471 zmc_m1[2867].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
02/17/09 06:59:28.280489 zmc_m1[2867].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
02/17/09 06:59:28.280515 zmc_m1[2867].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
02/17/09 06:59:28.280537 zmc_m1[2867].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
02/17/09 06:59:28.304951 zmc_m1[2867].DB1-zm_monitor.cpp/2457 [Loaded monitor 1(New), 1 zones]
02/17/09 06:59:28.305044 zmc_m1[2867].INF-zmc.cpp/186 [Starting Capture]
02/17/09 06:59:28.305433 zmc_m1[2867].DB2-zm_remote_camera_rtsp.cpp/112 [Waiting for sources]
02/17/09 06:59:33.307327 zmc_m1[2867].FAT-zm_remote_camera_rtsp.cpp/118 [No RTSP sources]
02/17/09 06:59:33.307743 zmc_m1[2867].INF-zm_signal.cpp/60 [Got signal 6 (Aborted), crashing]
02/17/09 06:59:33.308002 zmc_m1[2867].ERR-zm_signal.cpp/71 [Signal address is (nil), from 0xb801c424]
02/17/09 06:59:33.308614 zmc_m1[2867].ERR-zm_signal.cpp/98 [Backtrace: [0xb801c424]]
02/17/09 06:59:33.308758 zmc_m1[2867].ERR-zm_signal.cpp/98 [Backtrace: [0xb801c424]]

With the method set to rtp/rtsp:

Code: Select all

[[NULL @ 0xb7d5b2f0] video codec set to : mpeg4
[rtsp @ 0xb7edd388]hello state=0
02/17/09 06:55:57.155731 zmc_m1[2572].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.02572]
02/17/09 06:55:57.156548 zmc_m1[2572].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
02/17/09 06:55:57.157105 zmc_m1[2572].DB1-zm_thread.cpp/240 [Creating thread]
02/17/09 06:55:57.157331 zmc_m1[2572].DB2-zm_rtsp.cpp/187 [RTSP Local SSRC is 6b8b4567]
02/17/09 06:55:57.157356 zmc_m1[2572].DB1-zm_thread.cpp/276 [Starting thread]
02/17/09 06:55:57.157555 zmc_m1[2574].DB2-zm_thread.cpp/252 [Invoking thread]
02/17/09 06:55:57.178410 zmc_m1[2572].DB1-zm_thread.cpp/297 [Started thread 2574]
02/17/09 06:55:57.185976 zmc_m1[2572].DB1-zm_monitor.cpp/339 [monitor purpose=1]
02/17/09 06:55:57.186170 zmc_m1[2572].DB1-zm_monitor.cpp/346 [mem.size=36865192]
02/17/09 06:55:57.209387 zmc_m1[2574].DB2-zm_rtsp.cpp/44 [Sending RTSP message: SETUP rtsp://192.168.9.14:7070/live.sdp1 RTSP/1.0^M
Bandwidth: 8000^M
Transport: RTP/AVP/TCP;unicast^M
CSeq: 1^M
^M
]
02/17/09 06:55:57.212854 zmc_m1[2574].DB2-zm_rtsp.cpp/70 [Received RTSP response: RTSP/1.0 400 Bad Request^M
CSeq: 1^M
^M
 (37 bytes)]
02/17/09 06:55:57.213164 zmc_m1[2574].ERR-zm_rtsp.cpp/90 [Unexpected response code 400, text is 'Bad Request']
02/17/09 06:55:57.213560 zmc_m1[2574].DB2-zm_thread.cpp/263 [Exiting thread, status 0xffffffff]
02/17/09 06:55:57.502819 zmc_m1[2572].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
02/17/09 06:55:57.547267 zmc_m1[2572].DB1-zm_monitor.cpp/460 [Monitor New has function 2]
02/17/09 06:55:57.547460 zmc_m1[2572].DB1-zm_monitor.cpp/461 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
02/17/09 06:55:57.547482 zmc_m1[2572].DB1-zm_monitor.cpp/462 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
02/17/09 06:55:57.557978 zmc_m1[2572].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
02/17/09 06:55:57.558074 zmc_m1[2572].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
02/17/09 06:55:57.558188 zmc_m1[2572].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
02/17/09 06:55:57.558210 zmc_m1[2572].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
02/17/09 06:55:57.558231 zmc_m1[2572].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
02/17/09 06:55:57.558250 zmc_m1[2572].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
02/17/09 06:55:57.558269 zmc_m1[2572].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
02/17/09 06:55:57.558299 zmc_m1[2572].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
02/17/09 06:55:57.558323 zmc_m1[2572].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
02/17/09 06:55:57.602659 zmc_m1[2572].DB1-zm_monitor.cpp/2457 [Loaded monitor 1(New), 1 zones]
02/17/09 06:55:57.602756 zmc_m1[2572].INF-zmc.cpp/186 [Starting Capture]
02/17/09 06:55:57.603151 zmc_m1[2572].DB2-zm_remote_camera_rtsp.cpp/112 [Waiting for sources]
02/17/09 06:56:02.607357 zmc_m1[2572].FAT-zm_remote_camera_rtsp.cpp/118 [No RTSP sources]
02/17/09 06:56:02.607793 zmc_m1[2572].INF-zm_signal.cpp/60 [Got signal 6 (Aborted), crashing]
02/17/09 06:56:02.608034 zmc_m1[2572].ERR-zm_signal.cpp/71 [Signal address is (nil), from 0xb7f58424]
02/17/09 06:56:02.608646 zmc_m1[2572].ERR-zm_signal.cpp/98 [Backtrace: [0xb7f58424]]
02/17/09 06:56:02.608787 zmc_m1[2572].ERR-zm_signal.cpp/98 [Backtrace: [0xb7f58424]]
02/17/09 06:56:02.608897 zmc_m1[2572].ERR-zm_signal.cpp/98 [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7434880]]
rtp/rtsp/http:

Code: Select all

02/17/09 06:57:30.098270 zmc_m1[2703].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.02703]
02/17/09 06:57:30.100054 zmc_m1[2703].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
02/17/09 06:57:30.100687 zmc_m1[2703].DB1-zm_thread.cpp/240 [Creating thread]
02/17/09 06:57:30.100915 zmc_m1[2703].DB2-zm_rtsp.cpp/187 [RTSP Local SSRC is 6b8b4567]
02/17/09 06:57:30.100953 zmc_m1[2703].DB1-zm_thread.cpp/276 [Starting thread]
02/17/09 06:57:30.101192 zmc_m1[2705].DB2-zm_thread.cpp/252 [Invoking thread]
02/17/09 06:57:30.122035 zmc_m1[2703].DB1-zm_thread.cpp/297 [Started thread 2705]
02/17/09 06:57:30.123510 zmc_m1[2705].DB2-zm_rtsp.cpp/231 [Sending HTTP message: GET /live.sdp HTTP/1.0^M
x-sessioncookie: 846930886^M
^M
]
02/17/09 06:57:30.129276 zmc_m1[2703].DB1-zm_monitor.cpp/339 [monitor purpose=1]
02/17/09 06:57:30.129375 zmc_m1[2703].DB1-zm_monitor.cpp/346 [mem.size=36865192]
02/17/09 06:57:30.135659 zmc_m1[2705].DB2-zm_rtsp.cpp/243 [Received HTTP response: RTSP/1.0 400 Bad Request^M
CSeq: -1^M
^M
 (38 bytes)]
02/17/09 06:57:30.135831 zmc_m1[2705].ERR-zm_rtsp.cpp/251 [Response parse failure in 'RTSP/1.0 400 Bad Request^M
CSeq: -1^M
^M
']
02/17/09 06:57:30.136186 zmc_m1[2705].DB2-zm_thread.cpp/263 [Exiting thread, status 0xffffffff]
02/17/09 06:57:30.451601 zmc_m1[2703].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
02/17/09 06:57:30.485479 zmc_m1[2703].DB1-zm_monitor.cpp/460 [Monitor New has function 2]
02/17/09 06:57:30.485663 zmc_m1[2703].DB1-zm_monitor.cpp/461 [Monitor New LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
02/17/09 06:57:30.485686 zmc_m1[2703].DB1-zm_monitor.cpp/462 [Monitor New IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
02/17/09 06:57:30.496162 zmc_m1[2703].DB1-zm_zone.cpp/889 [Got 1 zones for monitor New]
02/17/09 06:57:30.496355 zmc_m1[2703].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
02/17/09 06:57:30.496377 zmc_m1[2703].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
02/17/09 06:57:30.496399 zmc_m1[2703].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
02/17/09 06:57:30.496419 zmc_m1[2703].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
02/17/09 06:57:30.496437 zmc_m1[2703].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
02/17/09 06:57:30.496456 zmc_m1[2703].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
02/17/09 06:57:30.496484 zmc_m1[2703].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
02/17/09 06:57:30.496509 zmc_m1[2703].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
02/17/09 06:57:30.530845 zmc_m1[2703].DB1-zm_monitor.cpp/2457 [Loaded monitor 1(New), 1 zones]
02/17/09 06:57:30.531032 zmc_m1[2703].INF-zmc.cpp/186 [Starting Capture]
02/17/09 06:57:30.541507 zmc_m1[2703].DB2-zm_remote_camera_rtsp.cpp/112 [Waiting for sources]
02/17/09 06:57:35.545470 zmc_m1[2703].FAT-zm_remote_camera_rtsp.cpp/118 [No RTSP sources]
02/17/09 06:57:35.545939 zmc_m1[2703].INF-zm_signal.cpp/60 [Got signal 6 (Aborted), crashing]
02/17/09 06:57:35.546197 zmc_m1[2703].ERR-zm_signal.cpp/71 [Signal address is (nil), from 0xb7f8b424]
02/17/09 06:57:35.546799 zmc_m1[2703].ERR-zm_signal.cpp/98 [Backtrace: [0xb7f8b424]]
02/17/09 06:57:35.546936 zmc_m1[2703].ERR-zm_signal.cpp/98 [Backtrace: [0xb7f8b424]]
02/17/09 06:57:35.547048 zmc_m1[2703].ERR-zm_signal.cpp/98 [Backtrace: /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb7467880]]
02/17/09 06:57:35.547265 zmc_m1[2703].ERR-zm_signal.cpp/98 [Backtrace: /lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb7469248]]
Locked