This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/README.md
2021-01-21 19:37:04 +01:00

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\"```
```