Needing some help please. #1225
Unanswered
alison22000
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was using FFmpeg on Home Assistant with my Hikvision Nvr Cameras and all was ok. I ended up moving to Homebridge and again all was ok, moved to HOOBS and all was ok, moved back to Homebridge and now everything is all wonky. I have used the exact same settings through all Systems, but I recently plugged my IP cameras back into the NVR directly, instead of the network switch I was already using. I can't believe this is the reason, this should still be able to access my network stream, but I am having some problems. My stream is not working and after some minor adjustments I was hit with this huge amount of code that i do not understand. I just use 3 plugins to make things a little easier at home to work with HomeKit. I really need my cameras working again, but for the life of me, I have no idea what is preventing it from working. I will attach screenshots , Thank you for any help.
[25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] Starting video stream: 1280 x 720, 20 fps, 299 kbps [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] Stream command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://Alison:[email protected]:554/Streaming/channels/102/ -an -sn -dn -codec:v h264_videotoolbox -pix_fmt yuv420p -color_range mpeg -r 20 -f rawvideo -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 11742373 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Cy+WDDERm/UHeL7IYY01PyW5SBXm7Gyy3X4n55k7 srtp://192.168.0.158:56226?rtcpport=56226&pkt_size=1316 -loglevel level+verbose -progress pipe:1 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [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 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libavutil 56. 51.100 / 56. 51.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libavcodec 58. 91.100 / 58. 91.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libavformat 58. 45.100 / 58. 45.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libavdevice 58. 10.100 / 58. 10.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libavfilter 7. 85.100 / 7. 85.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libswscale 5. 7.100 / 5. 7.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libswresample 3. 7.100 / 3. 7.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [info] libpostproc 55. 7.100 / 55. 7.100 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] [tcp @ 0x3314a00] [verbose] Starting connection attempt to 192.168.254.12 port 554 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] Snapshot requested: 1280 x 720 [25/11/2021, 00:37:03] [Camera FFmpeg] [Inside] Snapshot command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://Alison:[email protected]:554/Streaming/channels/102/ -frames:v 1 -f image2 - -hide_banner -loglevel error [25/11/2021, 00:37:04] [Camera FFmpeg] [Inside] Stopped video stream. [25/11/2021, 00:37:06] [Camera FFmpeg] [Inside] FFmpeg exited with code: null and signal: SIGKILL (Forced) [Inside AE35] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info. [Inside AE35] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info. [25/11/2021, 00:37:34] [Camera FFmpeg] [Inside] Snapshot requested: 1280 x 720 [Inside AE35] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info. [Inside AE35] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info. [25/11/2021, 00:39:15] [Camera FFmpeg] [Inside] [Snapshot] [tcp @ 0x2ceb3e0] Connection to tcp://192.168.254.12:554?timeout=0 failed: Connection timed out [25/11/2021, 00:39:15] [Camera FFmpeg] [Inside] [Snapshot] rtsp://Alison:[email protected]:554/Streaming/channels/102/: Connection timed out [25/11/2021, 00:39:15] [Camera FFmpeg] [Inside] Fetching snapshot took 131.775 seconds. The request has timed out and the snapshot has not been refreshed in HomeKit. [25/11/2021, 00:39:15] [Camera FFmpeg] [Inside] Failed to fetch snapshot. [25/11/2021, 00:39:15] [Camera FFmpeg] [Inside] Failed to fetch snapshot. [25/11/2021, 00:46:02] [Camera FFmpeg] [Inside] Snapshot requested: 1280 x 720 [25/11/2021, 00:46:02] [Camera FFmpeg] [Inside] Snapshot command: /usr/local/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://Alison:[email protected]:554/Streaming/channels/102/ -frames:v 1 -f image2 - -hide_banner -loglevel error [Inside AE35] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info. [Inside AE35] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
Beta Was this translation helpful? Give feedback.
All reactions