This is a port of motion, this version works with network cameras and with any
capture devices that supports bktr(4) with composite and svideo inputs. Tuner
support is not yet implemented. Latest port versions supports webcams supported
by pwcbsd.
===> The following configuration options are available for motion-4.3.2_6:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
SQLITE3=off: SQLite 3 database support
====> Video capture driver (Netcam support only if none selected): you can only select none or one of them
BKTR=off: BKTR based TV capture cards
PWCBSD=off: PWCBSD based Webcams
WEBCAMD=on: Webcams using webcamd
===> Use 'make config' to modify these settings
To use the motion service properly, you should edit
/usr/local/etc/motion/motion.conf
according to your needs.
To set up your capture device (if using BKTR):
1. Load the bktr modules
Type as root:
kldload bktr_mem.ko
kldload bktr.ko
You can setup this in your /boot/loader.conf adding:
bktr_mem_load="YES"
bktr_load="YES"
2. Configure your card settings (tuner type, format, and card)
Type as root:
sysctl hw.bt848.card=1 ( Miro pctv )
sysctl hw.bt848.tuner=10 ( PHILIPS_FR1216_PAL )
sysctl hw.bt848.format=0 ( PAL )
or add to /etc/sysctl.conf adding:
hw.bt848.card=1
hw.bt848.tuner=10
hw.bt848.format=0
To automatically start the service at boot time,
add the following line to /etc/rc.conf:
motion_enable="YES"
Then, to start the service right now without reboot, execute
service motion start