Skip to content

Commit 39df9db

Browse files
committed
Update README & fetch zip from export release
1 parent 277e283 commit 39df9db

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ body:
2020
- 01-update-octoprint
2121
- 02-update-boot
2222
- 03-update-libcamera-apps
23+
- 10-install-camera-streamer
2324
- 80-install-user-fix
2425
- 81-fix-octopi-txt
2526
- 99-write-build

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ A bunch of simple update scripts are run via [CustoPiZer](https://github.com/Oct
1212
* `01-update-octoprint`: Updates OctoPrint to the latest version
1313
* `02-update-boot`: Updates bootloader and kernel to the latest version
1414
* `03-update-libcamera-apps`: Updates the the libcamera apps to the latest version
15+
* `10-install-camera-streamer`: Installs the new [camera-streamer](https://github.com/ayufan/camera-streamer) based webcam stack, replacing mjpg-streamer and webcamd. The new stack supports libcamera based cameras like the RPi Cam v3 and newer Arducams, and is also more performant. See [the FAQ](https://faq.octoprint.org/camera-streamer-config) for more details.
1516
* `80-install-user-fix`: Installs a compatibility layer to support renaming the `pi` user, if needed.
16-
* `99-write-build`: Writes the build tag to `/etc/octopiuptodate-build`
17+
* `99-write-build`: Writes the build tag to `/etc/octopiuptodate-build`.
1718

1819
## How do I run this?
1920

scripts/10-install-camera-streamer

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ install_cleanup_trap
1010
apt-get install --yes libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential cmake libssl-dev
1111

1212
# install camera-streamer
13-
cp /files/camera-streamer/camera-streamer.zip /tmp/camera-streamer.zip
13+
[ -e /files/camera-streamer/camera-streamer.zip ] && cp /files/camera-streamer/camera-streamer.zip /tmp/camera-streamer.zip \
14+
|| curl -L -o /tmp/camera-streamer.zip "https://github.com/OctoPrint/camera-streamer/releases/download/20230221174840/camera-streamer.zip"
1415
unzip /tmp/camera-streamer.zip -d /tmp/camera-streamer
1516
rm /tmp/camera-streamer.zip
1617

0 commit comments

Comments
 (0)