#Crowsnest won't work with anything but 640x480

13 messages · Page 1 of 1 (latest)

runic vector
#

If I try anything but 640x480 in the crowsnest config webcam shows nothing.

log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: debug                      # Valid Options are quiet/verbose/debug
delete_log: false                       # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: camera-streamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
                                        # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554                         # Set different ports for each device!
port: 8080                              # HTTP/MJPG Stream/Snapshot Port
device: /dev/v4l/by-id/usb-HD_Web_Camera_HD_Web_Camera_Ucamera001-video-index0                   # See Log for available ...
resolution: 1280x720                     # widthxheight format  640x480  1280x720  1280x960  800x600
max_fps: 15                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags:                          # You can run the Stream Services with custom flags.
#v4l2ctl:                               # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
mortal vigilBOT
#

Ahoi @runic vector!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

runic vector
night heron
#

Add

[pi4]
gpu_mem=128
```at the bottom of your `/boot/firmware/config.txt`
runic vector
#

That did the trick, thank you!

runic vector
#

Was hoping you suggestion would fix a secondary issue I was having when set at 640x480 but its persisting while at 1280x720. That is, the camera will intermittently not load and display black. Can't seem to pinpoint what causes it

night heron
#

What do you mean? I don't understand

runic vector
#

For instance, I just restarted crowsnest and the camera is working but if I close and reload fluidd. the camera window is black. Then, once again, restart crowsnest, wait a moment, and it appears functioning again

night heron
#

A log with log_level: debug and delete_log: true would be good for that issue

runic vector
night heron
#

Try out adaptive mjpg please and if you got Mainsail try there webrtc too please. I'm not using Fluidd, so hard for me to tell if it might be a Fluidd issue

runic vector
#

swithcing mode: ustreamer and MJPG Adaptive in fluidd, camera started working right away

night heron
#

You shouldn't have to switch the mode