28 lines
850 B
Markdown
28 lines
850 B
Markdown
# compLIB
|
|
|
|
## TODOs
|
|
|
|
### LED control is not implemented
|
|
|
|
Need dependencies:
|
|
https://github.com/Freenove/Freenove_RPI_WS281x_Python
|
|
|
|
# Dependencies
|
|
|
|
## Building documentation
|
|
```
|
|
pip install sphinx-rtd-theme
|
|
```
|
|
|
|
* [Sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html)
|
|
|
|
# Writing docs
|
|
|
|
[Inline documentation example](https://pythonhosted.org/an_example_pypi_project/sphinx.html#full-code-example)
|
|
[reStructured Text](https://pythonhosted.org/an_example_pypi_project/sphinx.html#restructured-text-rest-resources)
|
|
|
|
# Stream Video
|
|
|
|
```
|
|
sudo raspivid -t 0 -b 10000000 -w 1920 -h 1080 -fps 30 -n -o - | gst-launch-1.0 fdsrc ! video/x-h264,width=1280,height=720,framerate=30/1,noise-reduction=1,profile=high,stream-format=byte-stream ! h264parse ! queue ! flvmux streamable=true ! rtmpsink location=\"rtmp://10.1.1.68/live/stream\"```
|
|
```
|