#Camera stream does not appear to be working in Fluidd or Mainsail.

40 messages · Page 1 of 1 (latest)

chilly tapir
#

I just noticed that I'm getting 00-01 fps and while looking at settings, Fluidd has stopped displaying the camera altogether.

#

Unfortuantely I'm in the middle of a print, so won't really be able to change/test anything right now.

#
log_path: /home/pi/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 1]
mode: ustreamer                         # 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/video0                     # See Log for available ...
#resolution: 640x480                     # widthxheight format
resolution: 1920x1080
#max_fps: 15                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
max_fps: 20
#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.
v4l2ctl: focus_automatic_continuous=0,focus_absolute=30```
#

Should I switch to camera-streamer, since this is an rPi, but w/ a c920 ?

sonic sky
#

I reecommend to set log_level: debug and delete_log: true to get us a better log

#

No idea, when Fluidd decides to stop displaying the cam

chilly tapir
#

It started showing the camera again. Just SUPER slow for some reason.

#

I'll work on that after this print is done.

#

Says 2-3 more hours..

chilly tapir
#

I use Obico, so will camera-streamer work still ?

sonic sky
#

I think the webrtc of camera-streamer is supported, but I cannot say for sure, sry

chilly tapir
#

I'll ask Kenneth

sonic sky
#

This issue is related to building camera-streamer manually. The underlying package libcamera got an update and that breaks the manually compiled version of camera-streamer. So this issue can happen again.
To fix it run following commands via ssh:

cd ~/crowsnest
make update
#

Also for webrtc you need to add following at the bottom of your /boot/firmware/config.txt:

[pi4]
gpu_mem=128
```This is only on bookworm and only for the pi4
chilly tapir
#

I have both for this system. I'll work on that now.

#

I need to reboot for the config.txt changes to work, correct ?

chilly tapir
sonic sky
#

Yes.

#

The make update deletes the old backend installations and reclones

chilly tapir
#

make update is running, config.txt has been updated, will reboot after make update is done.

#

Hmm.. Still seems super choppy..

sonic sky
#

With webrtc?

chilly tapir
#

webrtc doesn't even show up. it was ustream that seemed choppy still.

#

first image was fluidd, second was mainsail.

#

This is camera-streamer configured.

sonic sky
#

The requests seem to get registered.

chilly tapir
sonic sky
chilly tapir
#

Ah

#

missed it.. sorry..

#

that fixed it

#

SOOOOOOOOOOOOOOOOOOOOOOO much better!!!!