Cant set up webcam
Re: Cant set up webcam
Dacoz: That doesn't go into a configure (.conf) it is a step in building from scratch ie: ./configure --enable-mmap=yess --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS" --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" CXXFLAGS="-D__STDC_CONSTANT_MACROS". It's pretty much the configure for the "make" command.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: Cant set up webcam
The MJPEG capture palette isn't supported by ZM at this moment.
mastertheknife
mastertheknife
Kfir Itzhak.
Re: Cant set up webcam
Thanks for the feedback! It looks like if I want to try the mapped memory solution, I need to completely reinstall zm from source? (Something I've not been brave enough to try...)
If I want to still try to get the current install (from apt-get binary) to work though, any suggestions about why sudo sysctl -p returns those errors? And/or suggest different values? I'm running it on an older laptop with 512 MB memory, 80 GB HDD.
Thanks in advance!
If I want to still try to get the current install (from apt-get binary) to work though, any suggestions about why sudo sysctl -p returns those errors? And/or suggest different values? I'm running it on an older laptop with 512 MB memory, 80 GB HDD.
Thanks in advance!
Re: Cant set up webcam
No, I believe the newer Debian/Ubuntu packages use mapped memory (check to be sure) so it's possible that your ZM is using mmap by default.I need to completely reinstall zm from source?
After rebooting try running ipcs -l to be sure on status.why sudo sysctl -p returns those errors?
From the wiki:
By default mapped memory files are created in /dev/shm which on most distributions is a dedicated pseudo-partition containing memory formatted as a filesystem. If your system uses a different path then this can be changed in ZoneMinder in Options->paths->PATH_MAP. It uses a filesystem type called tmpfs. If you type 'df' you should see this area and the size of memory it currently allows. It is important that you do not use a disk based filesystem for your memory mapped files as this will cause memory access to be extremely slow. ZoneMinder creates files called .zm.mmap.<monitor id> in the mapped memory filesystem.