This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Problema con dev/video para octoprint
#1
Buenas a todos,

Llevo tiempo usando octoprint para gestionar las impresoras de mi Ender3, hasta ahora no me había lanzado a usar ninguna webcam para el streaming.
Tras seguir varios tutoriales y probando varias cosas he chocado con el mismo problema. No consigo que funcione.

La webcam en cuestión es la Logitech C270.

He probado con motion (con resultado de vídeo sin imagen en gris al ir a ver el puerto correspondiente), también lo he intentado con mjpg_streamer.
Este ultimo es lo que tengo actualmente. Cuando ejecuto lsusb me devuelve esto

Código:
lsusb

Código:
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Asi que la webcam es detectada. Pero cuando ejecuto 

Código:
mjpg_streamer -i "input_uvc.so -r 640x480 -f 30" -o "output_http.so"

Me devuelve
Código:
JPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 30
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
Error opening device /dev/video0: video capture not supported.
Init v4L2 failed !! exit fatal
 i: init_VideoIn failed


He comprobado, y la cámara es la dev/video1, pero no se como cambiarlo porque siempre me coje el dev/video0

A ver su alguien puede orientarme como arreglar el problema...
Gracias de antemano.
  Responder
#2
Огромное спасибо за объяснение, теперь я не допущу такой ошибки.


------
Купить прочный чемодан

Тема интересна, приму участие в обсуждении. Вместе мы сможем прийти к правильному ответу. Я уверен.


------
Чемоданы на колесах купить в Москве отзывы

С ЗДРАВОМ ПО ЖИЗНИ!


------
Купить чемодан в Москве недорого отзывы
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  [TUTORIAL] Apagar impresora con Octoprint (Rele) cansi22 25 27,758 17-10-2019, 10:04 PM
Último mensaje: kabuto
Información Tutorial | Controla impresora 3D de forma remota con Octoprint y Orange Pi Zero Drey 81 30,429 14-10-2019, 11:13 AM
Último mensaje: maxlinux2000
Fotografía CONSULTA Octoprint no carga la pagina Inderlard 4 2,332 23-07-2019, 09:34 AM
Último mensaje: Inderlard
  CONSULTA Octoprint problema con webcam blady83 1 3,520 01-03-2019, 02:02 AM
Último mensaje: foronglo
  Novato: octoprint sin wifi robertote 0 2,172 24-01-2018, 03:04 PM
Último mensaje: robertote