fanghack mjpeg streaming

Forum for questions and support relating to the 1.31.x releases only.
Locked
Zm-king
Posts: 6
Joined: Wed Feb 14, 2018 1:12 am

fanghack mjpeg streaming

Post 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
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: fanghack mjpeg streaming

Post by bbunge »

What Linux distro and version?
Zoneminder version?
Instructions used to install Zoneminder?
Do any other cameras work?
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: fanghack mjpeg streaming

Post by rockedge »

configuration and path to the /cgi-bin/nph-zms is correct?
Zm-king
Posts: 6
Joined: Wed Feb 14, 2018 1:12 am

Re: fanghack mjpeg streaming

Post 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
Zm-king
Posts: 6
Joined: Wed Feb 14, 2018 1:12 am

Re: fanghack mjpeg streaming

Post 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
Locked