forked from jnohlgard/python-v4l2capture
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
56 lines (34 loc) · 1.21 KB
/
README
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
libvideolive
Capture and stream video in python
2009, 2010, 2011 Fredrik Portstrom
2011 Joakim Gebart
2013 Tim Sheerman-Chase
This software may be used and redistributed under the terms of the GPL v2 (or later) license.
Introduction
============
libvideolive is a slim and easy to use Python extension for
capturing and streaming video.
this fork of python-v4l2capture: https://github.com/gebart/python-v4l2capture
original python-v4l2capture: http://fredrik.jemla.eu/v4l2capture
libv4l: http://freshmeat.net/projects/libv4l
Installation on Linux
=====================
libvideolive on linux requires libv4l by default. You can do so by erasing ', libraries = ["v4l2"]'
in setup.py and erasing '#define USE_LIBV4L' in v4l2capture.cpp.
libvideolive uses distutils to compile. For Linux:
./setup.py build
sudo ./setup.py install
Installation on Windows
=====================
Modify setup.py to specify locations of libjpeg and pthread external libraries.
With Visual Studio 2010:
SET VS90COMNTOOLS=%VS100COMNTOOLS%
python setup.py build -c msvc
python setup.py install
Remember to put the libjpeg and pthread dlls somewhere appropriate.
Example
=======
To do
Change log
==========
(see git log for latest changes)