samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: Floodlight Camera T8420 Won't Stream #242

Closed fullphat closed 2 years ago

fullphat commented 2 years ago

What happened?

T8420 appears in Home app, but when tapped fails to start streaming. If extended debugging is enabled within the plug-in, streaming starts and stops with the following response:

[9/24/2021, 5:18:19 PM] [EufySecurity-1.0.0] ERROR: FFmpeg exited with code: 1 and signal: null (Error) Garden

Device Type

Floodlight (Supported)

Plugin Version

v1.0.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v14 (Supported)

Operating System

Mac OS X

Relevant log output

Stream command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i  -an -sn -dn -codec:v libx264 -pix_fmt yuv420p -color_range mpeg -r 30 -f rawvideo -preset ultrafast -tune zerolatency -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)*2:trunc(ih/2)*2 -b:v 299k -payload_type 99 -ssrc 14592652 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params KEl6sRNyM69yr00WXSUeJSgBWO/d5FQE9K2Sm7gs srtp://192.168.1.150:58171?rtcpport=58171&pkt_size=1316 -vn -sn -dn -codec:a aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -ac 1 -payload_type 110 -ssrc 15455228 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params W+WKGGR/RB9llkhu8z4iOABtbHE61A2f7ksco1Ut srtp://192.168.1.150:60102?rtcpport=60102&pkt_size=188 -loglevel level -progress pipe:1 Garden false
[9/24/2021, 5:18:19 PM] [EufySecurity-1.0.0] ERROR: FFmpeg exited with code: 1 and signal: null (Error) Garden
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

fullphat commented 2 years ago

Common issues checked - noted wider issue with streaming however it never works.

lenoxys commented 2 years ago

Hello,

can you test the latest beta ? https://github.com/samemory/homebridge-eufy-security/wiki/Beta-Version

fullphat commented 2 years ago

Just installed and tested but still not working unfortunately. As an aside, seems the floodlight feature is now working - which is awesome!

Left me know if I can help with any debug output...

fullphat commented 2 years ago

Just noticed the ffmpeg command line doesn't seem to appear in the debug output when the stream is requested anymore

tehfalcon-vw commented 2 years ago

Same issue on my Outdoor/Indoor 2k Cam. Stream freezes after a second or 2.

