ZM 1.24.2 on openSUSE 11.3 RTSP and ffmpeg problems

Forum for questions and support relating to the 1.24.x releases only.
Locked
oneq
Posts: 3
Joined: Fri Jun 04, 2010 6:07 am

ZM 1.24.2 on openSUSE 11.3 RTSP and ffmpeg problems

Post by oneq »

Hello

I've installed openSuSE 11.3, added repositories packman and ZoneMinder (liquid-co.de/pub/suse/repositories/11.3). Then I've installed ZoneMinder-MP (with ffmpeg support).

Then I try to add monitors. My IP cameras supports unauthorized RTSP, so I try to get video stream from they with RTSP.

If I setup monitor as "remote" with "RTP/RTSP" mode, then I get following error in /var/log/messages about 2000 strings/second:
Oct 25 20:36:43 nsk-mag4-zm zmc_m1[6214]: ERR [Unexpected channel selector 2 in RTSP interleaved data]
But I can view video.


If I setup monitor as "ffmpeg" and set path as rtsp://192.168.0.100:554/video.mp4 (which is correct) I can view video one or two times, after it ZM crashes with following error on console and /var/log/messages:

*** glibc detected *** /usr/bin/zmc: double free or corruption (!prev): 0x0db58c10 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6dffb)[0xb659fffb]
/lib/libc.so.6(+0x6ed7b)[0xb65a0d7b]
/lib/libc.so.6(cfree+0x6d)[0xb65a4add]
/usr/lib/libavformat.so.52(av_close_input_stream+0x81)[0xb76d9781]
/usr/bin/zmc[0x805d247]
/usr/bin/zmc[0x805d2c2]
/usr/bin/zmc[0x8071746]
/usr/bin/zmc[0x804d3b5]
/lib/libc.so.6(__libc_start_main+0xfe)[0xb6548c0e]
/usr/bin/zmc[0x804cd01]
======= Memory map: ========
08048000-080b9000 r-xp 00000000 08:23 538073 /usr/bin/zmc
080b9000-080ba000 r--p 00070000 08:23 538073 /usr/bin/zmc
080ba000-080c4000 rw-p 00071000 08:23 538073 /usr/bin/zmc
080c4000-0dbba000 rw-p 00000000 00:00 0 [heap]
b3300000-b3321000 rw-p 00000000 00:00 0
b3321000-b3400000 ---p 00000000 00:00 0
b347d000-b3640000 rw-p 00000000 00:00 0
b36d8000-b5a01000 rw-s 00000000 00:04 3964930 /SYSV7a6d0001 (deleted)
b5a01000-b5bc5000 rw-p 00000000 00:00 0
b5ca7000-b5cb2000 r-xp 00000000 08:23 394001 /lib/libnss_files-2.11.2.so
b5cb2000-b5cb3000 r--p 0000a000 08:23 394001 /lib/libnss_files-2.11.2.so
b5cb3000-b5cb4000 rw-p 0000b000 08:23 394001 /lib/libnss_files-2.11.2.so
b5cb4000-b5cb7000 rw-p 00000000 00:00 0
b5cb7000-b5d06000 r-xp 00000000 08:23 537608 /usr/lib/liborc-0.4.so.0.0.0
b5d06000-b5d07000 r--p 0004e000 08:23 537608 /usr/lib/liborc-0.4.so.0.0.0
b5d07000-b5d0a000 rw-p 0004f000 08:23 537608 /usr/lib/liborc-0.4.so.0.0.0
b5d0a000-b5d0f000 r-xp 00000000 08:23 537614 /usr/lib/libogg.so.0.6.0
b5d0f000-b5d10000 r--p 00004000 08:23 537614 /usr/lib/libogg.so.0.6.0
b5d10000-b5d11000 rw-p 00005000 08:23 537614 /usr/lib/libogg.so.0.6.0
b5d11000-b5d63000 r-xp 00000000 08:23 394276 /lib/libssl.so.1.0.0
b5d63000-b5d65000 r--p 00052000 08:23 394276 /lib/libssl.so.1.0.0
b5d65000-b5d68000 rw-p 00054000 08:23 394276 /lib/libssl.so.1.0.0
b5d68000-b5d77000 r-xp 00000000 08:23 538012 /usr/lib/libfaac.so.0.0.0
b5d77000-b5d78000 r--p 0000e000 08:23 538012 /usr/lib/libfaac.so.0.0.0
b5d78000-b5d7b000 rw-p 0000f000 08:23 538012 /usr/lib/libfaac.so.0.0.0
b5d7b000-b5d7c000 rw-p 00000000 00:00 0
b5d7c000-b5d87000 r-xp 00000000 08:23 537633 /usr/lib/libgsm.so.1.0.13
b5d87000-b5d88000 r--p 0000a000 08:23 537633 /usr/lib/libgsm.so.1.0.13
b5d88000-b5d89000 rw-p 0000b000 08:23 537633 /usr/lib/libgsm.so.1.0.13
b5d89000-b5dcd000 r-xp 00000000 08:23 537652 /usr/lib/libmp3lame.so.0.0.0
b5dcd000-b5dce000 r--p 00043000 08:23 537652 /usr/lib/libmp3lame.so.0.0.0
b5dce000-b5dd0000 rw-p 00044000 08:23 537652 /usr/lib/libmp3lame.so.0.0.0
b5dd0000-b5e03000 rw-p 00000000 00:00 0
b5e03000-b5e33000 r-xp 00000000 08:23 537654 /usr/lib/libopencore-amrnb.so.0.0.2
b5e33000-b5e34000 r--p 0002f000 08:23 537654 /usr/lib/libopencore-amrnb.so.0.0.2
b5e34000-b5e35000 rw-p 00030000 08:23 537654 /usr/lib/libopencore-amrnb.so.0.0.2
b5e35000-b5e4b000 r-xp 00000000 08:23 537656 /usr/lib/libopencore-amrwb.so.0.0.2
b5e4b000-b5e4c000 r--p 00015000 08:23 537656 /usr/lib/libopencore-amrwb.so.0.0.2
b5e4c000-b5e4d000 rw-p 00016000 08:23 537656 /usr/lib/libopencore-amrwb.so.0.0.2
b5e4d000-b5f0a000 r-xp 00000000 08:23 537999 /usr/lib/libschroedinger-1.0.so.0.3.0
b5f0a000-b5f0b000 ---p 000bd000 08:23 537999 /usr/lib/libschroedinger-1.0.so.0.3.0
b5f0b000-b5f0c000 r--p 000bd000 08:23 537999 /usr/lib/libschroedinger-1.0.so.0.3.0
b5f0c000-b5f0e000 rw-p 000be000 08:23 537999 /usr/lib/libschroedinger-1.0.so.0.3.0
b5f0e000-b5f0f000 rw-p 00000000 00:00 0
b5f0f000-b5f25000 r-xp 00000000 08:23 537602 /usr/lib/libspeex.so.1.5.0
b5f25000-b5f26000 r--p 00016000 08:23 537602 /usr/lib/libspeex.so.1.5.0
b5f26000-b5f27000 rw-p 00017000 08:23 537602 /usr/lib/libspeex.so.1.5.0
b5f27000-b5f3f000 r-xp 00000000 08:23 537995 /usr/lib/libtheoradec.so.1.1.4
b5f3f000-b5f40000 r--p 00017000 08:23 537995 /usr/lib/libtheoradec.so.1.1.4
b5f40000-b5f41000 rw-p 00018000 08:23 537995 /usr/lib/libtheoradec.so.1.1.4
b5f41000-b5f82000 r-xp 00000000 08:23 537997 /usr/lib/libtheoraenc.so.1.1.2
b5f82000-b5f83000 r--p 00040000 08:23 537997 /usr/lib/libtheoraenc.so.1.1.2
b5f83000-b5f84000 rw-p 00041000 08:23 537997 /usr/lib/libtheoraenc.so.1.1.2
b5f84000-b5fae000 r-xp 00000000 08:23 537987 /usr/lib/libvorbis.so.0.4.3
b5fae000-b5faf000 r--p 00029000 08:23 537987 /usr/lib/libvorbis.so.0.4.3
b5faf000-b5fb0000 rw-p 0002a000 08:23 537987 /usr/lib/libvorbis.so.0.4.3
b5fb0000-b609d000 r-xp 00000000 08:23 537989 /usr/lib/libvorbisenc.so.2.0.6
b609d000-b60ab000 r--p 000ec000 08:23 537989 /usr/lib/libvorbisenc.so.2.0.6
b60ab000-b60ac000 rw-p 000fa000 08:23 537989 /usr/lib/libvorbisenc.so.2.0.6
b60ac000-b60ad000 rw-p 00000000 00:00 0
b60ad000-b6133000 r-xp 00000000 08:23 537648 /usr/lib/libvpx.so.0.9.0
b6133000-b6134000 r--p 00086000 08:23 537648 /usr/lib/libvpx.so.0.9.0
b6134000-b6135000 rw-p 00087000 08:23 537648 /usr/lib/libvpx.so.0.9.0
b6135000-b62ce000 rw-p 00000000 00:00 0
b62ce000-b6376000 r-xp 00000000 08:23 537645 /usr/lib/libx264.so.107
b6376000-b6377000 r--p 000a7000 08:23 537645 /usr/lib/libx264.so.107
b6377000-b6378000 rw-p 000a8000 08:23 537645 /usr/lib/libx264.so.107
b6378000-b637f000 rw-p 00000000 00:00 0
b637f000-b6425000 r-xp 00000000 08:23 537650 /usr/lib/libxvidcore.so.4.2
b6425000-b6426000 ---p 000a6000 08:23 537650 /usr/lib/libxvidcore.so.4.2
b6426000-b6427000 r--p 000a6000 08:23 537650 /usr/lib/libxvidcore.so.4.2
b6427000-b6431000 rw-p 000a7000 08:23 537650 /usr/lib/libxvidcore.so.4.2
b6431000-b649b000 rw-p 00000000 00:00 0
b649b000-b649e000 r-xp 00000000 08:23 538010 /usr/lib/libavcore.so.0.9.1
b649e000-b649f000 r--p 00002000 08:23 538010 /usr/lib/libavcore.so.0.9.1
b649f000-b64a0000 rw-p 00003000 08:23 538010 /usr/lib/libavcore.so.0.9.1
b64a0000-b652d000 r-xp 00000000 08:23 537635 /usr/lib/libdirac_encoder.so.0.1.0
b652d000-b652f000 r--p 0008c000 08:23 537635 /usr/lib/libdirac_encoder.so.0.1.0
b652f000-b6530000 rw-p 0008e000 08:23 537635 /usr/lib/libdirac_encoder.so.0.1.0
b6530000-b6532000 rw-p 00000000 00:00 0
b6532000-b6696000 r-xp 00000000 08:23 394167 /lib/libc-2.11.2.so
b6696000-b6697000 ---p 00164000 08:23 394167 /lib/libc-2.11.2.so
b6697000-b6699000 r--p 00164000 08:23 394167 /lib/libc-2.11.2.so
b6699000-b669a000 rw-p 00166000 08:23 394167 /lib/libc-2.11.2.so
b669a000-b669d000 rw-p 00000000 00:00 0
b669d000-b66b9000 r-xp 00000000 08:23 394474 /lib/libgcc_s.so.1Oct 25 20:42:28 nsk-mag4-zm zmdc[6318]: INF ['zmc -m 1' stopping at 10/10/25 20:42:28]
Oct 25 20:42:28 nsk-mag4-zm zmc_m1[6588]: INF [Got signal 15 (Terminated), exiting]
Oct 25 20:42:34 nsk-mag4-zm zmdc[6318]: INF ['zmc -m 1' crashed, signal 8]
Oct 25 20:42:34 nsk-mag4-zm zmdc[6318]: INF ['zmc -m 1' starting at 10/10/25 20:42:34, pid = 6643]
Oct 25 20:42:34 nsk-mag4-zm zmdc[6643]: INF ['zmc -m 1' started at 10/10/25 20:42:34]
Oct 25 20:42:34 nsk-mag4-zm zmc_m1[6643]: INF [Debug Level = 0, Debug Log = <none>]
Oct 25 20:42:34 nsk-mag4-zm zmc_m1[6643]: INF [Starting Capture]
Oct 25 20:42:34 nsk-mag4-zm zmc_m1[6643]: INF [Priming capture from rtsp://192.168.0.100:554/video.mp4]
oneq
Posts: 3
Joined: Fri Jun 04, 2010 6:07 am

Post by oneq »

And one more error in /var/log/messages in ffmpeg mode:

Oct 25 20:59:12 nsk-mag4-zm zms[6831]: ERR [Terminating, last frame sent time 1288015151.716178 secs more than maximum of 10.000000]


May be it helps
Locked