Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version |
G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=6 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng'
- Distro version |
bookworm
- Kernel version |
uname --all
Linux DietPi 6.9.5-edge-rockchip64 #1 SMP PREEMPT Sun Jun 16 11:51:16 UTC 2024 aarch64 GNU/Linux
- Architecture |
arm64
- SBC model |
Orange Pi 3B (aarch64)
- Power supply used | 5V 3A
- SD card used | SanDisk ultra
Additional Information (if applicable)
- Software title | mjpg-streamer and octoprint
- Was the software title installed freshly or updated/migrated? | octoprint was already installed and mjpg-streamer freshly instaled
- Can this issue be replicated on a fresh installation of DietPi? | I donāt know, I managed to solve the problem and Iām writing here just to say that something like this happened
ā If you sent a ādietpi-bugreportā, please paste the ID here ā
Steps to reproduce
- Install mjpg-streamer after octopi via dietpi-software
Expected behaviour
- the camera should be visible in octoprint
Actual behaviour
- the camera is visible on the page http://:8082/?action=snapshot , but not in octoprint
Extra details
- I have already managed to solve this problem. The bug was created by dietpi-software installing mjpg-streamer and editing octoprintās config.yaml file. The error was writing at the end of the file this part:
webcam: ffmpeg: /usr/bin/ffmpeg snapshot: http://<ip>:8082/?action=snapshot stream: http://<ip>:8082/?action=stream
and there should be a space for editing in the earlier part of the file:
classicwebcam:
after editing:
classicwebcam: _config_version: 1 snapshot: http://<ip>:8082/?action=snapshot stream: http://<ip>:8082/?action=stream
and so I managed to fix this error. later, I added the path to ffmpeg on the octoprint website and everything works, I checked the config.yaml file again and now the path was added to a new line at the end of the file
webcam: ffmpeg: /usr/bin/ffmpeg
,
so now I donāt know what the problem was, but now everything works. maybe this knowledge will be useful to someone