#Camera-streamer Not Found
1 messages · Page 1 of 1 (latest)
You got an error during compilation, also see the following links:
https://discord.com/channels/758059413700345988/1312058313160134776
https://github.com/mainsail-crew/crowsnest/issues/278
Set CN_CAMERA_STREAMER_REPO in ~/crowsnest/tools/libs/config.sh to https://github.com/mryel00/camera-streamer.git
I don't know what this says, I don't understand.
This means, you should edit the line, containing CN_CAMERA_STREAMER_REPO in ~/crowsnest/tools/libs/config.sh to https://github.com/mryel00/camera-streamer.git instead of https://github.com/ayufan/camera-streamer.git
okay
I solved it, but I ran into another problem.
I am using this method.
Although /dev/video0 was the address of the old lib cam,
is now the address of USBcam.
Is there a way to fix this?
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media6
bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media4
/dev/media5
mmal service 16.1 (platform:bcm2835_v4l2-0):
/dev/video8
rpivid (platform:rpivid):
/dev/video19
/dev/media7
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video40
Dummy video device (0x0001) (platform:v4l2loopback-001):
/dev/video41
USB HD Camera: USB HD Camera (usb-0000:01:00.0-1.2.1):
/dev/video2
/dev/video3
/dev/media1
UVC Camera (046d:0825) (usb-0000:01:00.0-1.2.2):
/dev/video4
/dev/video5
/dev/media2
USB HD Camera: USB HD Camera (usb-0000:01:00.0-1.2.3):
/dev/video6
/dev/video7
/dev/media3
FULL HD 1080P Webcam: FULL HD 1 (usb-0000:01:00.0-1.3):
/dev/video0
/dev/video1
/dev/media0```
Don't use the legacy stack of picam
A libcam will never use /dev/video
this?
Do not use that
Im using with KlipperScreen
So use this one: https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam#raspicam-not-detected
But the path is /boot/firmware/config.txt
yeap
dtoverlay=vc4-kms-v3d is working but can't touch screen
dtoverlay=vc4-fkms-v3d is not working cam but can touch screen
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=off
#dtparam=i2s=on
dtparam=spi=off
kernel=kernel7l.img
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
# Additional overlays and parameters are documented
# /boot/firmware/overlays/README
# Automatically load overlays for detected cameras
camera_auto_detect=1
#start_x=1
# Automatically load overlays for detected DSI displays
display_auto_detect=1
# Automatically load initramfs files, if found
auto_initramfs=1
# Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
enable_uart=1```
I don't have much knowledge about Bookworm setups yet, they normally just worked
Try to set disable_fw_kms_setup=1 to disable_fw_kms_setup=0 maybe
not work
The legacy method above is how I solved this a few months ago
Then you might be unlucky and you will have to live with a changing /dev/video path
We cannot set a fixed path for the legacy cam on Bookworm
I didn't realy test it that much, but it might be fixed to /dev/video19 as long as you won't change the amount of cameras 🤷♂️
What did you do now?
this way
So touchscreen is working too?
yeap
Ok, good to know ^^
Can you tell me how to do this?
How I got to that address?
oh you mean this?
rpivid (platform:rpivid): /dev/video19
I think the /dev/video19 was wrong:
mmal service 16.1 (platform:bcm2835_v4l2-0):
/dev/video8
rpivid (platform:rpivid):
/dev/video19
/dev/media7```It should be the `/dev/video8`
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media3
bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media2
/dev/media4
unicam (platform:fe801000.csi):
/dev/video0
/dev/media0
rpivid (platform:rpivid):
/dev/video19
/dev/media8
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video40
Dummy video device (0x0001) (platform:v4l2loopback-001):
/dev/video41
USB HD Camera: USB HD Camera (usb-0000:01:00.0-1.2.1):
/dev/video3
/dev/video4
/dev/media5
UVC Camera (046d:0825) (usb-0000:01:00.0-1.2.2):
/dev/video5
/dev/video6
/dev/media6
USB HD Camera: USB HD Camera (usb-0000:01:00.0-1.2.3):
/dev/video7
/dev/video8
/dev/media7
FULL HD 1080P Webcam: FULL HD 1 (usb-0000:01:00.0-1.3):
/dev/video1
/dev/video2
/dev/media1```
this is now address
It will be one of them and mmal was basically normally the one csi cam one
As the mmal one is gone and we got unicam now, those two should be it.
mmal (platform:bcm2835_v4l2-0) -> legacy
unicam (platform:fe801000.csi) -> libcam
It doesn't work with /dev/video0, but it works fine with /base/soc
more safe way
Yes, as you got the libcamera stack active now
/dev/video for csi cams will always only work with the legacy stack
(there are exceptions to that, but that's a more advanced topic)
Yes, as ustreamer has no libcam support
(except for the exceptions I just mentioned xD)
I often see it stuttering a lot compared to ustreamer (USB CAM)
using adaptive MJPEG streamer
They added some control to adjust the frequency, but I don't know the name out of my head right now
ok
webrtc is so smooth
like 30fps lol
Issue is resolved
It would be better if it worked without stuttering in MJPEG mode (hopely)
Just use WebRTC, as it uses way less network bandwidth
IIRC,, WEBRTC can only have one stream at a time
Nope
You're right, I just tested it 😅