forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.FreeBSD
47 lines (35 loc) · 1.1 KB
/
README.FreeBSD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
The following file explains how to build and run
Motion on FreeBSD. It was tested on FreeBSD 11.0
To build Motion on FreeBSD, you need the following packages:
* pkg install autoconf pkgconf automake gmake
For database backend support, also install one of the following:
* mysql57-client
* postgresql95-contrib
* sqlite3
For webcams:
* pkg install v4l_compat webcamd
* Add cuse_load="YES" in /boot/loader.conf
* Add webcamd_enable="YES" in the /etc/rc.conf
* chmod 666 /dev/video0
Then, run the following commands:
autoreconf
./configure
gmake
gmake install
To set up your capture device:
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