Page 1 of 1

Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 4:28 am
by twice
Good day, long time user
i run ubuntu 18.04 zm 1.36.25
I have a Nextiva S1816e Video Encoder suports rtp/rstp everything works fine in VLC but i get this error
in zoneminder
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Unable to connect to monitor id 17 for streaming zm_stream.cpp 60
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Can't open memory map file /dev/shm/zm.mmap.17: No such file or directory zm_monitor.cpp 927
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Monitor shm is not connected zm_stream.cpp 78
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Unable to connect to monitor id 17 for streaming zm_stream.cpp 60
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Can't open memory map file /dev/shm/zm.mmap.17: No such file or directory zm_monitor.cpp 927
9/14/22, 11:17:47 PM CDT zms_m17 3444 ERR Monitor shm is not connected zm_stream.cpp9/14/22, 11:17:43 PM CDT zmc_m17 3535 WAR PulseAudio server connection failure: Connection refused zm_libvlc_camera.cpp 324
running ffmpeg/libvlc source tab
path: rtsp://192.168.2.120:554/media/16/video/2
method: udp/tcp
Target colorspace: 32 bit color
Capture Resolution (pixels): 720x480 720x480 Full D1 NTSC
Orientation: Normal
Deinterlacing: disabled
any help would be appreciated

edit... when using the libvlc the Nextiva GUI shows 6 connections

Re: Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 12:28 pm
by iconnor
Better to use the ffmpeg monitor type.

We need logs from zmc, not zms. zms is basically complaining that zmc isn't running which isn't terribly informative.

Re: Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 1:04 pm
by twice
thanks for reply !

9/15/22, 7:59:14 AM CDT zmc_m17 6631 ERR Unable to open input rtsp://192.168.2.120:554/media/16/video/2 due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 326


dont know exactly whaqt you need but this is zmc

Re: Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 1:11 pm
by iconnor
Basically what this message means is that zmc (ffmpeg) wasn't able to figure out the stream in time. This device may have a really large keyframe interval, or something. You can increase Options->System->WATCH_MAX_DELAY or try setting Monitor->Source->OPtions to include probesize=50000 (or larger).

Re: Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 1:12 pm
by iconnor
Also if you havn't already done so, try both udp/tcp. Sometimes one or the other isn't implemented.

Re: Nextiva S1816e Video Encoder

Posted: Thu Sep 15, 2022 1:29 pm
by twice
thanks ...

i have done tcp/udp will try the above sugestions

have a good day ...

Re: Nextiva S1816e Video Encoder

Posted: Fri Sep 16, 2022 12:11 am
by twice
Good day,

ok firmware updated and zmc has more errors

Code: Select all

9/15/22, 6:58:34 PM CDT	zmc_m17		139713	DB2	SDP:v=0o=- 1267021786790565 1 IN IP4 192.168.2.120s=VVS RTSP Servert=0 0a=control:*a=range:npt=0-m=video 0 RTP/AVP 96a=control:/media/16/video/2a=rtpmap:96 H264/90000a=fmtp:96 packetization-mode=1;profile-level-id=4d401f;sprop-parameter-sets=Z01AH+coFg/f+AAoAFiAAAXdgAFfkHAAAAas/AAANWfh//8YAAADA1Z+AAAas/D//4EA,aP48gAA=c=IN IP4 0.0.0.0	zm_ffmpeg.cpp	69
9/15/22, 6:58:30 PM CDT	zmc_m17		139713	DB3	RTP Profile IDC: 4d Profile IOP: 40 Level: 1f	zm_ffmpeg.cpp	69
9/15/22, 6:58:30 PM CDT	zmc_m17		139713	DB3	RTP Packetization Mode: 1	zm_ffmpeg.cpp	69
9/15/22, 6:58:30 PM CDT	zmc_m17		139713	DB3	video codec set to: h264	zm_ffmpeg.cpp	69
9/15/22, 6:58:30 PM CDT	zmc_m17		139713	DB3	Failed to parse interval end specification ''	zm_ffmpeg.cpp	69
and this also but no video

Code: Select all

[9/15/22, 6:58:27 PM CDT	zmc_m17		139713	DB2	Successfully connected to 192.168.2.120 port 554	zm_ffmpeg.cpp	69
9/15/22, 6:58:27 PM CDT	zmc_m17		139713	DB2	Starting connection attempt to 192.168.2.120 port 554	zm_ffmpeg.cpp	69
thanks !

Re: Nextiva S1816e Video Encoder

Posted: Fri Sep 16, 2022 1:15 pm
by iconnor
Small snippets of logs are not very useful. Post the whole thing, or send it to isaac@zoneminder.com.

Re: Nextiva S1816e Video Encoder

Posted: Fri Sep 16, 2022 11:29 pm
by twice
good day,

after alot more research this seems to be a ffmpg issue not zoneminder
i guess my only hope is t see if i can get vlc working in zm.


thanks for you time iconnor! and everything you have done !

have a great day!!