Also heißt es erstmal abwarten ?
Beiträge von pillemats
-
-
Alles anzeigen
Das ist nicht das Problem! Denn du brauchst ja nur den Hack der Kamera, ffmpeg und die config. Die beiden Dateien der Instanz haben keinen Einfluss darauf!
Den Fehler mit 1Min hatte ich auch, wurde bei mir durch einen Fehler verursacht welcher die microSD card auf read only stellt und das erstmal nur durch nen Neustart gefixed wird.
Hier kannst du mehr dazu lesen:
https://github.com/EliasKotlya…i-Dafang-Hacks/issues/880
Die Loesung dabei ist:
Du loggst dich per ssh auf deine camera ein mitssh root@dieIPderKamera
Danach gibst du diese Befehle einzeln ein:
Danach sollte sich das eruebrigen!
Hast du mittlerweile den Pfad von deinem debian in der config korrekt hinterlegt?
man ist das eine misst... ich bekomme es einfach nicht hin....
sie bleibt immer wieder stehen
siehe log:
[email protected]'s password:
[root@DAFANG:~]# dosfsck -a /dev/mmcblk0p1
CP850//TRANSLIT: Invalid argument
CP850: Invalid argument
fsck.fat 4.1+git (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
malloc:Cannot allocate memory
[root@DAFANG:~]# mount -o remount,rw /system/sdcard
[root@DAFANG:~]# /system/sdcard/autoupdate.sh
autoupdate.sh is up to date.
run.sh is up to date.
uEnv.bootfromnand.txt is up to date.
uEnv.bootfromsdcard.txt is up to date.
bin/README.md is up to date.
bin/audioplay is up to date.
bin/autonight is up to date.
bin/avconv is up to date.
bin/bftpd is up to date.
bin/busybox is up to date.
bin/curl is up to date.
bin/curl.bin is up to date.
bin/dosfsck is up to date.
bin/dosfslabel is up to date.
bin/dropbearmulti is up to date.
bin/fatlabel is up to date.
bin/fsck.fat is up to date.
bin/fsck.msdos is up to date.
bin/fsck.vfat is up to date.
bin/gdbserver is up to date.
bin/getimage is up to date.
bin/h264Snap is up to date.
bin/jpegoptim is up to date.
bin/jpegtran is up to date.
bin/jq is up to date.
bin/lighttpd is up to date.
bin/lighttpd.bin is up to date.
bin/mJpegStreamer is up to date.
bin/matrix is up to date.
bin/mkdosfs is up to date.
bin/mkfs.fat is up to date.
bin/mkfs.msdos is up to date.
bin/mkfs.vfat is up to date.
bin/mosquitto_pub is up to date.
bin/mosquitto_pub.bin is up to date.
bin/mosquitto_sub is up to date.
bin/mosquitto_sub.bin is up to date.
bin/motor is up to date.
bin/motor.bin is up to date.
bin/openssl is up to date.
bin/ossplay is up to date.
bin/ossrecord is up to date.
bin/sample-Audio is up to date.
bin/sample-Encoder-h264-IVS-move is up to date.
bin/sample_sinfo is up to date.
bin/setconf is up to date.
bin/telegram is up to date.
bin/v4l2rtspserver-master is up to date.
config/bftpd.conf is excluded due to filter.
config/defaultgw.conf.dist is up to date.
config/hostname.conf.dist is up to date.
config/ldr-average.conf is excluded due to filter.
config/lighttpd.conf.dist is up to date.
config/lighttpd.user is excluded due to filter.
config/matrix.conf.dist is up to date.
config/motion.conf.dist is up to date.
config/mqtt.conf.dist is up to date.
config/ntp_srv.conf.dist is up to date.
config/openssl.cnf is up to date.
config/osd.conf is excluded due to filter.
config/resolv.conf.dist is up to date.
config/rtspserver.conf.dist is up to date.
config/sendmail.conf.dist is up to date.
config/staticip.conf.dist is up to date.
config/telegram.conf.dist is up to date.
config/timelapse.conf is excluded due to filter.
config/timezone.conf is excluded due to filter.
config/usb_eth_driver.conf.dist is up to date.
config/wpa_supplicant.conf.dist is up to date.
config/autostart/auto-night-detection is up to date.
config/autostart/rtsp-h264 is up to date.
config/ssl/letsencrypt_setup.sh is up to date.
config/ssl/cacert/cacert.pem is up to date.
config/ssl/cacert/update.sh is up to date.
config/userscripts/motiondetection/.gitkeep is up to date.
config/userscripts/startup/.gitkeep is up to date.
controlscripts/auto-night-detection is up to date.
controlscripts/configureMotion is up to date.
controlscripts/configureOsd is up to date.
controlscripts/debug-on-osd is up to date.
controlscripts/ftp_server is up to date.
controlscripts/mqtt-control is up to date.
controlscripts/mqtt-status is up to date.
controlscripts/recording is up to date.
controlscripts/rtsp-h264 is up to date.
controlscripts/rtsp-mjpeg is up to date.
controlscripts/sound-on-startup is up to date.
controlscripts/telegram-bot is up to date.
controlscripts/timelapse is up to date.
driver/asix.ko is up to date.
driver/audio.ko is up to date.
driver/sample_motor.ko is up to date.
driver/sensor_jxf22.ko is up to date.
driver/sensor_jxf23.ko is up to date.
driver/sinfo.ko is up to date.
driver/tx-isp.ko is up to date.
driver/usbnet.ko is up to date.
etc/passwd is excluded due to filter.
etc/shadow is excluded due to filter.
fonts/CarroisGothicSC-Regular.ttf is up to date.
fonts/FromCartoonBlocks.ttf is up to date.
fonts/NotoMono-Regular.ttf is up to date.
fonts/NotoSans-Regular.ttf is up to date.
fonts/NotoSerif-Regular.ttf is up to date.
fonts/README.md is up to date.
fonts/Roboto-Black.ttf is up to date.
hls/hls.light.min.js is up to date.
hls/index.html is up to date.
lib/libBasicUsageEnvironment.so is up to date.
lib/libUsageEnvironment.so is up to date.
lib/libalog.so is up to date.
lib/libcrypto.so.42 is up to date.
lib/libcrypto.so.43 is up to date.
lib/libgroupsock.so is up to date.
lib/libimp.so is up to date.
lib/libliveMedia.so is up to date.
lib/libmosquitto.so.1 is up to date.
lib/libmosquittopp.so.1 is up to date.
lib/libmp3lame.so is up to date.
lib/libopus.so is up to date.
lib/libssl.so.44 is up to date.
lib/libssl.so.45 is up to date.
lib/libsysutils.so is up to date.
lib/libusb-0.1.so.4 is up to date.
lib/libusb-1.0.so.0 is up to date.
lib/libz.so.1 is up to date.
media/README.md is up to date.
media/police.wav is up to date.
root/.busybox_aliases is up to date.
root/.profile is up to date.
scripts/PTZpresets.sh is up to date.
scripts/common_functions.sh is up to date.
scripts/debugInOsd.sh is up to date.
scripts/detectionOff.sh is up to date.
scripts/detectionOn.sh is up to date.
scripts/detectionTracking.sh is up to date.
scripts/iwlist.awk is up to date.
scripts/ldr.sh is up to date.
scripts/mqtt-autodiscovery.sh is up to date.
scripts/mqtt-control.sh is up to date.
scripts/mqtt-status-interval.sh is up to date.
scripts/mqtt-status.sh is up to date.
scripts/nightmode.sh is up to date.
scripts/sendPictureMail.sh is up to date.
scripts/telegram-bot-daemon.sh is up to date.
scripts/timelapse.sh is up to date.
www/configmotion.html is up to date.
www/favicon.ico is up to date.
www/index.html is up to date.
www/logs.html is up to date.
www/sw_night_configure.html is up to date.
www/timezones.tsv is up to date.
www/update.html is up to date.
www/cgi-bin/action.cgi is up to date.
www/cgi-bin/api.cgi is up to date.
www/cgi-bin/currentpic.cgi is up to date.
www/cgi-bin/currentpicoptim.cgi is up to date.
www/cgi-bin/dumpbootloader.cgi is up to date.
www/cgi-bin/func.cgi is up to date.
www/cgi-bin/getMotionInfo.cgi is up to date.
www/cgi-bin/getispinfo.cgi is up to date.
www/cgi-bin/network.cgi is up to date.
www/cgi-bin/scripts.cgi is up to date.
www/cgi-bin/state.cgi is up to date.
www/cgi-bin/status_overview.cgi is up to date.
www/cgi-bin/system_admin.cgi is up to date.
www/cgi-bin/system_audio.cgi is up to date.
www/cgi-bin/system_led.cgi is up to date.
www/cgi-bin/system_osd.cgi is up to date.
www/cgi-bin/system_pt.cgi is up to date.
www/cgi-bin/system_system.cgi is up to date.
www/cgi-bin/system_video.cgi is up to date.
www/cgi-bin/update.cgi is up to date.
www/css/border-anim-h.gif is up to date.
www/css/border-anim-v.gif is up to date.
www/css/border-h.gif is up to date.
www/css/border-v.gif is up to date.
www/css/bulma-badge.1.0.1.min.css is up to date.
www/css/bulma-quickview.1.0.1.min.css is up to date.
www/css/bulma-switch.1.0.1.min.css is up to date.
www/css/bulma.0.7.2.min.css is up to date.
www/css/bulmaswatch.min.css is up to date.
www/css/imgareaselect-animated.css is up to date.
www/css/imgareaselect-default.css is up to date.
www/css/sw_night.css is up to date.
www/css/unable_load.png is up to date.
www/scripts/index.html.js is up to date.
www/scripts/jquery-3.3.1.min.js is up to date.
www/scripts/jquery.imgareaselect.pack.js is up to date.
www/scripts/scripts.cgi.js is up to date.
www/scripts/smoothie.js is up to date.
www/scripts/status.cgi.js is up to date.
No files to update.
[root@DAFANG:~]#
@vgnsxe das muss noch was mit der sd karte zu tun haben.... ich habe nun auch schon eine andere getestet, aber da kommt der selbe fehler.
oben im log man der komplette verlauf, mit dem versuch die sd karte auf rw umzustellen
-
ja das habe ich auch schon getestet. ohne erfolg.
das trennen des atv hat auch nichts gebracht. ich habe allerdings eine erkenntnis gemacht.
es muss etwas mit diesem plugin zu tun haben
https://github.com/KhaosT/homebridge-camera-ffmpeg#readme
dieses hatte ich mal installiert.
ich habe es gerade zu testzwecken nochmal installiert und die configs eingefügt und zack konnte ich die angezeigte kamera wieder in HK hinzufügen.
dann habe ich sie gelöscht, das plugin deinstalliert und die zugehörige datei in der persist gelöscht und neugestartet.
die kamera wird jedoch immer noch angezeigt
-
nein, das hatte ich nicht.
hilft aber auch nichts, habe ich gerade versucht FettesB und es wird immer noch angezeigt.... habe nun wirklich alles versucht aber sie bleibt einfach drin
-
Lösche im Ordner von homebridge/accessories die Datei cachedAcessories und dann reboot vom Pi
Falls sie immer noch da ist, dann härtere Maßnahmen ergreifen
(Achtung, du mußt dann aber die homebridge in homekit neu installieren inkl. aller Raumzuordnungen usw. (Szenen und Automationen bleiben erhalten und müssen eventuell neu verknüpft werden). Dazu in der config.json den "username" und eventuell auch die "pin" ändern.
beides versucht... leider taucht es immer noch auf....
-
MOin zusammen
wenn ich ein Gerät hinzufügen möchte wird mir immer wieder eine kamera angezeit, die ich garnicht mehr habe und das plugin auch längst nicht mehr installiert habe.
das nervt natürlich ein wenig...
wie kann ich diesen fehler beheben ?
löschender persist hat nichts gebracht
-
Okay ffmpeg error code 1 ist bei sehr vielen mit einem zusaetzlichen Eintrag in der config.json zu loesen gewesen:
Fuege mal in deiner config.json beim Abschnitt mit der Aufloesung, maxStreams etc, folgende Zeile hinzu:
"audio": false
das hat in meinem fall leider nichts gebracht
Mai 01 23:17:26 Server homebridge[21720]: [2019-5-1 23:17:26] [Dafang] ERROR: FFmpeg exited with code 1
-
Habe einen einzelnen Eintrag gelöscht und nun könnte ich sie wieder hinzufügen
-
wenn ich mich recht erinnere muss ich nach dem löschen der persist aber alle geräte neu einrichten. das ist ja eher ungünstig
-
man... ich habe ausversehen die kamera aus HK gelöscht... nun findet er sie nicht mehr.... ich könnte kotzen
-
das hat jetzt offensichtlich funktioniert.
die kamera bleibt allerdings nach einer weile immer noch stehen, weder live noch standbild wird aktualisiert
den pfad habe ich angepasst
laut log:
Mai 01 22:07:53 Server homebridge[32025]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 22:07:54 Server homebridge[32025]: [2019-5-1 22:07:54] [My FritzBox] Getting guest WLAN state
Mai 01 22:08:06 Server homebridge[32025]: [2019-5-1 22:08:06] [Dafang] Snapshot from Camera at 480x270
Mai 01 22:08:06 Server homebridge[32025]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 22:08:17 Server homebridge[32025]: [2019-5-1 22:08:17] [My FritzBox] Updating guest WLAN
Mai 01 22:08:17 Server homebridge[32025]: [2019-5-1 22:08:17] [My FritzBox] Getting guest WLAN state
Mai 01 22:08:18 Server homebridge[32025]: [2019-5-1 22:08:18] [Dafang] Snapshot from Camera at 480x270
Mai 01 22:08:18 Server homebridge[32025]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 22:08:24 Server homebridge[32025]: [2019-5-1 22:08:24] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Mai 01 22:08:24 Server homebridge[32025]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 3084978 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 6wXUx6ez1xWDmEFX7KBJ6t8fVr9J3jvR2hm3AC2y srtp://192.168.178.166:63251?rtcpport=63251&localrtcpport=63251&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 1817816 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params qXPVJVV9WRSVDludqL2P0eN9KT3qCReagIDhayM7 srtp://192.168.178.166:60010?rtcpport=60010&localrtcpport=60010&pkt_size=1316
Mai 01 22:08:48 Server homebridge[32025]: [2019-5-1 22:08:48] [Hue] Küche Eingang: set homekit battery level from 94% to 96%
Mai 01 22:09:17 Server homebridge[32025]: [2019-5-1 22:09:17] [My FritzBox] Updating guest WLAN
Mai 01 22:09:17 Server homebridge[32025]: [2019-5-1 22:09:17] [My FritzBox] Getting guest WLAN state
Mai 01 22:09:53 Server homebridge[32025]: [2019-5-1 22:09:53] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Mai 01 22:09:53 Server homebridge[32025]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14785569 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params eXYZZFfI/wjSYjh07C6m6nmLN5bYwIcYwVDgzgnW srtp://192.168.178.166:61403?rtcpport=61403&localrtcpport=61403&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 7011714 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params pH9NKOFnQ+VcyhwW5K5VkQPjRKw37nMwpUWUW+mN srtp://192.168.178.166:63170?rtcpport=63170&localrtcpport=63170&pkt_size=1316
Mai 01 22:10:08 Server homebridge[32025]: [2019-5-1 22:10:08] [Hue] Hue temperature sensor 1: set homekit temperature from 10.1°C to 10.3°C
Mai 01 22:10:16 Server homebridge[32025]: [2019-5-1 22:10:16] [Dafang] Checking Recordings Folder Size : /media/hdd2/Recordings
Mai 01 22:10:16 Server homebridge[32025]: [2019-5-1 22:10:16] [Dafang] Recorded Media Folder Size is 0.00390625MB
Mai 01 22:10:17 Server homebridge[32025]: [2019-5-1 22:10:17] [My FritzBox] Updating guest WLAN
Mai 01 22:10:17 Server homebridge[32025]: [2019-5-1 22:10:17] [My FritzBox] Getting guest WLAN state
Mai 01 22:10:23 Server homebridge[32025]: [2019-5-1 22:10:23] [Dafang] ERROR: FFmpeg exited with code 1
Mai 01 22:10:48 Server homebridge[32025]: [2019-5-1 22:10:48] [Hue] Küche Wand: set homekit battery level from 85% to 87%
M
hat er auch etwas geschrieben nur geht dann mit einem ERROR wieder raus.
der ordner Recordings ist auch leer
wäre das hier eine alternative zum testen ?
-
@vgnsxe mir ist nochwas eingefallen....
deine anleitung beruht ja auf den instanzen... ich habe bei mir ja alles in einem HK laufen... vielleicht hat es damit was zu tun ?
wie muss ich die configs deiner anleitung anpassen damit es bei mir passt ?
-
nach einem neustart der kamera hat es wieder funktioniert. alles geht, aber eben nur ca 1m
-
also in /root liegt der .homebridge ordner
hier mal meine samba config, ich hiffe das du damit was anfangen kannst
[HDD1]
comment = 500GB HDD1
path = /media/hdd1
available = yes
create mask = 0666
directory mask = 0777
browseable = yes
public = yes
writeable = yes
[HDD2]
comment = 4000GB HDD2
path = /media/hdd2
available = yes
create mask = 0666
directory mask = 0777
browseable = yes
public = yes
writeable = yes
[HDD3]
comment = 4000GB HDD3
path = /media/hdd3
available = yes
create mask = 0666
directory mask = 0777
browseable = yes
public = yes
writeable = yes
was merkwürdig ist, das die kamer jetzt auch mit
rtsp://192.168.178.205:8554/unicast
nicht mehr erreichbar ist...
vielleicht hat es mit der kamera an sich etwas zu tun ?
im log zeigt er das
Mai 01 21:10:41 Server homebridge[12915]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
aber in HK wird das standbild nicht aktualisiert.
wenn ich auf live klicke passiert nichts im log und natürlich auch nichts in hk
diese zeile ist mir noch aufgefallen wenn ich auf live klicke
Mai 01 21:15:09 Server homebridge[22637]: [2019-5-1 21:15:09] [Dafang] ERROR: FFmpeg exited with code 1
-
Ja, der Ort ist auf meiner Freigabe erstellt, am pc auch erreichbar, nur da wird das ja immer alles automatisch erkannt und deshalb weiß ich nicht genau was ich da eingeben muss.
Du sagst lokaler Pfad ? Also dann direkt auf der Kamera sd?
-
Hat eventuell noch jemand eine Idee ?
-
so... ich habe es nun zuhause nochmal getestet.
update der kamera habe ich durchgeführt.
bild war kurz da, in HK, liveübertragung ist nach 2 sekunden stehen geblieben und nun geht wieder nichts... also wie vor dem update
jetzt aktualisiert er nicht das standbild und die liveübertragung geht auch nicht.
"Keine Antwort"
hier der log:
Mai 01 13:04:59 Server homebridge[13015]: [2019-5-1 13:04:59] [Dafang] Snapshot from Camera at 480x270
Mai 01 13:04:59 Server homebridge[13015]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 13:05:04 Server homebridge[13015]: [2019-5-1 13:05:04] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Mai 01 13:05:04 Server homebridge[13015]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 13702913 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params U0SD6M5J9WA+YIcBWwDDLvGfLp5RTNEaMa11HjUz srtp://192.168.178.166:59267?rtcpport=59267&localrtcpport=59267&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 16272238 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params zYfR8+L2cikbo3FogM2twr0YO3fjAaJaLP04K1rE srtp://192.168.178.166:61672?rtcpport=61672&localrtcpport=61672&pkt_size=1316
Mai 01 13:05:07 Server homebridge[13015]: [2019-5-1 13:05:07] [Hue] Hue ambient light sensor 2: set homekit light level from 780.5487 lux to 791.7717 lux
Mai 01 13:05:21 Server homebridge[13015]: [2019-5-1 13:05:21] [My FritzBox] Updating guest WLAN
Mai 01 13:05:21 Server homebridge[13015]: [2019-5-1 13:05:21] [My FritzBox] Getting guest WLAN state
Mai 01 13:05:35 Server homebridge[13015]: [2019-5-1 13:05:35] [My FritzBox] Getting guest WLAN state
Mai 01 13:05:37 Server homebridge[13015]: [2019-5-1 13:05:37] [Hue] Hue ambient light sensor 3: set homekit light level from 1442.4474 lux to 1453.4497 lux
Mai 01 13:05:46 Server homebridge[13015]: [2019-5-1 13:05:46] [Dafang] Snapshot from Camera at 480x270
Mai 01 13:05:46 Server homebridge[13015]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 13:05:57 Server homebridge[13015]: [2019-5-1 13:05:57] [Hue] Hue ambient light sensor 4: set homekit light level from 3691.4756 lux to 3702.5421 lux
Mai 01 13:06:10 Server homebridge[13015]: [2019-5-1 13:06:10] [My FritzBox] Getting guest WLAN state
Mai 01 13:06:21 Server homebridge[13015]: [2019-5-1 13:06:21] [My FritzBox] Updating guest WLAN
Mai 01 13:06:21 Server homebridge[13015]: [2019-5-1 13:06:21] [My FritzBox] Getting guest WLAN state
Mai 01 13:06:27 Server homebridge[13015]: [2019-5-1 13:06:27] [Hue] Hue ambient light sensor 1: set homekit light level from 628.6371 lux to 654.1841 lux
Mai 01 13:06:58 Server homebridge[13015]: [2019-5-1 13:06:57] [Hue] Küche Eingang: set homekit battery level from 97% to 99%
Mai 01 13:07:06 Server homebridge[13015]: [2019-5-1 13:07:06] [Dafang] Snapshot from Camera at 480x270
Mai 01 13:07:06 Server homebridge[13015]: ffmpeg -rtsp_transport http -i rtsp://192.168.178.205:8554/unicast -vframes 1 -r 1 -t 1 -s 480x270 -f image2 -
Mai 01 13:07:21 Server homebridge[13015]: [2019-5-1 13:07:21] [My FritzBox] Updating guest WLAN
Mai 01 13:07:21 Server homebridge[13015]: [2019-5-1 13:07:21] [My FritzBox] Getting guest WLAN state
Mai 01 13:07:23 Server homebridge[13015]: [2019-5-1 13:07:23] [Hue] Hue temperature sensor 3: set homekit temperature from 17.9°C to 18.1°C
Mai 01 13:08:07 Server homebridge[13015]: [2019-5-1 13:08:07] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Mai 01 13:08:07 Server homebridge[13015]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 8810357 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params wmIw3Jo8XmaYgq1hKYnILSLe2uyt3XiQwaKlmgZe srtp://192.168.178.166:64889?rtcpport=64889&localrtcpport=64889&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 8450644 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params r23j1iBwq6GFmdwTlepE4OXbpAziPA+9OjGxZ6fj srtp://192.168.178.166:63480?rtcpport=63480&localrtcpport=63480&pkt_size=1316
EDIT: nachdem ich in den einstellungen das format auf fixedQp umgestellt habe, hat es ca eine minute gut funktioniert.
jetzt steht wieder alles
neuer log:
Mai 01 13:19:02 Server homebridge[13015]: [2019-5-1 13:19:02] [Dafang] Start streaming video from Camera with 1280x720@299kBit
Mai 01 13:19:02 Server homebridge[13015]: ffmpeg -rtsp_transport tcp -i rtsp://192.168.178.205:8554/unicast -map 0:0 -vcodec h264 -pix_fmt yuv420p -r 25 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 10187276 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params cqknFPaHoQ8h8wsAApMJj7IRIKdp7Zpg406NDRMJ srtp://192.168.178.166:64723?rtcpport=64723&localrtcpport=64723&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 5635965 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 7p7Nftzbs733C8Nx88w3WoVKsAMWIrVqh01sjgJz srtp://192.168.178.166:65180?rtcpport=65180&localrtcpport=65180&pkt_size=1316
Mai 01 13:19:21 Server homebridge[13015]: [2019-5-1 13:19:21] [Dafang] Checking Recordings Folder Size : ~/Videos/dafang
Mai 01 13:19:21 Server homebridge[13015]: [2019-5-1 13:19:21] [Dafang] Error Occured
Mai 01 13:19:21 Server homebridge[13015]: [2019-5-1 13:19:21] [Dafang] { [Error: ENOENT: no such file or directory, lstat '/~/Videos/dafang']
Mai 01 13:19:21 Server homebridge[13015]: errno: -2,
Mai 01 13:19:21 Server homebridge[13015]: code: 'ENOENT',
Mai 01 13:19:21 Server homebridge[13015]: syscall: 'lstat',
Mai 01 13:19:21 Server homebridge[13015]: path: '/~/Videos/dafang' }
Mai 01 13:19:21 Server homebridge[13015]: [2019-5-1 13:19:21] [My FritzBox] Updating guest WLAN
Mai 01 13:19:21 Server homebridge[13015]: [2019-5-1 13:19:21] [My FritzBox] Getting guest WLAN state
Mai 01 13:19:32 Server homebridge[13015]: [2019-5-1 13:19:32] [Dafang] ERROR: FFmpeg exited with code 1
es scheint, als wäre der pfad der aufnahmen falsch....
EDIT2: nach der änderung des pfades immer noch der selbe fehler.... bin mir nicht ganz sicher ob der richtig ist.
vom pc aus kann ich auf den pfad zugreifen. habe eine normale samba freigabe auf meinem debian9
log:
Mai 01 13:31:49 Server homebridge[29870]: [2019-5-1 13:31:49] [Dafang] Checking Recordings Folder Size : smb://192.168.178.199/HDD2/_Recordings
Mai 01 13:31:49 Server homebridge[29870]: [2019-5-1 13:31:49] [Dafang] Error Occured
Mai 01 13:31:49 Server homebridge[29870]: [2019-5-1 13:31:49] [Dafang] { [Error: ENOENT: no such file or directory, lstat '/smb:/192.168.178.199/HDD2/_Recordings']
Mai 01 13:31:49 Server homebridge[29870]: errno: -2,
Mai 01 13:31:49 Server homebridge[29870]: code: 'ENOENT',
Mai 01 13:31:49 Server homebridge[29870]: syscall: 'lstat',
Mai 01 13:31:49 Server homebridge[29870]: path: '/smb:/192.168.178.199/HDD2/_Recordings' }
Mai 01 13:31:50 Server homebridge[29870]: [2019-5-1 13:31:50] [My FritzBox] Updating guest WLAN
Mai 01 13:31:50 Server homebridge[29870]: [2019-5-1 13:31:50] [My FritzBox] Getting guest WLAN state
Mai 01 13:31:56 Server homebridge[29870]: [2019-5-1 13:31:56] [Hue] Eingangstür: set homekit motion from 0 to 1
edit3:
vielleicht muss esd auch so aussehen ?!?
sftp://[email protected]/media/hdd2/_Recordings
allerdings muss ich hier irgendwie mein kennwort mit integrieren oder ?
-
Oh, hatte ich überlesen... Port ist 1883?
-
Also muss die Karte dauerhaft Drinbleiben?
Wie finde ich die fw denn heraus und kann sie ggf. updaten ?
-
Live log schaue ich wenn ich zuhause bin.
Wie kontrolliere ich die fw ? Ich habe die 1.0 von Github aufgespielt!
Eine Grundsatzfrage noch:
Muss die microsd nun dauerhaft in der cam bleiben ? Nimmt die cam dauerhaft auf ? Falls ja ist das ja eher doof, da die Karte dann ja schnell voll ist