554 port forwarding for remote camera

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
2umich
Posts: 5
Joined: Mon Oct 22, 2018 5:40 pm

554 port forwarding for remote camera

Post by 2umich »

I have 5 same cameras in remote location.
I set up port forwarding but can connect to them only through port 554 (in path settings). I can connect to them through other ports with VLC, but with ZM only through port 554.
2umich
Posts: 5
Joined: Mon Oct 22, 2018 5:40 pm

Re: 554 port forwarding for remote camera

Post by 2umich »

Here is log
Attachments
log.png
log.png (139.94 KiB) Viewed 2040 times
2umich
Posts: 5
Joined: Mon Oct 22, 2018 5:40 pm

Re: 554 port forwarding for remote camera

Post by 2umich »

10/26/18 01:57:57.961921 zmc_m5[13280].DB1-zm_logger.cpp/251 [LogOpts: level=DB1/DB1, screen=OFF, database=INF, logfile=DB1->/var/log/zm/zm_debug.log.13280, syslog=INF]
10/26/18 01:57:57.962167 zmc_m5[13280].DB1-zm_utils.cpp/310 [Detected ARM (AArch32) processor with Neon]
10/26/18 01:57:57.963878 zmc_m5[13280].DB1-zm_monitor.cpp/2059 [Got 1 for v4l_captures_per_frame]
10/26/18 01:57:57.964905 zmc_m5[13280].DB1-zm_monitor.cpp/406 [monitor purpose=1]
10/26/18 01:57:57.964987 zmc_m5[13280].DB1-zm_monitor.cpp/416 [mem.size SharedData=608 TriggerData=560 VideoStoreData=4120 total=138245752]
10/26/18 01:57:57.965045 zmc_m5[13280].DB1-zm_storage.cpp/94 [No id passed to Storage constructor. Using default path /var/cache/zoneminder/events instead]
10/26/18 01:57:57.965100 zmc_m5[13280].DB1-zm_monitor.cpp/420 [Storage path: /var/cache/zoneminder/events]
10/26/18 01:57:57.965238 zmc_m5[13280].DB1-zm_monitor.cpp/551 [Unable to map file /dev/shm/zm.mmap.5 (138245752 bytes) to locked memory, trying unlocked]
10/26/18 01:57:57.965305 zmc_m5[13280].DB1-zm_monitor.cpp/555 [Mapped file /dev/shm/zm.mmap.5 (138245752 bytes) to unlocked memory]
10/26/18 01:57:58.592093 zmc_m5[13280].DB1-zm_monitor.cpp/486 [Monitor shop has function 2]
10/26/18 01:57:58.592209 zmc_m5[13280].DB1-zm_monitor.cpp/487 [Monitor shop LBF = '%N - %Y-%m-%d %H:%M:%S %z', LBX = 0, LBY = 0, LBS = 1]
10/26/18 01:57:58.592266 zmc_m5[13280].DB1-zm_monitor.cpp/488 [Monitor shop IBC = 50, WUC = 25, pEC = 25, PEC = 25, EAF = 1, FRI = 1000, RBP = 6, ARBP = 6, FM = 0]
10/26/18 01:57:58.593957 zmc_m5[13280].DB1-zm_zone.cpp/862 [Got 1 zones for monitor shop]
10/26/18 01:57:58.608772 zmc_m5[13280].DB1-zm_monitor.cpp/2318 [Loaded monitor 5(shop), 1 zones]
10/26/18 01:57:58.608890 zmc_m5[13280].INF-zmc.cpp/223 [Starting Capture version 1.32.1]
10/26/18 01:57:58.615414 zmc_m5[13280].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://xx:xxx@uxx.xx.xxx:10510/onvif1]
10/26/18 01:57:58.619802 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/344 [Calling avformat_open_input for rtsp://xxx:xxx5@xxx.xx.xxx:10510/onvif1]
10/26/18 01:57:59.857433 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/376 [Opened input]
10/26/18 01:57:59.857623 zmc_m5[13280].INF-zm_ffmpeg_camera.cpp/378 [Stream open rtsp://xxx:xxxx@uxxx.xx.xxx:10510/onvif1, parsing streams...]
10/26/18 01:58:08.223677 zmc_m5[13280].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
10/26/18 01:58:08.231466 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/503 [Failed to find decoder (h264_mmal)]
10/26/18 01:58:08.231676 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/514 [Video Found decoder h264]
10/26/18 01:58:08.231779 zmc_m5[13280].DB1-zm_ffmpeg.cpp/267 [Dumping stream index i(0) index(0)]
10/26/18 01:58:08.231861 zmc_m5[13280].DB1-zm_ffmpeg.cpp/272 [ Stream #0:0]
10/26/18 01:58:08.231937 zmc_m5[13280].DB1-zm_ffmpeg.cpp/280 [, frames:0, timebase: 1/90000]
10/26/18 01:58:08.232021 zmc_m5[13280].DB1-zm_ffmpeg.cpp/282 [: Video: h264, none]
10/26/18 01:58:08.232165 zmc_m5[13280].DB1-zm_ffmpeg.cpp/229 [90k stream tb numerator , ]
10/26/18 01:58:08.232284 zmc_m5[13280].DB1-zm_ffmpeg.cpp/229 [180k codec time base:]
10/26/18 01:58:08.232367 zmc_m5[13280].DB1-zm_ffmpeg.cpp/337 [
]
10/26/18 01:58:08.232450 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/521 [Calling avcodec_open2]
10/26/18 01:58:08.250882 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/544 [HWACCEL not in use]
10/26/18 01:58:08.251218 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/556 [Audio Found decoder]
10/26/18 01:58:08.251322 zmc_m5[13280].DB1-zm_ffmpeg.cpp/267 [Dumping stream index i(1) index(0)]
10/26/18 01:58:08.251405 zmc_m5[13280].DB1-zm_ffmpeg.cpp/272 [ Stream #0:1]
10/26/18 01:58:08.251481 zmc_m5[13280].DB1-zm_ffmpeg.cpp/280 [, frames:0, timebase: 1/8000]
10/26/18 01:58:08.251619 zmc_m5[13280].DB1-zm_ffmpeg.cpp/282 [: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s]
10/26/18 01:58:08.251702 zmc_m5[13280].DB1-zm_ffmpeg.cpp/337 [
]
10/26/18 01:58:08.251775 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/563 [Calling avcodec_open2]
10/26/18 01:58:08.251892 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/600 [Calling sws_isSupportedInput]
10/26/18 01:58:08.252060 zmc_m5[13280].ERR-zm_ffmpeg_camera.cpp/602 [swscale does not support the codec format: ]
10/26/18 01:58:08.256768 zmc_m5[13280].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
10/26/18 01:58:18.377148 zmc_m5[13280].DB1-zm_logger.cpp/255 [Terminating Logger]
Nocifer
Posts: 37
Joined: Mon Oct 01, 2018 4:05 pm

Re: 554 port forwarding for remote camera

Post by Nocifer »

And once again, the same issue with the not-found decoder for the detected codec:

Code: Select all

10/26/18 01:58:08.231466 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/503 [Failed to find decoder (h264_mmal)]
10/26/18 01:58:08.231676 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/514 [Video Found decoder h264]
10/26/18 01:58:08.231779 zmc_m5[13280].DB1-zm_ffmpeg.cpp/267 [Dumping stream index i(0) index(0)]
10/26/18 01:58:08.231861 zmc_m5[13280].DB1-zm_ffmpeg.cpp/272 [ Stream #0:0]
10/26/18 01:58:08.231937 zmc_m5[13280].DB1-zm_ffmpeg.cpp/280 [, frames:0, timebase: 1/90000]
10/26/18 01:58:08.232021 zmc_m5[13280].DB1-zm_ffmpeg.cpp/282 [: Video: h264, none]
10/26/18 01:58:08.232165 zmc_m5[13280].DB1-zm_ffmpeg.cpp/229 [90k stream tb numerator , ]
10/26/18 01:58:08.232284 zmc_m5[13280].DB1-zm_ffmpeg.cpp/229 [180k codec time base:]
10/26/18 01:58:08.232367 zmc_m5[13280].DB1-zm_ffmpeg.cpp/337 [
]
10/26/18 01:58:08.232450 zmc_m5[13280].DB1-zm_ffmpeg_camera.cpp/521 [Calling avcodec_open2]
Seems to me like some not-yet-discovered issue between ZM and the newer versions of ffmpeg.

What distro are you running ZM on?
2umich
Posts: 5
Joined: Mon Oct 22, 2018 5:40 pm

Re: 554 port forwarding for remote camera

Post by 2umich »

Hi,

Ubuntu 16.04 on Odorid HC

Strange thing is that I have this error only when using external port different form 554.
Post Reply