Page 1 of 1

fanghack mjpeg streaming

Posted: Mon Feb 26, 2018 2:15 am
by Zm-king
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

Re: fanghack mjpeg streaming

Posted: Mon Feb 26, 2018 2:49 am
by bbunge
What Linux distro and version?
Zoneminder version?
Instructions used to install Zoneminder?
Do any other cameras work?

Re: fanghack mjpeg streaming

Posted: Mon Feb 26, 2018 3:09 am
by rockedge
configuration and path to the /cgi-bin/nph-zms is correct?

Re: fanghack mjpeg streaming

Posted: Mon Feb 26, 2018 3:38 am
by Zm-king
bbunge wrote: Mon Feb 26, 2018 2:49 am What Linux distro and version?
Zoneminder version?
Instructions used to install Zoneminder?
Do any other cameras work?
it is 4.14.13-300.fc27.armv7hl running in raspberry pi 3
zm vesion is 1.31.1
I install zm by yum install zoneminder from repository.
I just tried on two cameras both are same result.

Thanks

Re: fanghack mjpeg streaming

Posted: Mon Feb 26, 2018 3:39 am
by Zm-king
rockedge wrote: Mon Feb 26, 2018 3:09 am configuration and path to the /cgi-bin/nph-zms is correct?
yes, the path is correct, I can view streaming is not capture MJEPG streaming

Thanks