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.
Find a file
Konstantin Lampalzer 54320096fb Documentation
2021-09-12 13:54:38 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2021-01-23 18:43:41 +01:00
compLib Documentation 2021-09-12 13:54:38 +02:00
docs Documentation 2021-09-12 13:54:38 +02:00
.gitignore removed .idea from git tracking 2021-01-16 21:21:00 +01:00
build_deb.sh small fixes in api requests for double elimination 2021-04-23 19:42:45 +02:00
changelog chnages in build 2021-01-17 03:04:38 +01:00
complib.service updated to version 0.0.3 2021-01-21 23:55:26 +01:00
MANIFEST.in initial commit 2021-01-14 18:26:47 +01:00
postinstall.sh update package 2021-03-19 15:24:46 +01:00
README.md added streaming commands 2021-02-06 02:43:20 +01:00
setup.py small fixes in api requests for double elimination 2021-04-23 19:42:45 +02:00
sphinx_to_github.sh updated to version 0.0.3 2021-01-21 23:55:26 +01:00
test.py changed api according to specification 2021-02-10 22:41:23 +01:00

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

Writing docs

Inline documentation example reStructured Text

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

Stream video from generic USB camera

with gst, very cpu heavy

gst-launch-1.0 v4l2src ! image/jpeg,width=640,height=480,framerate=30/1  ! jpegdec ! x264enc ! flvmux streamable=true ! rtmpsink location="rtmp://10.20.86.88/live/stream"

with ffmpeg, cpu friendly

ffmpeg -f v4l2  -framerate 30 -video_size 640x480 -i /dev/video0 -b:v 2M -f flv rtmp://10.20.86.88/live/stream