Hi there
I'm running Repetier-Server Pro 0.93.1 on a Raspberry Pi 4. (image from the website...)
I'm using a USB Cam called Razer Kiyo which has worked fine on Octoprint (on same Raspberry Pi 4)
I seems no matter what I do, I cannot get any picture to show up...
Some details from the cmd-line:
root@Repetier-Server:/home/pi# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 1532:0e03 Razer USA, Ltd
Bus 001 Device 004: ID 2c99:0002
Bus 001 Device 007: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I have tried to use several of the listed resolutions and frame-rates in the setup...
root@Repetier-Server:/home/pi# v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 864x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
[1]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 864x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
[2]: 'H264' (H.264, compressed)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 864x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Strangely this command reports no supported or detected cameras...
root@Repetier-Server:/home/pi# /usr/bin/vcgencmd get_camera
supported=0 detected=0
Seems like this works...?
root@Repetier-Server:/home/pi# mjpg_streamer -i "input_uvc.so" -o "output_http.so"
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 640 height 360 instead
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
o: www-folder-path......: disabled
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: enabled
i: select() timeout
i: cleaning up resources allocated by input thread
Csetting signal to stop
force cancellation of threads and cleanup resources
o: cleaning up resources allocated by server thread #00
done
This is what I see in the messages log... when I try to restart the webcam server... the resolution is strange... and it seems no matter that I put in the GUI, the desired resolution is always 0 x 0...
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23130]: starting application
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23130]: enabling daemon mode
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: Using V4L2 device.: /dev/video0
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: Desired Resolution: 0 x 0
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: Frames Per Second.: 0
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: Format............: JPEG
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: TV-Norm...........: DEFAULT
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23132]: init_VideoIn failed
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23143]: starting application
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23143]: enabling daemon mode
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: Using V4L2 device.: /dev/video1
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: Desired Resolution: 0 x 0
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: Frames Per Second.: 0
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: Format............: YUYV
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: JPEG Quality......: 85
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: TV-Norm...........: DEFAULT
Dec 13 16:29:36 Repetier-Server MJPG-streamer [23145]: init_VideoIn failed
I have tried to download the latest server, recompile it "over the existing one"... but still no dice...
It's strange mostly because the cam worked fine with the Octoprint software... but I'm not sure if they use the same webcam server...
Is there anything else I can try?
I might give a total reinstall a try, but I suspect it will result in the same issue...
Any help is welcome...
/Heino