Raspberry Pi webcam unable to open video device
Fehler "Unable to open video device"
Ich bin mit einem HP-Deluxe-Webcam (EW193AA) mit raspberry pi
log von lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 006: ID 093a:2621 Pixart Imaging, Inc. PAC731x Trust Webcam
Bus 001 Device 005: ID 413c:2107 Dell Computer Corp.
Logbuch der Bewegung -n
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from /etc/motion/motion.conf
[0] httpd bind(): Address already in use
[0] httpd thread exit
[1] Thread 1 started
[1] cap.driver: "gspca_pac7302"
[1] cap.card: "USB Camera (093a:2621)"
[1] cap.bus_info: "usb-bcm2708_usb-1.2"
[1] cap.capabilities=0x85000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: PJPG (PJPG)
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Inappropriate ioctl for device
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] bind(): Address already in use
[1] Problem enabling stream server in port 8081: Address already in use
[1] Thread exiting
[0] Motion thread 1 restart
Ich habe versucht, die änderung der Breite und Höhe bis 160*140, 320*240,640*480 aber resultiert im gleichen Fehler.... aber kann nicht eine Lösung finden...
InformationsquelleAutor user3646817 | 2014-06-03
Du musst angemeldet sein, um einen Kommentar abzugeben.
Logfile sagt Ihr port 8081 bereits verwendet wird...
bitte auch sicherstellen, dass Ihre outpath schreiben aktiviert für den Benutzer motion.Bewegung:
zB.
sudo chown motion.Bewegung /home/pi/motion
InformationsquelleAutor user3733141
Versuchen ausgeführt:
InformationsquelleAutor J.Santos
Für mich endete dies ein Problem mit der config-Datei. Ich habe die Auflösung auf 640x360, nach ein bisschen tüfteln habe ich herausgefunden, dass musste die Höhe durch 16 teilbar sein. Die ursprüngliche Fehlermeldung "port already in use" war falsch, belegt durch die Tatsache, dass das ändern der ports nix fest. Nachdem ich wieder eingeschaltet, um eine Höhe von 480, - den service wieder hoch kam.
Empfehle ich, 320x240, 640x480 oder 1280x720 (wenn Sie eine anständige web-cam und internet-Geschwindigkeiten).
InformationsquelleAutor James L.