forked from sackmotion/motion
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.FreeBSD
88 lines (59 loc) · 2.12 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
The motion port to *BSD is still in very beta state, but
has been tested with network cameras support successfully.
This version has been tested with TV Card ( Miro PCTV pro ),
but should work by any framegrabber supported by bktr driver.
* How configure your capture card *
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 compile motion in FreeBSD ( should work in OpenBSD and NetBSD ) :
autoconf
./configure
of
CC=gcc34 ./configure ( to override the default gcc version)
gmake
gmake install
( ./configure --without-bktr , to work only with network cameras ).
Tested in FreeBSD 4.9/4.1x/5.x/6.x .
Packages needed (dependencies for 6.x):
- autoconf-2.59_2
- gcc-3.4.6_20051206
- m4-1.4.4
- linuxthreads-2.2.3_19 only if you don't want native freebsd pthread
- jpeg-6b_4 or above
- gmake-3.80_2 ( GNU Make )
- ffmpeg-0.4.9.p1_6 ( mpeg1/4 video encoders ).
- mysql-server , mysql-client ( database backend support ).
- postgresql-devel , postgresql ( database backend support ).
- kernel with bktr support ( GENERIC kernel has by default support ).
* webcams pwc based
- pwcbsd-1.4.1_1 ( with mmap support )
- v4l_compat-1.0.20060801
run : ./configure --with-pwcbsd ; gmake ; gmake install
* TODO *
--------
- Improve the capture method ( double buffer , async capture ).
- Detect pixelformat , palettes format , etc ...
- Implement tuner capture ( now only video / svideo capture implemented ).
- Code clean up.
- And many others ...
Any question / fix / suggestion please send it to motion mailing list.
http://www.lavrsen.dk/twiki/bin/view/Motion/FreeBSD
* WEBCAMS
----------
http://www.lavrsen.dk/twiki/bin/view/Motion/HowtoMotionPwcFreeBSD
Angel Carpintero