My problem is about configure WEB_H_STREAM_METHOD. So, I have installed ZoneMinder 1.30, from https://launchpad.net/~iconnor/+archive ... ter=xenial by use this doc (ubuntu 16.04): https://wiki.zoneminder.com/Ubuntu_Serv ... Zoneminder
It works!
I have configured:
- PATH_ZMS to: /zm/cgi-bin/nph-zms
WEB_H_STREAM_METHOD to: mpeg
WEB_H_VIDEO_BITRATE to: 75
WEB_H_VIDEO_MAXFPS to: 10
MPEG_LIVE_FORMAT to: avi
Enable FFMPEG (I can export events to avi)
Set: ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin" in apache zoneminder.conf
Disable default-000.conf in apache
Install Firefox 45.1.1
Install VLC player v2.2.1 + Firefox VLC Web Plugin
So, after that I can open VLC player, insert link like this: http://zm/zm/cgi-bin/nph-zms?mode=mpeg& ... key=478821 and it works! Furthermore if I open URL, by web browser - it works too, by vlc plugin too!
If I open a camera by zm monitor I nothing to view... You can see pic:
When I open stream by URL, there is no any error in apacle.log but if I open monitor by zm I see the following error message:
Code: Select all
[Tue Aug 02 12:15:35.711280 2016] [:error] [pid 9522] [client 192.168.xx.xx:52184] ERR [socket_sendto( /var/run/zm/zms-317080s.sock ) failed: No such file or directory], referer: http://192.168.xx.xx/zm/index.php?view=watch&mid=1
If I open a stream by zm montor I see the following HTML code, it looks like this:
Code: Select all
<object id="liveStream" width="800" height="600
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"
standby="Loading Microsoft Windows Media Player components..."
type="video/x-msvideo">
<param name="FileName" value="/zm/cgi-bin/nph-zms?mode=mpeg&scale=100&bitrate=75&maxfps=10&format=avi&monitor=1&connkey=634884"/>
<param name="autoStart" value="1"/>
<param name="showControls" value="0"/>
<embed type="video/x-msvideo"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="/zm/cgi-bin/nph-zms?mode=mpeg&scale=100&bitrate=75&maxfps=10&format=avi&monitor=1&connkey=634884"
name="Monitor-1"
width="800"
height="600"
autostart="1"
showcontrols="0">
</embed>
</object> </div>
Can you help me to see mpeg via Firefox?
Thank to all!