fanghack mjpeg streaming
Posted: Mon Feb 26, 2018 2:15 am
Hi All,
As I know Zoneminder will use less CPU and Ram by capturing MJPEG streaming.
I setup fanghack on XiaoFang IP Cam with streaming setting as snx_rtsp_server -W 720 -H 396 -j 10 -Q 10
In zm, source type is ffmpeg, source path is rtsp://{ip address}/unicast and remote method is TCP, cature width and height are same
everything looks normal, but the live streaming show blank (there is no broken picture icon, just bank)
Below is from logs
zms[14468]: ERR [zms] [Terminating, last frame sent time 1519611052.414993 secs more than maximum of 10.000000]
web_php[9888]: ERR [Socket /dev/shm/sock/zms-394907s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.]
Pls help and how to capture MJPEG in ZM
Thanks
As I know Zoneminder will use less CPU and Ram by capturing MJPEG streaming.
I setup fanghack on XiaoFang IP Cam with streaming setting as snx_rtsp_server -W 720 -H 396 -j 10 -Q 10
In zm, source type is ffmpeg, source path is rtsp://{ip address}/unicast and remote method is TCP, cature width and height are same
everything looks normal, but the live streaming show blank (there is no broken picture icon, just bank)
Below is from logs
zms[14468]: ERR [zms] [Terminating, last frame sent time 1519611052.414993 secs more than maximum of 10.000000]
web_php[9888]: ERR [Socket /dev/shm/sock/zms-394907s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.]
Pls help and how to capture MJPEG in ZM
Thanks