RaspiCam Webcam-Server (motion uv4l-raspicam)

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Bekomme das Teil nach Anleitung nicht zum laufen, nur ein graues Bild

    Pi gibt das aus:


    pi@raspberrypi ~ $ sudo LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so motion -c ./motion.conf
    [26421064] Processing thread 0 - config file ./motion.conf
    [26421064] Motion 3.2.12 Started
    [26421064] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
    [0] Thread 1 is from ./motion.conf
    [0] httpd bind(): Address already in use
    [1] Thread 1 started
    [0] httpd thread exit
    [1] Failed to open video device /dev/video0: No such file or directory
    [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] Started stream webcam server in port 8081
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Video signal lost - Adding grey image
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: No such file or directory
    ^C[1] Thread exiting
    [0] Motion terminating

  • 5. Zeile: [font="Tahoma, Verdana, Arial, sans-serif"]httpd bind(): Address already in use[/font]

    [font="Tahoma, Verdana, Arial, sans-serif"]Da läuft schon was auf dem Port[/font]

  • ok, habe den Pi nochmal komplett neu eingerichtet, aber immer noch nichts

    pi@raspberrypi ~ $ sudo LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so mo tion -c ./motion.conf
    [4671304] Processing thread 0 - config file ./motion.conf
    [4671304] Motion 3.2.12 Started
    [4671304] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
    [0] Thread 1 is from ./motion.conf
    [0] motion-httpd/3.2.12 running, accepting connections
    [0] motion-httpd: waiting for data on port TCP 8080
    [1] Thread 1 started
    [1] Failed to open video device /dev/video0: Interrupted system call
    [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] Started stream webcam server in port 8081
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: Interrupted system call
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: Interrupted system call
    [1] Retrying until successful connection with camera
    [1] Failed to open video device /dev/video0: Interrupted system call
    [1] Video signal lost - Adding grey image
    ^C[1] Thread exiting
    [0] httpd - Finishing
    [0] httpd Closing
    [0] httpd thread exit
    [0] Motion terminating
    pi@raspberrypi ~ $

  • keiner einer ne idee?

    habe leider keinen plan was ich falsch gemacht habe soll.

    leider ist das tutorial auch nicht vollständig, es fehlt ne anleitung für motion.

    habs zwar mit sudo apt-get install motion installiert, aber ich weiss nicht ob
    man noch mehr machen muss.

  • Das hatte ich auch mal bei mir war das Kabel von der Cam etwas heraus gerutscht.
    Schau mal ob die Cam mit den Standard Befehlen überhaupt läuft.

    zb

    Code
    raspistill -o image.jpg

    hier sind noch mehr
    http://www.raspberrypi.org/camera


    und das sollte bei Schritt 4 kommen ohne ging es auch nicht.


    Code
    [notice] [core] Device detected!
    [notice] [core] Registering device node /dev/video0


    grüße saxbav

    Einmal editiert, zuletzt von saxbav (26. Oktober 2013 um 11:13)

  • irgendwie läuft es jetzt..... keine Ahnung warum

    Der Link von Seite 1 ist verwirrend.
    In dem Video wird auf ein 2tes Video verlinkt, mit
    komplett anderen Einstellungen für Motion.....

    Leider läuft es sehr langsam, 1fps bei 640x480

    Entweder liegt es am Pi, oder an der Konfiguration.

    Es finden sich auch kaum brauchbare Guides, für die
    Einrichtung der Cam, leider. Ich weiss auch nicht warum der
    Autor sich die Mühe für den Blog macht, wenn er die
    Kommentare darunter nicht beantwortet oder nicht
    auf PNs reagiert, schade.

    Daher mal ein Aufruf von mir:

    Ein komplettes Tutorial für die RaspiCam um diese zum streamen nutzen zu können,
    oder noch besser: Gleich das passende Image bereit stellen.

    Gruss

    Einmal editiert, zuletzt von noxx (26. Oktober 2013 um 11:38)

  • so, habe die 2te conf mal gelöscht und etwas mit den werten
    gespielt bei 960x720.

    mehr als 2,5 bis 3,0 fps schaffe ich nicht, leider.

    hatte gehofft mit der PI-Cam in FullHD streamen zu können mit 5-10fps,
    nicht mal in HD ist das möglich, schade.

    Einmal editiert, zuletzt von noxx (26. Oktober 2013 um 17:59)

  • Eigentlich beide
    Oben ist eins verlinkt, da siehst du ein YouTube Video. Da ist alles drin erklärt, ausser der Installation von Motion. In dem ersten Video poppt irgendwann mal ein Fenster auf, darauf klicken, dann kommt ein zweites Video wo die Installation von Motion erklärt wird.

    Die beiden passen aber irgendwie nicht zusammen.

    Außerdem habe ich noch ein update vom Pi gemacht, evtl lags auch daran.

    Würde es erstmal so versuchen:
    1. Update vom Pi
    http://jankarres.de/2013/08/raspbe…-aktualisieren/

    2. Motion installieren
    sudo apt-get Motion

    3.Installation wie oben im Link, und 2tes Video ignorieren

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!