I follow a normal installation of MJPG-Streamer
But when i tried to run MJPG-streamer with this command lineThen i got this issue After that i follow the replied from mjpg streamer i still get the Inappropriate ioctl for device problem Right now im using Raspi 3B+ and Raspberry Pi Camera rev 1.3
I used to use the same method to stream video earlier this year with Raspi 4 but now i constantly got this problem
Thanks for your help
But when i tried to run MJPG-streamer with this command line
Code:
~/mjpg-streamer/mjpg-streamer-experimental $ /usr/local/bin/mjpg_streamer -i "input_uvc.so -r 640x480 -d /dev/video0 -f 24 -q 80" -o "output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www"Code:
MJPG Streamer Version: git rev: 310b29f4a94c46652b20c4b7b6e5cf24e532af39 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: 24 i: Format............: JPEG i: TV-Norm...........: DEFAULT i: Could not obtain the requested pixelformat: MJPG , driver gave us: YUYV ... will try to handle this by checking against supported formats. ... Falling back to YUV mode (consider using -yuv option). Note that this requires much more CPU powerUnable to query that the FPS change is supported: Inappropriate ioctl for deviceUVCIOC_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......: /usr/local/share/mjpg-streamer/www/ o: HTTP TCP port........: 8080 o: HTTP Listen Address..: (null) o: username:password....: disabled o: commands.............: enabledUnable to start capture: Invalid argument i: Can't enable video in first time i: cleaning up resources allocated by input threadCode:
~/mjpg-streamer/mjpg-streamer-experimental $ /usr/local/bin/mjpg_streamer -i "input_uvc.so -r 640x480 -d /dev/video0 -yuv -q 80" -o "output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www"Code:
MJPG Streamer Version: git rev: 310b29f4a94c46652b20c4b7b6e5cf24e532af39 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: -1 i: Format............: YUYV i: JPEG Quality......: 80 i: TV-Norm...........: DEFAULTUVCIOC_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......: /usr/local/share/mjpg-streamer/www/ o: HTTP TCP port........: 8080 o: HTTP Listen Address..: (null) o: username:password....: disabled o: commands.............: enabledUnable to start capture: Invalid argumentI used to use the same method to stream video earlier this year with Raspi 4 but now i constantly got this problem
Thanks for your help
Statistics: Posted by pva20103 — Wed Aug 07, 2024 8:29 am — Replies 0 — Views 16