Usb web camera stops randomly during the print

usb web camera stops randomly during the print.

tried ,
sudo pkill mjpg_streamer
and
while true; do if sudo service webcamd status | grep timeout > /dev/null; then echo "starting"; sudo systemctl restart webcamd; fi; sleep 15; done

did not run safe mode dont know actually what is it

Version 0.18.0, running on Raspberry Pi 4 Model B Rev 1.1

octoprint (1).log (519.8 KB)
plugin_octolapse.log (16.2 KB)
also
when i type "cat /var/log/webcamd.log"
Starting up webcamDaemon...

--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 1080x720 -f 10 -y
raspi options: -fps 10
http options: -w ./www-octopi -n --listen 127.0.0.1

Explicitly USB device:

Found video devices:
/dev/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video18
/dev/video2
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Feb 19 12:04:44 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...

  • It seems that you don't have VL805 (Raspberry Pi 4).
    There should be no problems with USB (a.k.a. select() timeout)
    Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 1080x720 -f 10 -y -d /dev/video0
    MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
    i: Using V4L2 device.: /dev/video0
    i: Desired Resolution: 1080 x 720
    i: Frames Per Second.: 10
    i: Format............: YUYV
    i: JPEG Quality......: 80
    i: TV-Norm...........: DEFAULT
    i: The specified resolution is unavailable, using: width 1280 height 720 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......: ./www-octopi/
    o: HTTP TCP port........: 8080
    o: HTTP Listen Address..: 127.0.0.1
    o: username:password....: disabled
    o: commands.............: disabled
    libv4l2: error turning on stream: Protocol error
    Unable to start capture: Protocol error
    i: Can't enable video in first time
    i: cleaning up resources allocated by input thread
    Done bring up all configured video device

Goodbye...

comes out... Thanks for your help!!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.