Тема: Захват видео с FreeBSD
Озадачился вопросом захвата видео из USB-вебкамеры.
Подключил. Вижу что камера определилась.
ugen0: vendor 0x0c45 USB camera, rev 1.10/1.01, addr 2
Как заставить ее записывать видео на винт?
Форум системного администратора FreeBSD, Linux, Unix, Windows.
Обсуждение железа, сетевых технологий, програмных комплексов и языков программирования.
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Форум системного администратора FreeBSD, Linux, Unix, Windows. → FreeBSD & BSD → Захват видео с FreeBSD
Страницы 1
Озадачился вопросом захвата видео из USB-вебкамеры.
Подключил. Вижу что камера определилась.
ugen0: vendor 0x0c45 USB camera, rev 1.10/1.01, addr 2
Как заставить ее записывать видео на винт?
/usr/ports/multimedia/motion
/usr/ports/multimedia/zoneminder
zoneminder работает с USB камерами,
motion должен, но я не пробовал.
Спасибо. По результатам отпишусь!
Добавлено: 23-02-2012 20:03:12
На выходных буду тестировать. Нашел пару USB-камер
Может чего получится
Добавлено: 14-03-2012 14:39:58
Поставил. Ставилось долго если честно.
И вот первые гвозди.
Итак создал базу, правда она на другом хосте и далее...
1. При старте сразу же выдало
/usr/local/etc/rc.d/zoneminder start
/usr/local/etc/rc.d/zoneminder: ERROR: zoneminder: mysqltest command failed
Мнение мое: нахрена этот тест?. Видимо для ламеров.
Решение: Закомментировал эту проверку в стартовом скрипте ./zoneminder
zm_prestart() {
local _count=0
# while : ; do
# echo "USE zm; SELECT Username from Users where Id=1;" | \
# /usr/local/bin/mysqltest -u zm zm > /dev/null 2>&1 && return
# _count=$(( $_count + 1 ))
# if [ $_count -gt 10 ]; then
# err 1 "${name}: mysqltest command failed"
# fi
#
# sleep 1
# done
}
Те кто хочет разбираться с этим, отправляются ставить mysql-server (если его нет на хосте), а потом уже вводить туда логины и пароли. Мой пока отказался говорить "ДА". Да и некогда мне с ним возиться пока.
Идем дальше.
Стартуем.
video# ./zoneminder start
Starting zoneminder.
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 34.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 46.
video#
И тут нужно видимо искать перл-спеца. Хорошо, что сам немного понимаю - прийдется поковырять еще.
Продолжение следует.
Добавлено: 14-03-2012 14:45:40
Исправляем:
video# ee ../zm.conf
добавим.
ZM_PATH_LOGS=/var/log
Добавлено: 14-03-2012 14:54:03
И далее в том же духе.
video# ./zoneminder start
Starting zoneminder.
Bareword "ZM_USE_DEEP_STORAGE" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/General.pm line 207.
BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/General.pm line 225.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 35.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 35.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 46.
video# ./zoneminder start
Starting zoneminder.
Bareword "ZM_DIR_EVENTS" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/General.pm line 202.
Bareword "ZM_DIR_EVENTS" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/General.pm line 206.
BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/General.pm line 225.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 35.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 35.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 46.
video#
video# ./zoneminder start
Starting zoneminder.
Bareword "ZM_SHM_KEY" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Memory/Shared.pm line 82.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Memory.pm line 125.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder.pm line 37.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 46.
video# ./zoneminder start
Starting zoneminder.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 159.
Bareword "ZM_OPT_FRAME_SERVER" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 202.
Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 214.
Bareword "ZM_RUN_AUDIT" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 224.
Bareword "ZM_OPT_TRIGGERS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 228.
Bareword "ZM_OPT_X10" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 232.
Bareword "ZM_CHECK_FOR_UPDATES" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 237.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 158.
Bareword "ZM_DYN_DB_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 160.
Execution of /usr/local/bin/zmpkg.pl aborted due to compilation errors.
Кто еще хочет бодаться с этим другом, правим конфиг
ZM_USE_DEEP_STORAGE=/
ZM_DIR_EVENTS=/
ZM_SHM_KEY=''
ZM_DYN_DB_VERSION=1.24.4
ZM_DYN_CURR_VERSION=1.24.4
ZM_DYN_LAST_VERSION=1.24.4
ZM_DYN_LAST_CHECK=0
ZM_EMAIL_TEXT=Video email
ZM_MESSAGE_TEXT=Hello, here is the zoneminder
ZM_JPEG_IMAGE_QUALITY=85
Добавлено: 14-03-2012 14:55:57
И снова пробуем запустить.
video# ./zoneminder start
Starting zoneminder.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 203.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 215.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 225.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 229.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 233.
Bareword found in conditional at /usr/local/bin/zmupdate.pl line 160.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Illegal hexadecimal digit ''' ignored at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Memory/Shared.pm line 142.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
video# ee /usr/local/bin/zmpkg.pl
Как то все сложно оказалось...
Но судя по тесту, вроде отзвается...
video# ./zoneminder status
Subroutine ZoneMinder::Config::ZM_DIR_EVENTS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_USE_DEEP_STORAGE redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_JPEG_IMAGE_QUALITY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_PATH_LOGS redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_EMAIL_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_MESSAGE_TEXT redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_CHECK_FOR_UPDATES redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_SHM_KEY redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_CURR_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_DB_VERSION redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
Subroutine ZoneMinder::Config::ZM_DYN_LAST_CHECK redefined at /usr/local/lib/perl5/site_perl/5.12.4/ZoneMinder/Config.pm line 95.
'zmwatch.pl' running since 12/03/14 13:52:58, pid = 77737, valid
'zmfilter.pl' running since 12/03/14 13:52:57, pid = 77723, valid
'zmupdate.pl -c' running since 12/03/14 13:52:59, pid = 77740, valid
'zmaudit.pl -c' running since 12/03/14 13:52:57, pid = 77726, valid
'zmx10.pl -c start' pending at 12/03/14 13:53:14
'zmtrigger.pl' pending at 12/03/14 13:53:33
В общем запустить удалось - но видео не показывает.
В логи идут ошибки.
Mar 14 15:21:50 video zmc_m1[90658]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:21:50 video zmdc[78490]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Mar 14 15:21:50 video zms[90659]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:21:51 video zms[90660]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:21:51 video zmwatch[78519]: ERR [Can't get shared memory id '7a6d0001', 1: Function not implemented]
Mar 14 15:21:51 video zmu[90662]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:21:51 video zmu[90664]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:22:01 video zms[90707]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:22:01 video zms[90708]: ERR [Can't shmget, probably not enough shared memory space free: Function not implemented]
Mar 14 15:22:01 video zmwatch[78519]: ERR [Can't get shared memory id '7a6d0001', 1: Function not implemented]
В конфигах-примерах зонеминдера опции максимум для 640х480
Причем D-Link там вообще нет.
Для большего размера примеров тоже нет.
Моя камера: D-link 7110
Код выдернул из примеров в самой камере.
<html>
<title>DCS-7110</title>
<body>
<center>
<h2>DCS-7110</h2>
<embed SCALE="ToFit" width="320" height="256" type="video/quicktime" qtsrc="rtsp://192.168.2.2/live.sdp" qtsrcdontusebrowser src="http://192.168.2.2/realqt.mov" autoplay="true" controller="true">
</body>
</html>
Но zoneminder с настройками по RTSP 192.168.2.2 / live.sdp показывать всеравно отказывается.
Могу только посочувствовать.
На форумах видел к VLC USB камеру прикрутили.
D-link IP 7110 отдает только по авторизации. Без авторизации не отдает. Видимо в этом проблема.
USB-камеру надо будет попробовать установить еще.
Страницы 1
Форум системного администратора FreeBSD, Linux, Unix, Windows. → FreeBSD & BSD → Захват видео с FreeBSD
Форум работает на PunBB, при поддержке Informer Technologies, Inc
Currently installed 13 official extensions. Copyright © 2024 PunBB.