FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Warlock_2016 am 07 August 2017, 08:46:54

Titel: Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Warlock_2016 am 07 August 2017, 08:46:54
Hallo Zusammen,

ich setze einen einen UV4L Server zum Streamen von Video und Bilder ein. Dort wird auch eine Funktion Snapshot angeboten.

Beispiel: http://192.168.2.111:8080/stream/snapshot.jpeg

Leider klappt es nicht in Verbindung mit FHEM und ich wurde gerne die Bilder in FHEM einbinden, dass beispielsweise bei einer Bewegung ein Event gefeuert mittels dem Modul IPCAM wird.

Die Meldung die in Verbindung mit IPCAM angezeigt wird ist:

PERL WARNING: Use of uninitialized value in read at ./FHEM/49_IPCAM.pm line 452.

2017.08.07 08:41:57 1: IPCAM IPCam Wrong or not supported image format: error while reading source image:

Hat jemand einen Tip?

Gruss, Markus
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: franky08 am 07 August 2017, 09:07:53
Hallo, bei mir lag es damals daran das Die Camara, standardmäßig, gif agiles zur  erfügung stellt. Schau mal nach mit welchem Kommando du von der  Camera jpg abholen kannst.

VG Frank
Mit dem Handy in  Vietnam getippt deshalb kurz
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Warlock_2016 am 08 August 2017, 13:29:59
Hallo Franky

danke für den Input. Man kann das Format leider nicht einstellen.  Es ist leider vorgeben bei UV4L.....----> Jpeg

Markus
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Otto123 am 08 August 2017, 15:15:03
Hallo Markus,

so funktioniert es. Ich musste etwas rumprobieren.

Meine config defmod raspicam IPCAM 192.168.178.99:8080
attr raspicam path stream/snapshot.jpeg
attr raspicam storage ./www/snapshots


unter 192.168.178.99:8080 läuft ein UV4L Server für die Raspberry Kamera.

Die gespeicherten Bilder heißen dann raspicam_snapshot.jpg raspicam_snapshot_1.jpg - lassen sich öffnen und sind in Ordnung.

Gruß Otto
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Warlock_2016 am 08 August 2017, 20:42:49
Hallo Otto,

danke für deine Unterstützung. Ich habe leider immer noch das Problem.

Es wird immer noch die Fehlermeldung ausgegeben

Gruss Markus

Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Otto123 am 08 August 2017, 20:47:14
Hallo Markus,

Du solltest Deine IP Adresse (192.168.2.111 ?) nehmen und nicht meine :)

Gruß Otto
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Warlock_2016 am 09 August 2017, 13:10:42
Hi Otto,

ja danke für den Hinweis mit der IP Adresse. Ich habe meine eingeben.
Immer noch selbes Resultat

IPCAM raspicam Wrong or not supported image format: error while reading source image:

Gruss, Markus
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Otto123 am 09 August 2017, 13:23:52
Hi Markus,

da scheint aber etwas anderes nicht zu stimmen. Ich hatte auch nie Deine Fehlermeldung bei  meinen Versuchen, sondern nur die eine Zeile:2017.08.08 14:57:54 1: IPCAM raspicam Wrong or not supported image format: unknown
Ich hatte keine Perl Warning Meldung davor.

Tja da weiß ich nicht. Also prinzipiell funktioniert es genau wie von mir beschrieben.
raspbian jessi aktuell
fhem aktuell
uv4l frisch installiert.

Gruß Otto
Titel: Antw:Modul IPCAM und UV4L Streaming Server- Wrong or not supported image format
Beitrag von: Warlock_2016 am 09 August 2017, 13:36:16
Hallo Otto

danke trotzdem. Sehr nett von von dir für die schnellen antworten.

Gruss, Markus