[9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch Video stream requested: 1280 x 720, 30 fps, 299 kbps true [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] INFO: Porch Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video Stream command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -use_wallclock_as_timestamps 1 -f h264 -r 15 -i unix:./10.sock -an -sn -dn -codec:v libx264 -pix_fmt yuv420p -color_range mpeg -r 30 -preset ultrafast -tune zerolatency -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)2:trunc(ih/2)2 -b:v 299k -payload_type 99 -ssrc 11044487 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params /CoAdFd5NaEkdjIuvG5XMl2XoctEONv7Pg34Q+Sq srtp://192.168.146.185:59558?rtcpport=59558&pkt_size=1316 -loglevel level+verbose -progress pipe:1 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libavutil 56. 51.100 / 56. 51.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libavcodec 58. 91.100 / 58. 91.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libavformat 58. 45.100 / 58. 45.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libavdevice 58. 10.100 / 58. 10.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libavfilter 7. 85.100 / 7. 85.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libswscale 5. 7.100 / 5. 7.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libswresample 3. 7.100 / 3. 7.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] libpostproc 55. 7.100 / 55. 7.100 [9/30/2021, 11:09:05 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [h264 @ 0x33d10a0] [verbose] Reinit context to 1280x720, pix_fmt: yuv420p [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Input #0, h264, from 'unix:./10.sock': [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Duration: N/A, start: 1633064945.484370, bitrate: N/A [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Stream #0:0: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1280x720, 15 fps, 15 tbr, 1200k tbn, 30 tbc [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Stream mapping: [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Press [q] to stop, [?] for help [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [h264 @ 0x33ea920] [verbose] Reinit context to 1280x720, pix_fmt: yuv420p [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_0 @ 0x33e76c0] [verbose] w:min(1280,iw) h:min(720,ih) flags:'bicubic' interl:0 [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_1 @ 0x34ed7c0] [verbose] w:trunc(iw/2)2 h:trunc(ih/2)2 flags:'bicubic' interl:0 [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [graph 0 input from stream 0:0 @ 0x368cee0] [verbose] w:1280 h:720 pixfmt:yuv420p tb:1/15 fr:15/1 sar:0/1 [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_0 @ 0x33e76c0] [verbose] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4 [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_1 @ 0x34ed7c0] [verbose] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4 [9/30/2021, 11:09:06 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [libx264 @ 0x33e92d0] [info] using cpu capabilities: ARMv6 NEON [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [libx264 @ 0x33e92d0] [info] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Output #0, rtp, to 'srtp://192.168.146.185:59558?rtcpport=59558&pkt_size=1316': [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Metadata: [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] encoder : Lavf58.45.100 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Stream #0:0: Video: h264 (libx264), 1 reference frame, yuv420p(tv, left), 1280x720, q=-1--1, 299 kb/s, 30 fps, 90k tbn, 30 tbc [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Metadata: [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] encoder : Lavc58.91.100 libx264 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] Side data: [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] cpb: bitrate max/min/avg: 0/0/299000 buffer size: 0 vbv_delay: N/A [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] frame= 21 fps=0.0 q=43.0 size= 33kB time=00:00:00.66 bitrate= 402.9kbits/s dup=10 drop=0 speed=1.32x
[9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [h264 @ 0x33ea920] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video Getting the first frames took 2.064 seconds. [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_0 @ 0x33e76c0] [verbose] w:min(1280,iw) h:min(720,ih) flags:'bicubic' interl:0 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_1 @ 0x3469d40] [verbose] w:trunc(iw/2)2 h:trunc(ih/2)2 flags:'bicubic' interl:0 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [graph 0 input from stream 0:0 @ 0x33f7660] [verbose] w:1920 h:1080 pixfmt:yuv420p tb:1/15 fr:15/1 sar:0/1 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [scaler_out_0_0 @ 0x347ad50] [verbose] w:1280 h:720 flags:'bicubic' interl:0 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_0 @ 0x33e76c0] [verbose] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [Parsed_scale_1 @ 0x3469d40] [verbose] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [scaler_out_0_0 @ 0x347ad50] [verbose] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4 [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:07 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [info] frame= 37 fps= 37 q=40.0 size= 46kB time=00:00:01.20 bitrate= 313.1kbits/s dup=18 drop=0 speed=1.19x
[9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] 1 dup! [9/30/2021, 11:09:08 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_video [verbose] *** 1 dup! [9/30/2021, 11:09:10 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch Received request to reconfigure: 640 x 360, 30 fps, 132 kbps (Ignored) true [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio Stream command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i unix:./12.sock -vn -sn -dn -codec:a libfdk_aac -profile:a aac_eld -flags +global_header -ar 16k -b:a 24k -ac 1 -payload_type 110 -ssrc 16535283 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params NbJlmcU6MP9JVbsZtIfFOp1szKCcnzTySWZ56ztU srtp://192.168.146.185:61512?rtcpport=61512&pkt_size=188 -loglevel level+verbose -progress pipe:1 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libavutil 56. 51.100 / 56. 51.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libavcodec 58. 91.100 / 58. 91.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libavformat 58. 45.100 / 58. 45.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libavdevice 58. 10.100 / 58. 10.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libavfilter 7. 85.100 / 7. 85.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libswscale 5. 7.100 / 5. 7.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libswresample 3. 7.100 / 3. 7.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] libpostproc 55. 7.100 / 55. 7.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Input #0, aac, from 'unix:./12.sock': [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Duration: N/A, bitrate: 23 kb/s [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp, 23 kb/s [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Stream mapping: [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Stream #0:0 -> #0:0 (aac (native) -> aac (libfdk_aac)) [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Press [q] to stop, [?] for help [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [graph_0_in_0_0 @ 0x3371f30] [verbose] tb:1/16000 samplefmt:fltp samplerate:16000 chlayout:0x4 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [format_out_0_0 @ 0x3398d10] [verbose] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0' [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [auto_resampler_0 @ 0x3399980] [verbose] ch:1 chl:mono fmt:fltp r:16000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Output #0, rtp, to 'srtp://192.168.146.185:61512?rtcpport=61512&pkt_size=188': [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Metadata: [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] encoder : Lavf58.45.100 [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Stream #0:0: Audio: aac (libfdk_aac) (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] Metadata: [9/30/2021, 11:09:11 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] encoder : Lavc58.91.100 libfdk_aac [9/30/2021, 11:09:12 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 24kB time=00:00:06.95 bitrate= 28.3kbits/s speed=13.2x
[9/30/2021, 11:09:12 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio Getting the first frames took 0.662 seconds. [9/30/2021, 11:09:12 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 26kB time=00:00:07.47 bitrate= 28.3kbits/s speed=7.19x
[9/30/2021, 11:09:13 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 28kB time=00:00:07.98 bitrate= 28.2kbits/s speed=5.11x
[9/30/2021, 11:09:13 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 29kB time=00:00:08.49 bitrate= 28.2kbits/s speed=4.07x
[9/30/2021, 11:09:14 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 31kB time=00:00:09.07 bitrate= 28.2kbits/s speed=3.36x
[9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 32kB time=00:00:09.19 bitrate= 28.1kbits/s speed=0.389x
[9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] No more output streams to write to, finishing. [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] size= 32kB time=00:00:09.23 bitrate= 28.2kbits/s speed=0.39x
[9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [AVIOContext @ 0x3343890] [verbose] Statistics: 0 seeks, 7 writeouts [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [info] video:0kB audio:27kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 16.790442% [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Input file #0 (unix:./12.sock): [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Input stream #0:0 (audio): 144 packets read (27579 bytes); 144 frames decoded (147456 samples); [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Total: 144 packets (27579 bytes) demuxed [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Output file #0 (srtp://192.168.146.185:61512?rtcpport=61512&pkt_size=188): [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Output stream #0:0 (audio): 288 frames encoded (147456 samples); 289 packets muxed (27873 bytes); [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [verbose] Total: 289 packets (27873 bytes) muxed [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [AVIOContext @ 0x336db30] [verbose] Statistics: 0 seeks, 291 writeouts [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] DEBUG: Porch_audio [AVIOContext @ 0x334c320] [verbose] Statistics: 27579 bytes read, 0 seeks [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] ERROR: Porch_audio FFmpeg exited with code: 0 and signal: null (Error) [9/30/2021, 11:09:35 PM] [EufySecurity-1.1.1-beta.1] INFO: Porch Stopped video stream.>

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

fullphat commented 2 years ago

This is still an issue so can it be kept open please?

eRWN commented 2 years ago

Hello,

I wonder if this can help : https://github.com/samemory/homebridge-eufy-security/issues/284#issuecomment-981137804 (I don't know how to do it to test)

schliemann commented 2 years ago

Please retry with latest version.

fullphat commented 2 years ago

Still not working in 1.0.8 unfortunately. Also, the rtmp url that appears in the HomeBridge log doesn't open in VLC on MacOS.

schliemann commented 2 years ago

Try and install ffmpeg with apt get. Fixed it for me yesterday

fullphat commented 2 years ago

I'm running HomeBridge on MacOS so I'm not sure apt will work? Also, the plugin provides it's own version of ffmpeg so should I be updating that specific instance?

lenoxys commented 2 years ago

Is the MacOS 11+ version ?

fullphat commented 2 years ago

Yes, 11.3 in my case.

fullphat commented 2 years ago

Think I've fixed it. In streamingDelegate.js around line 353, if you force vcodec to be copy then the stream works in the Home app.

lenoxys commented 2 years ago

Ok will have a look if it's match the local livestream as well

schliemann commented 2 years ago

Will be fixed with https://github.com/samemory/homebridge-eufy-security/issues/321