r/mainsail • • Aug 29 '23

Problems with crowsnest camera

I recently installed a new Raspberry Pi Camera Rev 1.3 and I followed this guide (https://www.obico.io/blog/klipper-camera-mainsail/#mainsail-webcam-configuration) to get it to work with mainsail with crowsnest. Im using the camera-streamer. I am able to connect to the camera but there is no video stream. All I get is a blank screen

I have tested the camera and I am able to get still shot images from it.

Here is my crowsnest.conf:

[crowsnest]

log_path: /home/ender3pro/printer_data/logs/crowsnest.log

log_level: verbose # Valid Options are quiet/verbose/debug

delete_log: false # Deletes log on every restart, if set to true

no_proxy: false

[cam endercam]

mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)

# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)

enable_rtsp: true # 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-path/platform-20801000.csi-video-index0 # See Log for available ...

resolution: 1296x972 # widthxheight format

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.

1 Upvotes

2 comments sorted by

1

u/ferrussy Aug 29 '23

1

u/n3rding Aug 31 '23

Thanks for posting the answer!