Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cniles/lightcomposer
https://github.com/cniles/lightcomposer
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/cniles/lightcomposer
- Owner: cniles
- Created: 2018-08-15T12:57:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T18:40:29.000Z (11 months ago)
- Last Synced: 2024-04-23T14:13:38.553Z (7 months ago)
- Language: CMake
- Size: 140 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lightcomposer
## Dependencies
The following libraries need to be installed
sudo apt-get install libfftw3-dev libavdevice-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresaemple-dev libsdl2-dev libboost-dev
Note that currently there is an issue with ffmpeg 4.x.x where software
resampling causes a segfault. You'll need to use ffmpeg 3.x.x; this may mean building from source and specifying LIBAV_ROOT_DIR when running cmake.### Optional
To use graphical lights for, e.g., debugging in a Windowed environment:
sudo apt-get install libsdl2-gfx-dev
To control the Pi's GPIO, you'll need WiringPi2
sudo apt-get install wiringpi
### Building
From the repository root:
```
mkdir build
cd build
cmake ../
make
```### User-specified libav
If libav is not located under include and lib directories:
```
cmake ../ -D LIBAV_ROOT_DIR=/path/to/libav/
```Note that it was necessary to aggregate all the libraries under a
single lib directory for them to be found by the cmake module. E.g.,
from the libav root directory:```
mkdir lib
find ./ -name '*.so*' -exec cp {} ./lib \;
```If building from source, make sure you include run configure with
`--enable-shared` so shared objects are generated.