We currently don't support libcamera devices on the Raspberry Pi 5.
This will add a warning before the libcamera device logging.
Signed-off-by: Patrick Gehrsitz <mryel00.github@gmail.com>
If one cam with `ustreamer` is defined it will run `brokenfocus` for every cam defined. This will lead to a crash with `brokenfocus` devices with mode `camera-streamer`.
This PR fixes this issue and will only run `brokenfocus` for devices with mode `ustreamer`.
This will fix issue on Raspberry Pi5, which doesnt generate cam list,
because 'vcgencmd get_camera' exits with an error.
If all conditions fail it will always return '0'
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* fix(hwhandler.sh): fix error in device logging
If device is a Raspberry Pi and does not have libcamera-hello, it does not log devices
Error occurs in Line 93 of logging.sh
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: remove unnecessary double funtion calls
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* Fix makefile flags on low memory devices (#124)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
* docs: Update index with correct heading and link to backends (#131)
This is a follow-up to #108 and fixes heading and hyperlink to the list of backends
* Typo in `core.sh` (#138)
* Fix makefile flags on low memory devices (#124) (#125)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* Typo in `core.sh`
'Dependencys' --> dependencies
---------
Co-authored-by: Stephan Wendel <43513802+KwadFan@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* Fix makefile flags on low memory devices (#124) (#125) (#144)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* docs(messages.sh): fix typos, improve spelling (#145)
* feat: add legacy cam support (#146)
* feat: add legacy cam support
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* feat: add blockyfix
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: add ustreamer legacy cam workaround
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* Fix makefile flags on low memory devices (#124) (#125) (#147)
* Fix `makefile` flags on low memory devices
On devices with less than 512MB existing devices will use `-j2` due to wrong condition.
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
* fix: fix make config empty path (#148)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix default_path_msg function name (#149)
* fix: fix default_path_msg function name
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix message
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix libcamera-apps-lite not getting updated (#160)
libcamera-apps-lite is needed for libcamera-hello.
Crowsnest uses libcamera-hello to detected raspicams
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix Shellcheck test error (#153)
* fix: fix Shellcheck test error
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* style: remove empty condition
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
* fix: fix CustomPiOS docker build error (#158)
This should skip any check of `SUDO_USER`
Tested with Win & Linux host with Docker
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
---------
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
Co-authored-by: Kamil Trzciński <ayufan@ayufan.eu>
Co-authored-by: DeviousFusion <dj3tusk@gmail.com>
Co-authored-by: Sergei <67871383+slepiavka@users.noreply.github.com>
Co-authored-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
If libcamera of arducam is used, we need to get rid of its output,
compared to raspi foundations libcamera output
Signed-off-by: Stephan Wendel <me@stephanwe.de>
if `start_x=1` is not set,
it messes up output of `vcgencmd get_camera`.
Which leads to not detected libcamera csi cams,
even if they are detected correctly
Therefor using libcamera-hello to determine if available
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This introduces camera-streamer as streamer option
via `mode: multi`
camera-streamer is a feature packed stream service.
It is capable to deliver mjpg/snapshots/webrtc and rtsp
Limited to raspberry pi sbc's for now.
This should also resolv
Feature request #51
Feature request #37Fixes#83Closes#85Fixes#89
BREAKING CHANGES:
Dropping support for Debian Buster based images and kernels older than
5.15y
Dropping RTSP support due aler9/simple-rtsp-server
Dropping usage of ffmpeg
No support anymore for Raspicam V1 (EOL)
Signed-off-by: Stephan Wendel <me@stephanwe.de>
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This should fix#63 (fixes#63)
According to changes of Install routine, I simply forgot to change the
path to resources (which was file_templates before)
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This allows you to run crowsnest without any
proxy server needed.
This resolves#34
Signed-off-by: Stephan Wendel <me@stephanwe.de>
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This should fix#33
By default a variable bitrate is set, this leads
to a "blocky" view.
blockyfix function sets constant bitrate and a moderate
bitrate if not set by user.
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This fixes error that available diskspace is shown as used diskspace.
In reallity it should show available and using available instead of
used.
Thanks to mallcop for reporting
Signed-off-by: Stephan Wendel <me@stephanwe.de>
Adds Information Distribution,Release,Kernel,Host model,Cpu Count,
Total Ram and Diskusage to log, if not set to log_level: quiet
Signed-off-by: Stephan Wendel <me@stephanwe.de>
If log_level is set at least to verbose it will
display versions of used 3rd Party tools like
ustreamer, rtsp-simple-server and ffmpeg
Signed-off-by: Stephan Wendel <me@stephanwe.de>