LINUX.ORG.RU

настройка веб-камера SVEN IC-310

 , ,


0

1

Не могу настроить веб-камеру. Debian stable.

uname -a Linux octopi 4.4.37-v7+ #936 SMP Fri Dec 9 16:56:49 GMT 2016 armv7l GNU/Linux

dmesg | grep video [ 5.598280] Linux video capture interface: v2.00 [ 5.922012] uvcvideo: Found UVC 1.00 device USB2.0 Camera (1871:0141) [ 5.928748] usbcore: registered new interface driver uvcvideo

При старте показывает данную ошибку: mjpg_streamer -i «input_uvc.so -d /dev/video0 --fps 30 --led off --quality 50» -o «output_http.so -p 8080» MJPG Streamer Version.: 2.0 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: 30 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 power 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: username:password.: disabled o: commands..........: enabled В выводе вижу не видео, а единичную фотографию.

Починил! Проблема была не в софте, а в настройках банально. В настройках камеры прописал: Stream URL: /webcam/?action=stream Snapshot URL: http://localhost:8080/?action=snapshot. Запускал командой: mjpg_streamer -i «input_uvc.so -d /dev/video0 --fps 30 --led off --quality 50» -o «output_http.so -p 8080» Настраивал octoprint.

bradolub ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.