theone
1
HP Webcam HD4310 (appears in the compatibility list and as working with Pi2)
What is the problem?
Can't get image
What did you already try to solve it?
Set camera="auto" (also tried "usb") in /boot/octopi.txt
Set camera_usb_options="-r FHD"
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
no webcamd.log
octoprint.log (336.7 KB)
lsusb shows the camera:
Bus 001 Device 004: ID 03f0:e807 HP, Inc
Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint 1.4.2
OctoPi 0.17.0
Python 3.7.3
Raspberry Pi 2B
theone
2
I tried a different camera Logitech C270
Set camera="auto" (also tried "usb") in /boot/octopi.txt
Set camera_usb_options="-r 1280x720 -f 30"
No picture/video - same result
What is the problem?
below is the output of journalctl -u webcamd command
-- Logs begin at Tue 2020-10-20 00:09:59 IDT, end at Tue 2020-10-20 00:10:55 IDT. --
Oct 20 00:10:04 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Oct 20 00:10:04 octopi webcamd[327]: Starting up webcamDaemon...
Oct 20 00:10:04 octopi webcamd[327]: --- Configuration: ----------------------------
Oct 20 00:10:04 octopi webcamd[327]: cfg_file: /boot/octopi.txt
Oct 20 00:10:04 octopi webcamd[327]: camera: usb
Oct 20 00:10:04 octopi webcamd[327]: usb options: -r 1280x720 -f 30
Oct 20 00:10:04 octopi webcamd[327]: raspi options: -fps 10
Oct 20 00:10:04 octopi webcamd[327]: http options: -w ./www-octopi -n
Oct 20 00:10:04 octopi webcamd[327]: Explicitly USB device:
Oct 20 00:10:04 octopi webcamd[327]: -----------------------------------------------
Oct 20 00:10:04 octopi webcamd[327]: Found video devices:
Oct 20 00:10:04 octopi webcamd[327]: /dev/video0
Oct 20 00:10:04 octopi webcamd[327]: /dev/video1
Oct 20 00:10:04 octopi webcamd[327]: /dev/video10
Oct 20 00:10:04 octopi webcamd[327]: /dev/video11
Oct 20 00:10:04 octopi webcamd[327]: /dev/video12
Oct 20 00:10:04 octopi webcamd[327]: /dev/video13
Oct 20 00:10:04 octopi webcamd[327]: /dev/video14
Oct 20 00:10:04 octopi webcamd[327]: /dev/video15
Oct 20 00:10:04 octopi webcamd[327]: /dev/video16
Oct 20 00:10:04 octopi webcamd[327]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
Oct 20 00:10:05 octopi root[377]: Starting USB webcam
Oct 20 00:10:05 octopi webcamd[327]: <13>Oct 20 00:10:05 root: Starting USB webcam
Oct 20 00:10:05 octopi webcamd[327]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 1280x720 -f 30 -d /dev/video0
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: starting application
Oct 20 00:10:05 octopi webcamd[327]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Oct 20 00:10:05 octopi webcamd[327]: i: Using V4L2 device.: /dev/video0
Oct 20 00:10:05 octopi webcamd[327]: i: Desired Resolution: 1280 x 720
Oct 20 00:10:05 octopi webcamd[327]: i: Frames Per Second.: 30
Oct 20 00:10:05 octopi webcamd[327]: i: Format............: JPEG
Oct 20 00:10:05 octopi webcamd[327]: i: TV-Norm...........: DEFAULT
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: Using V4L2 device.: /dev/video0
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: Desired Resolution: 1280 x 720
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: Frames Per Second.: 30
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: Format............: JPEG
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: TV-Norm...........: DEFAULT
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
Oct 20 00:10:05 octopi webcamd[327]: o: www-folder-path......: ./www-octopi/
Oct 20 00:10:05 octopi webcamd[327]: o: HTTP TCP port........: 8080
Oct 20 00:10:05 octopi webcamd[327]: o: HTTP Listen Address..: (null)
Oct 20 00:10:05 octopi webcamd[327]: o: username:password....: disabled
Oct 20 00:10:05 octopi webcamd[327]: o: commands.............: disabled
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: www-folder-path......: ./www-octopi/
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: HTTP TCP port........: 8080
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: HTTP Listen Address..: (null)
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: username:password....: disabled
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: commands.............: disabled
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: starting input plugin input_uvc.so
Oct 20 00:10:05 octopi mjpg_streamer[385]: MJPG-streamer [385]: starting output plugin: output_http.so (ID: 00)
Oct 20 00:10:06 octopi webcamd[327]: Done bring up all configured video device
Oct 20 00:10:06 octopi webcamd[327]: Goodbye...
Oct 20 00:10:06 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
theone
3
More info:
This is a screenshot with the Chrome browser console open after refreshing the Control tab
There is an error in the console window...
I also tryed rebootting with all 3rd party addons disabled. didn't help.
theone
4
Solved:
If I enter (and save) the following address under webcam settings streaming address then it works:
http://octopi.local:8080/?action=stream
2 Likes
same problem as you have, but sadly this didn't work for me - when i press test, there is no picture
any other idea you might have? or do I have to change the link maybe?