potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
156 stars 17 forks source link

Stream works but no HSKV recording #130

Closed vgnnair closed 10 months ago

vgnnair commented 10 months ago

Hello team,I have Ubuntu 22.4 LTS - homebridge installation- latest version of nest-sdm v1.1.20. Nest outdoor camera stream works fine and events are captured in homebridge debug mode logs. But the hskv recordings are not happening. I have homebridge ffmpeg installed. My earlier installation on rpi ended up with this issue https://github.com/potmat/homebridge-google-nest-sdm/issues/101 and no success .So decided to give a try on ubuntu

Please see complete log below Main errors I see are [h264 @ 0x560df6cd9940] [error] non-existing PPS 0 referenced Driveway Camera decode_slice_header error Driveway Camera [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera

[12/29/2023, 3:18:53 PM] [homebridge-google-nest-sdm] Video stream requested: 1280 x 720, 30 fps, 299 kbps Driveway Camera [12/29/2023, 3:18:53 PM] [homebridge-google-nest-sdm] Executing command sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream with parameters {"offerSdp":"v=0\r\no=- 82755371 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:629e\r\na=ice-pwd:9ab5288d5b990dec7bfd24\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6D:2D:98:37:2A:E9:1E:1A:D0:24:9E:2E:98:E5:26:4E:F5:E1:42:40:A8:BD:CD:00:16:C0:4F:44:A3:A9:AE:CA\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:4f5d7569-5d2d-4167-81c6-6ef1d6c78258 7ff12b87-9d99-487a-bb4f-9809c0183fc3\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:145330168 cname:9e92855c-b13f-4d67-971c-17e21020c6a3\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:629e\r\na=ice-pwd:9ab5288d5b990dec7bfd24\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6D:2D:98:37:2A:E9:1E:1A:D0:24:9E:2E:98:E5:26:4E:F5:E1:42:40:A8:BD:CD:00:16:C0:4F:44:A3:A9:AE:CA\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:b68a27ae-28e5-40c8-b3c0-87e3851568fe c8940906-7f60-41ad-be9a-ddc6728fbe9b\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1819314906 cname:9e92855c-b13f-4d67-971c-17e21020c6a3\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:629e\r\na=ice-pwd:9ab5288d5b990dec7bfd24\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6D:2D:98:37:2A:E9:1E:1A:D0:24:9E:2E:98:E5:26:4E:F5:E1:42:40:A8:BD:CD:00:16:C0:4F:44:A3:A9:AE:CA\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n"} Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Execution of command sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream returned {"answerSdp":"v=0\r\no=- 0 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 2 1\r\na=msid-semantic: WMS 2595933019133906505/416178219 virtual-6666\r\na=ice-lite\r\nm=audio 19305 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 142.250.111.127\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=candidate: 1 udp 2113939711 2607:f8b0:4023:1401::7f 19305 typ host generation 0\r\na=candidate: 1 tcp 2113939710 2607:f8b0:4023:1401::7f 19305 typ host tcptype passive generation 0\r\na=candidate: 1 ssltcp 2113939709 2607:f8b0:4023:1401::7f 443 typ host generation 0\r\na=candidate: 1 udp 2113932031 142.250.111.127 19305 typ host generation 0\r\na=candidate: 1 tcp 2113932030 142.250.111.127 19305 typ host tcptype passive generation 0\r\na=candidate: 1 ssltcp 2113932029 142.250.111.127 443 typ host generation 0\r\na=ice-ufrag:QSekoobsOlBM3goKWigaIAEQABgHCAMGBQQBAggSDAiS\r\na=ice-pwd:DP25PYLF/CZHEYPD8BGUQPXZ\r\na=fingerprint:sha-256 75:CF:58:21:2A:11:A6:C1:E1:39:E6:00:71:01:CD:C6:D3:4D:F5:19:D2:C9:4E:D9:A7:EE:02:E4:52:FD:83:F9\r\na=setup:passive\r\na=mid:0\r\na=sendrecv\r\na=msid:virtual-6666 virtual-6666\r\na=rtcp-mux\r\na=rtpmap:96 opus/48000/2\r\na=fmtp:96 minptime=10;useinbandfec=1\r\na=ssrc:6666 cname:6666\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:QSekoobsOlBM3goKWigaIAEQABgHCAMGBQQBAggSDAiS\r\na=ice-pwd:DP25PYLF/CZHEYPD8BGUQPXZ\r\na=fingerprint:sha-256 75:CF:58:21:2A:11:A6:C1:E1:39:E6:00:71:01:CD:C6:D3:4D:F5:19:D2:C9:4E:D9:A7:EE:02:E4:52:FD:83:F9\r\na=setup:passive\r\na=mid:1\r\na=sendrecv\r\na=msid:2595933019133906505/416178219 2595933019133906505/416178219\r\na=rtcp-mux\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:416178219 cname:416178219\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:QSekoobsOlBM3goKWigaIAEQABgHCAMGBQQBAggSDAiS\r\na=ice-pwd:DP25PYLF/CZHEYPD8BGUQPXZ\r\na=fingerprint:sha-256 75:CF:58:21:2A:11:A6:C1:E1:39:E6:00:71:01:CD:C6:D3:4D:F5:19:D2:C9:4E:D9:A7:EE:02:E4:52:FD:83:F9\r\na=setup:passive\r\na=mid:2\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","expiresAt":"2023-12-29T15:23:57.007541Z","mediaSessionId":"QSekoobsOlBM3goKWigaIAEQABgHCAMGBQQBAggSDAiS"} Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Stream command: ffmpeg -protocol_whitelist pipe,crypto,udp,rtp,fd -analyzeduration 15000000 -probesize 100000000 -i - -an -sn -dn -codec:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -color_range mpeg -bf 0 -r 30 -b:v 1196k -bufsize 1196k -maxrate 2392k -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)2:trunc(ih/2)2 -payload_type 99 -ssrc 3128821 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params JnEj5Ei2taIpcHBbV/06MUJkwEag+nA3tKSP5jci srtp://192.168.5.60:50715?rtcpport=50715&pkt_size=1378 -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 2825176 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params fi5TDk4gdLj0k04E3jmiG79fi68RE5VqjGiZA03I srtp://192.168.5.60:63149?rtcpport=63149&pkt_size=188 -loglevel level+verbose v=0 o=- 0 0 IN IP4 127.0.0.1 s=- c=IN IP4 127.0.0.1 t=0 0 m=audio 15127 UDP 96 a=rtpmap:96 opus/48000/2 a=fmtp:96 minptime=10;useinbandfec=1 a=rtcp-fb:96 transport-cc a=sendrecv m=video 14646 UDP 97 a=rtpmap:97 H264/90000 a=rtcp-fb:97 ccm fir a=rtcp-fb:97 nack a=rtcp-fb:97 nack pli a=rtcp-fb:97 goog-remb a=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=sendrecv Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] ffmpeg version 5.0 Copyright (c) 2000-2022 the FFmpeg developers Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [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-indev=alsa --enable-outdev=alsa Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libavutil 57. 17.100 / 57. 17.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libavcodec 59. 18.100 / 59. 18.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libavformat 59. 16.100 / 59. 16.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libavdevice 59. 4.100 / 59. 4.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libavfilter 8. 24.100 / 8. 24.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libswscale 6. 4.100 / 6. 4.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libswresample 4. 3.100 / 4. 3.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [info] libpostproc 56. 3.100 / 56. 3.100 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [sdp @ 0x560b9cf0d400] [verbose] setting jitter buffer size to 500 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [sdp @ 0x560b9cf0d400] Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] [verbose] setting jitter buffer size to 500 Driveway Camera [12/29/2023, 3:18:57 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:18:59 PM] [homebridge-google-nest-sdm] [h264 @ 0x560b9cf13940] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p Driveway Camera [12/29/2023, 3:18:59 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Input #0, sdp, from 'pipe:': Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] title : - Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Duration: N/A, start: 0.000000, bitrate: N/A Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #0:1: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 1920x1080 (1920x1088), 30 fps, 30 tbr, 90k tbn Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream mapping: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264)) Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #0:0 -> #1:0 (opus (native) -> aac (libfdk_aac)) Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [graph_1_in_0_0 @ 0x560b9d0a2c00] [verbose] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [format_out_1_0 @ 0x560b9d0a3e00] [verbose] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0' Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [auto_aresample_0 @ 0x560b9d065600] [verbose] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Output #1, rtp, to 'srtp://192.168.5.60:63149?rtcpport=63149&pkt_size=188': Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] title : - Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] encoder : Lavf59.16.100 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #1:0: Audio: aac (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] encoder : Lavc59.18.100 libfdk_aac Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [h264 @ 0x560b9cf19400] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [Parsed_scale_0 @ 0x560b9d099840] [verbose] w:min(1280,iw) h:min(720,ih) flags:'' interl:0 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [Parsed_scale_1 @ 0x560b9cfd4500] [verbose] w:trunc(iw/2)2 h:trunc(ih/2)2 flags:'' interl:0 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [graph 0 input from stream 0:1 @ 0x560b9cfd4a00] [verbose] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30/1 sar:0/1 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [Parsed_scale_0 @ 0x560b9d099840] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x0 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [Parsed_scale_1 @ 0x560b9cfd4500] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x0 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [libx264 @ 0x560b9cfd1e80] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [libx264 @ 0x560b9cfd1e80] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Output #0, rtp, to 'srtp://192.168.5.60:50715?rtcpport=50715&pkt_size=1378': Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Stream #0:0: Video: h264, 1 reference frame, yuv420p(tv, progressive, left), 1280x720 (0x0), q=2-31, 1196 kb/s, 30 fps, 90k tbn Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] encoder : Lavc59.18.100 libx264 Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] Side data: Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] cpb: bitrate max/min/avg: 2392000/0/1196000 buffer size: 1196000 vbv_delay: N/A Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:19:00 PM] [homebridge-google-nest-sdm] [info] frame= 1 fps=0.0 q=38.0 size= 37kB time=00:00:01.77 bitrate= 172.5kbits/s speed=38.4x
Driveway Camera [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] non-existing PPS 0 referenced Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] non-existing PPS 0 referenced Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] decode_slice_header error Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] no frame! Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] non-existing PPS 0 referenced Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] non-existing PPS 0 referenced Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] decode_slice_header error Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [error] no frame! Driveway Camera [12/29/2023, 3:16:13 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:14 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cd9940] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Input #0, sdp, from 'pipe:': Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] title : - Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Duration: N/A, start: 0.000000, bitrate: N/A Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #0:1: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 1920x1080 (1920x1088), 30 fps, 30 tbr, 90k tbn Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream mapping: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264)) Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #0:0 -> #1:0 (opus (native) -> aac (libfdk_aac)) Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [graph_1_in_0_0 @ 0x560df6e22740] [verbose] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [format_out_1_0 @ 0x560df6e23ac0] [verbose] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0' Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [auto_aresample_0 @ 0x560df6e25180] [verbose] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:1 chl:mono fmt:s16 r:16000Hz Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Output #1, rtp, to 'srtp://192.168.5.60:62836?rtcpport=62836&pkt_size=188': Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] title : - Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] encoder : Lavf59.16.100 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #1:0: Audio: aac (ELD), 16000 Hz, mono, s16, delay 288, 24 kb/s Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] encoder : Lavc59.18.100 libfdk_aac Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [h264 @ 0x560df6cddf40] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [Parsed_scale_0 @ 0x560df6d9e040] [verbose] w:min(1280,iw) h:min(720,ih) flags:'' interl:0 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [Parsed_scale_1 @ 0x560df6e3a440] [verbose] w:trunc(iw/2)
2 h:trunc(ih/2)*2 flags:'' interl:0 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [graph 0 input from stream 0:1 @ 0x560df6d9bf40] [verbose] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30/1 sar:0/1 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [Parsed_scale_0 @ 0x560df6d9e040] [verbose] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x0 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [Parsed_scale_1 @ 0x560df6e3a440] [verbose] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x0 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [libx264 @ 0x560df6daadc0] [info] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [libx264 @ 0x560df6daadc0] [info] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Output #0, rtp, to 'srtp://192.168.5.60:62187?rtcpport=62187&pkt_size=1378': Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] title : - Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] encoder : Lavf59.16.100 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Stream #0:0: Video: h264, 1 reference frame, yuv420p(tv, progressive, left), 1280x720 (0x0), q=2-31, 1196 kb/s, 30 fps, 90k tbn Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Metadata: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] encoder : Lavc59.18.100 libx264 Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] Side data: Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [info] cpb: bitrate max/min/avg: 2392000/0/1196000 buffer size: 1196000 vbv_delay: N/A Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] [verbose] 78 dup! Driveway Camera [12/29/2023, 3:16:16 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [info] frame= 79 fps=0.0 q=20.0 size= 272kB time=00:00:02.60 bitrate= 857.6kbits/s dup=78 drop=0 speed= 44x
Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [info] frame= 79 fps=0.0 q=20.0 size= 272kB time=00:00:02.60 bitrate= 857.6kbits/s dup=78 drop=0 speed=3.56x
Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose]
dropping frame 79 from stream 0 at ts 1 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] dropping frame 79 from stream 0 at ts 2 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] dropping frame 79 from stream 0 at ts 3 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] dropping frame 79 from stream 0 at ts 4 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] dropping frame 79 from stream 0 at ts 5 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] dropping frame 79 from stream 0 at ts 6 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] dropping frame 79 from stream 0 at ts 7 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] dropping frame 79 from stream 0 at ts 8 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] dropping frame 79 from stream 0 at ts 9 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] dropping frame 79 from stream 0 at ts 10 Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera 12/29/2023, 3:16:17 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:18 PM] [homebridge-google-nest-sdm] [info] frame= 99 fps= 57 q=23.0 size= 454kB time=00:00:04.91 bitrate= 758.3kbits/s dup=78 drop=75 speed=2.83x
Driveway Camera [12/29/2023, 3:16:18 PM] [homebridge-google-nest-sdm] [info] frame= 132 fps= 59 q=23.0 size= 632kB time=00:00:06.22 bitrate= 831.6kbits/s dup=78 drop=75 speed=2.77x
Driveway Camera [12/29/2023, 3:16:18 PM] [homebridge-google-nest-sdm] [verbose] Driveway Camera [12/29/2023, 3:16:18 PM] [homebridge-google-nest-sdm]
dropping frame 133 from stream 0 at ts 131 Driveway Camera [12/29/2023, 3:16:18 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:19 PM] [homebridge-google-nest-sdm] [info] frame= 166 fps= 60 q=21.0 size= 707kB time=00:00:06.73 bitrate= 860.0kbits/s dup=78 drop=76 speed=2.44x
Driveway Camera [12/29/2023, 3:16:19 PM] [homebridge-google-nest-sdm] [info] frame= 190 fps= 58 q=20.0 size= 785kB time=00:00:07.27 bitrate= 883.8kbits/s dup=78 drop=76 speed=2.23x
Driveway Camera [12/29/2023, 3:16:20 PM] [homebridge-google-nest-sdm] [info] frame= 190 fps= 50 q=20.0 size= 785kB time=00:00:07.79 bitrate= 825.7kbits/s dup=78 drop=76 speed=2.05x
Driveway Camera [12/29/2023, 3:16:20 PM] [homebridge-google-nest-sdm] Received request to reconfigure: 640 x 360, 30 fps, 132 kbps (Ignored) Driveway Camera [12/29/2023, 3:16:20 PM] [homebridge-google-nest-sdm] [info] frame= 193 fps= 44 q=24.0 size= 841kB time=00:00:08.30 bitrate= 830.3kbits/s dup=78 drop=76 speed=1.91x
Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [info] frame= 219 fps= 45 q=21.0 size= 986kB time=00:00:08.87 bitrate= 910.3kbits/s dup=78 drop=76 speed=1.83x
Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] max delay reached. need to consume packet Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] RTP: missed 3 packets Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] max delay reached. need to consume packet Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] RTP: missed 1 packets Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [info] frame= 219 fps= 40 q=21.0 size= 986kB time=00:00:09.13 bitrate= 885.1kbits/s dup=78 drop=76 speed=1.68x
Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] max delay reached. need to consume packet Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] RTP: missed 1 packets Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] max delay reached. need to consume packet Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] RTP: missed 2 packets Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [warning] RTP: dropping old packet received too late Driveway Camera [12/29/2023, 3:16:21 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [sdp @ 0x560df6cd3400] Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] [error] Empty H.264 RTP packet Driveway Camera [12/29/2023, 3:16:30 PM] [homebridge-google-nest-sdm] Driveway Camera

potmat commented 10 months ago

@vgnnair: Those errors are perfectly normal and should not affect anything. According to the logs everything looks fine, did you read the HKSV section in the readme?

vgnnair commented 10 months ago

Thanks @potmat. Make sense .Therefore moved to a different kind of implementation for hksv's