Line 20: |
Line 20: |
| <!-- keep this first element as is, you can add some if needed --> | | <!-- keep this first element as is, you can add some if needed --> |
| {{#smeversion: {{#var:smecontribname}} }} | | {{#smeversion: {{#var:smecontribname}} }} |
− | {{#smeversion: {{#var:contribname}} | this is available in the zmrepo external repository with most of the dependencies}}
| |
| | | |
| ==Description== | | ==Description== |
Line 49: |
Line 48: |
| If you already have few packages depending on ffmpeg, you might need to force the install as zoneminder need a newer ffmpeg. We have built a compatibility package, but this needs two more steps : | | If you already have few packages depending on ffmpeg, you might need to force the install as zoneminder need a newer ffmpeg. We have built a compatibility package, but this needs two more steps : |
| wget https://mirror.canada.pialasse.com/releases/9/smetest/x86_64/RPMS/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm | | wget https://mirror.canada.pialasse.com/releases/9/smetest/x86_64/RPMS/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm |
− | yum install ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm --enablerepo=smecontirbs,zmrepo | + | yum install ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm --enablerepo=smecontribs,zmrepo |
| yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs | | yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs |
| rpm -ivh <nowiki>https://mirror.canada.pialasse.com/releases/9/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm</nowiki> | | rpm -ivh <nowiki>https://mirror.canada.pialasse.com/releases/9/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm</nowiki> |
Line 105: |
Line 104: |
| '''to use usb camera would need''' : | | '''to use usb camera would need''' : |
| | | |
− | usermod -a -G video www chmod 777 /dev/video0 | + | usermod -a -G video www |
| + | chmod 777 /dev/video0 |
| | | |
− | <nowiki>#</nowiki> or find an alternative, that was what helped me here modprobe uvcvideo
| + | # or find an alternative, that was what helped me here modprobe uvcvideo |
− | | + | # if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki> |
− | <nowiki>#</nowiki> if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki>
| + | '''syslog error when using vlclib:'''<syntaxhighlight lang="bash"> |
| + | ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied |
| + | </syntaxhighlight>see https://forums.gentoo.org/viewtopic-t-319220-highlight-alsa+permission.html<syntaxhighlight lang="bash"> |
| + | usermod -a -G audio www |
| + | </syntaxhighlight>also create and add in /etc/udev/rules.d/50-udev.rules<syntaxhighlight lang="bash"> |
| + | # alsa devices |
| + | SUBSYSTEM="sound", GROUP="audio" |
| + | KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio" |
| + | KERNEL="hw[CD0-9]*", NAME="snd/%k", GROUP="audio" |
| + | KERNEL="pcm[CD0-9cp]*", NAME="snd/%k", GROUP="audio" |
| + | KERNEL="midiC[D0-9]*", NAME="snd/%k", GROUP="audio" |
| + | KERNEL="timer", NAME="snd/%k", GROUP="audio" |
| + | KERNEL="seq", NAME="snd/%k", GROUP="audio" |
| + | </syntaxhighlight> |
| | | |
| '''NFR :''' | | '''NFR :''' |