Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with accessing live stream using RTSP camera (Screenshots work just fine) #714

Closed
auxtillary opened this issue Aug 4, 2020 · 12 comments
Labels

Comments

@auxtillary
Copy link

Describe The Problem:
Like a few others that have posted recently, I am able to receive screenshots on a 12 second update, but I am unable to stream live video. I have disabled audio in this instance to make troubleshooting (hopefully) easier. Once audio is added, there is another error but it may relate to solving this, so I would like to start at the root.

To Reproduce:
Opening the home app results in screenshots with no issue. Opening the video feed does nothing and automatically terminates the video after 10-15 seconds.

Logs:

[8/4/2020, 11:21:04 AM] [Camera FFmpeg] [Driveway] Snapshot requested: 480x270
[8/4/2020, 11:21:04 AM] [Camera FFmpeg] [Driveway] Sending snapshot: 480x270
[8/4/2020, 11:21:04 AM] [Camera FFmpeg] [Driveway] Snapshot command: /usr/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0 -frames:v 1 -vf scale=480:270 -f image2 -
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] Video stream requested: 1280x1280, 30 fps, 299 kbps
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] Starting video stream: 1280x720, 15 fps, 299 kbps
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] Stream command: /usr/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0 -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 10463009 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params JA3FUHzZ6Kh/u7eGRdyVRhD3Z6scg5U0Qk1FukVX srtp://192.168.0.121:65365?rtcpport=65365&localrtcpport=65365&pkt_size=1316 -loglevel level+verbose
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] Received first frame.
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] ffmpeg version 4.2.2-d1e8be3 Copyright (c) 2000-2019 the FFmpeg developers
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [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
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libavutil 56. 31.100 / 56. 31.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libavcodec 58. 54.100 / 58. 54.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libavformat 58. 29.100 / 58. 29.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libavdevice 58. 8.100 / 58. 8.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libavfilter 7. 57.100 / 7. 57.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libswscale 5. 5.100 / 5. 5.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libswresample 3. 5.100 / 3. 5.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [info] libpostproc 55. 5.100 / 55. 5.100
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [tcp @ 0x555932c4c340] [verbose] Starting connection attempt to 192.168.0.128 port 554
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [tcp @ 0x555932c4c340] [verbose] Successfully connected to 192.168.0.128 port 554
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [rtsp @ 0x555932c49ec0] [verbose] SDP:
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] v=0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] o=- 2252089315 2252089315 IN IP4 0.0.0.0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] s=Media Server
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] c=IN IP4 0.0.0.0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] t=0 0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=control:*
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=packetization-supported:DH
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=rtppayload-supported:DH
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=range:npt=now-
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] m=video 0 RTP/AVP 96
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=control:trackID=0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=framerate:15.000000
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=rtpmap:96 H264/90000
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKwbGoB4Aifl/8PFQ8QbgICAoAAAfQAADqYdDABOIAAC+vBd5caGACcQAAF9eC7y4UAA,aO44MAA=
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=recvonly
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] m=audio 0 RTP/AVP 97
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=control:trackID=1
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=rtpmap:97 MPEG4-GENERIC/16000
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] a=recvonly
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [rtsp @ 0x555932c49ec0] [verbose] setting jitter buffer size to 0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway] [rtsp @ 0x555932c49ec0] [verbose] setting jitter buffer size to 0
[8/4/2020, 11:21:07 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:08 AM] [Camera FFmpeg] [Driveway] [h264 @ 0x555932c4e080] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[8/4/2020, 11:21:08 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Input #0, rtsp, from 'rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0':
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] title : Media Server
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Duration: N/A, start: 0.080000, bitrate: N/A
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Stream #0:0: Video: h264 (High), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 3861:3856 DAR 429:241], 15 fps, 100 tbr, 90k tbn, 30 tbc
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Stream mapping:
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Press [q] to stop, [?] for help
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [h264 @ 0x555932ca2c00] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [Parsed_scale_0 @ 0x555932dfb440] [verbose] w:1280 h:720 flags:'bicubic' interl:0
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [graph 0 input from stream 0:0 @ 0x555933aeb840] [verbose] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:15/1 sar:3861/3856 sws_param:flags=2
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [swscaler @ 0x555933aefac0] [warning] deprecated pixel format used, make sure you did set range correctly
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [Parsed_scale_0 @ 0x555932dfb440] [verbose] w:1920 h:1080 fmt:yuvj420p sar:3861/3856 -> w:1280 h:720 fmt:yuv420p sar:3861/3856 flags:0x4
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [libx264 @ 0x555932c6e180] [info] using SAR=3861/3856
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [libx264 @ 0x555932c6e180] [info] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [libx264 @ 0x555932c6e180] [info] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Output #0, rtp, to 'srtp://192.168.0.121:65365?rtcpport=65365&localrtcpport=65365&pkt_size=1316':
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] title : Media Server
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] encoder : Lavf58.29.100
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Stream #0:0: Video: h264 (libx264), 1 reference frame, yuv420p(left), 1280x720 [SAR 3861:3856 DAR 429:241], q=-1--1, 299 kb/s, 15 fps, 90k tbn, 15 tbc
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] encoder : Lavc58.54.100 libx264
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] Side data:
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [info] cpb: bitrate max/min/avg: 299000/0/299000 buffer size: 598000 vbv_delay: -1
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway] [verbose] *** 7 dup!
[8/4/2020, 11:21:09 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 8 from stream 0 at ts 2
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 8 from stream 0 at ts 3
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 8 from stream 0 at ts 4
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 8 from stream 0 at ts 5
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 8 from stream 0 at ts 6
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway]
[8/4/2020, 11:21:10 AM] [Camera FFmpeg] [Driveway] [info] frame= 23 fps=0.0 q=37.0 size= 72kB time=00:00:01.46 bitrate= 402.5kbits/s dup=7 drop=5 speed=2.73x
[8/4/2020, 11:21:11 AM] [Camera FFmpeg] [Driveway] [info] frame= 31 fps= 29 q=36.0 size= 85kB time=00:00:02.00 bitrate= 349.0kbits/s dup=7 drop=5 speed=1.87x
[8/4/2020, 11:21:11 AM] [Camera FFmpeg] [Driveway] [info] frame= 39 fps= 24 q=35.0 size= 101kB time=00:00:02.53 bitrate= 326.3kbits/s dup=7 drop=5 speed=1.58x
[8/4/2020, 11:21:12 AM] [Camera FFmpeg] [Driveway] [info] frame= 47 fps= 22 q=35.0 size= 114kB time=00:00:03.06 bitrate= 305.4kbits/s dup=7 drop=5 speed=1.42x
[8/4/2020, 11:21:13 AM] [Camera FFmpeg] [Driveway] [info] frame= 63 fps= 20 q=41.0 size= 180kB time=00:00:04.13 bitrate= 357.3kbits/s dup=7 drop=5 speed=1.29x
[8/4/2020, 11:21:13 AM] [Camera FFmpeg] [Driveway] [info] frame= 71 fps= 19 q=35.0 size= 183kB time=00:00:04.66 bitrate= 321.9kbits/s dup=7 drop=5 speed=1.25x
[8/4/2020, 11:21:14 AM] [Camera FFmpeg] [Driveway] [info] frame= 79 fps= 18 q=34.0 size= 189kB time=00:00:05.20 bitrate= 297.8kbits/s dup=7 drop=5 speed=1.22x
[8/4/2020, 11:21:14 AM] [Camera FFmpeg] [Driveway] [info] frame= 87 fps= 18 q=35.0 size= 215kB time=00:00:05.73 bitrate= 307.1kbits/s dup=7 drop=5 speed=1.19x
[8/4/2020, 11:21:15 AM] [Camera FFmpeg] [Driveway] [info] frame= 95 fps= 18 q=30.0 size= 225kB time=00:00:06.26 bitrate= 293.7kbits/s dup=7 drop=5 speed=1.17x
[8/4/2020, 11:21:15 AM] [Camera FFmpeg] [Driveway] [info] frame= 103 fps= 18 q=33.0 size= 246kB time=00:00:06.80 bitrate= 296.3kbits/s dup=7 drop=5 speed=1.16x
[8/4/2020, 11:21:16 AM] [Camera FFmpeg] [Driveway] [info] frame= 111 fps= 17 q=34.0 size= 272kB time=00:00:07.33 bitrate= 303.4kbits/s dup=7 drop=5 speed=1.15x
[8/4/2020, 11:21:16 AM] [Camera FFmpeg] [Driveway] [info] frame= 119 fps= 17 q=33.0 size= 286kB time=00:00:07.86 bitrate= 297.3kbits/s dup=7 drop=5 speed=1.13x
[8/4/2020, 11:21:17 AM] [Camera FFmpeg] [Driveway] [info] frame= 127 fps= 17 q=27.0 size= 307kB time=00:00:08.40 bitrate= 299.8kbits/s dup=7 drop=5 speed=1.12x
[8/4/2020, 11:21:17 AM] [Camera FFmpeg] [Driveway] [info] frame= 135 fps= 17 q=32.0 size= 322kB time=00:00:08.93 bitrate= 295.2kbits/s dup=7 drop=5 speed=1.12x
[8/4/2020, 11:21:18 AM] [Camera FFmpeg] [Driveway] [info] frame= 143 fps= 17 q=33.0 size= 345kB time=00:00:09.46 bitrate= 298.5kbits/s dup=7 drop=5 speed=1.11x
[8/4/2020, 11:21:19 AM] [Camera FFmpeg] [Driveway] [info] frame= 151 fps= 17 q=28.0 size= 362kB time=00:00:10.00 bitrate= 296.2kbits/s dup=7 drop=5 speed= 1.1x
[8/4/2020, 11:21:19 AM] [Camera FFmpeg] [Driveway] [info] frame= 159 fps= 17 q=32.0 size= 374kB time=00:00:10.53 bitrate= 290.6kbits/s dup=7 drop=5 speed= 1.1x
[8/4/2020, 11:21:20 AM] [Camera FFmpeg] [Driveway] [info] frame= 167 fps= 16 q=32.0 size= 395kB time=00:00:11.06 bitrate= 292.6kbits/s dup=7 drop=5 speed=1.09x
[8/4/2020, 11:21:21 AM] [Camera FFmpeg] [Driveway] [info] frame= 183 fps= 16 q=35.0 size= 434kB time=00:00:12.13 bitrate= 293.1kbits/s dup=7 drop=5 speed=1.08x
[8/4/2020, 11:21:21 AM] [Camera FFmpeg] [Driveway] [info] frame= 191 fps= 16 q=31.0 size= 451kB time=00:00:12.66 bitrate= 291.4kbits/s dup=7 drop=5 speed=1.08x
[8/4/2020, 11:21:22 AM] [Camera FFmpeg] [Driveway] [info] frame= 199 fps= 16 q=25.0 size= 477kB time=00:00:13.20 bitrate= 295.9kbits/s dup=7 drop=5 speed=1.08x
[8/4/2020, 11:21:22 AM] [Camera FFmpeg] [Driveway] [info] frame= 207 fps= 16 q=32.0 size= 489kB time=00:00:13.73 bitrate= 291.4kbits/s dup=7 drop=5 speed=1.07x
[8/4/2020, 11:21:23 AM] [Camera FFmpeg] [Driveway] [info] frame= 215 fps= 16 q=34.0 size= 505kB time=00:00:14.26 bitrate= 289.9kbits/s dup=7 drop=5 speed=1.07x
[8/4/2020, 11:21:24 AM] [Camera FFmpeg] [Driveway] [info] frame= 231 fps= 16 q=26.0 size= 537kB time=00:00:15.33 bitrate= 287.0kbits/s dup=7 drop=5 speed=1.07x
[8/4/2020, 11:21:24 AM] [Camera FFmpeg] [Driveway] [info] frame= 238 fps= 16 q=31.0 size= 572kB time=00:00:15.80 bitrate= 296.7kbits/s dup=7 drop=5 speed=1.06x
[8/4/2020, 11:21:25 AM] [Camera FFmpeg] [Driveway] [info] frame= 246 fps= 16 q=32.0 size= 578kB time=00:00:16.33 bitrate= 290.1kbits/s dup=7 drop=5 speed=1.06x
[8/4/2020, 11:21:25 AM] [Camera FFmpeg] [Driveway] [info] frame= 254 fps= 16 q=44.0 size= 642kB time=00:00:16.86 bitrate= 311.7kbits/s dup=7 drop=5 speed=1.06x
[8/4/2020, 11:21:26 AM] [Camera FFmpeg] [Driveway] [info] frame= 262 fps= 16 q=36.0 size= 659kB time=00:00:17.40 bitrate= 310.4kbits/s dup=7 drop=5 speed=1.06x
[8/4/2020, 11:21:27 AM] [Camera FFmpeg] [Driveway] [info] frame= 278 fps= 16 q=33.0 size= 696kB time=00:00:18.46 bitrate= 308.9kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:27 AM] [Camera FFmpeg] [Driveway] [info] frame= 286 fps= 16 q=33.0 size= 713kB time=00:00:19.00 bitrate= 307.5kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:28 AM] [Camera FFmpeg] [Driveway] [info] frame= 294 fps= 16 q=33.0 size= 732kB time=00:00:19.53 bitrate= 306.8kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:29 AM] [Camera FFmpeg] [Driveway] [info] frame= 302 fps= 16 q=32.0 size= 747kB time=00:00:20.06 bitrate= 304.9kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:29 AM] [Camera FFmpeg] [Driveway] [info] frame= 310 fps= 16 q=32.0 size= 769kB time=00:00:20.60 bitrate= 305.6kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:30 AM] [Camera FFmpeg] [Driveway] [info] frame= 318 fps= 16 q=33.0 size= 790kB time=00:00:21.13 bitrate= 306.3kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:30 AM] [Camera FFmpeg] [Driveway] [info] frame= 326 fps= 16 q=31.0 size= 801kB time=00:00:21.66 bitrate= 302.9kbits/s dup=7 drop=5 speed=1.05x
[8/4/2020, 11:21:31 AM] [Camera FFmpeg] [Driveway] [info] frame= 334 fps= 16 q=36.0 size= 808kB time=00:00:22.20 bitrate= 298.1kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:31 AM] [Camera FFmpeg] [Driveway] [info] frame= 342 fps= 16 q=32.0 size= 829kB time=00:00:22.73 bitrate= 298.6kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:32 AM] [Camera FFmpeg] [Driveway] [info] frame= 350 fps= 16 q=31.0 size= 838kB time=00:00:23.26 bitrate= 295.2kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:32 AM] [Camera FFmpeg] [Driveway] [info] frame= 358 fps= 16 q=31.0 size= 857kB time=00:00:23.80 bitrate= 295.1kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:34 AM] [Camera FFmpeg] [Driveway] [info] frame= 382 fps= 16 q=32.0 size= 943kB time=00:00:25.40 bitrate= 304.1kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:34 AM] [Camera FFmpeg] [Driveway] [info] frame= 390 fps= 16 q=31.0 size= 946kB time=00:00:25.93 bitrate= 299.0kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:35 AM] [Camera FFmpeg] [Driveway] [info] frame= 398 fps= 16 q=31.0 size= 953kB time=00:00:26.46 bitrate= 294.9kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:35 AM] [Camera FFmpeg] [Driveway] [info] frame= 406 fps= 16 q=24.0 size= 986kB time=00:00:27.00 bitrate= 299.0kbits/s dup=7 drop=5 speed=1.04x
[8/4/2020, 11:21:37 AM] [Camera FFmpeg] [Driveway] [info] frame= 422 fps= 16 q=31.0 size= 1016kB time=00:00:28.06 bitrate= 296.4kbits/s dup=7 drop=5 speed=1.03x
[8/4/2020, 11:21:37 AM] [Camera FFmpeg] [Driveway] [info] frame= 430 fps= 16 q=30.0 size= 1027kB time=00:00:28.60 bitrate= 294.2kbits/s dup=7 drop=5 speed=1.03x
[8/4/2020, 11:21:38 AM] [Camera FFmpeg] [Driveway] [info] frame= 437 fps= 16 q=30.0 size= 1043kB time=00:00:29.06 bitrate= 293.8kbits/s dup=7 drop=5 speed=1.03x
[8/4/2020, 11:21:38 AM] [Camera FFmpeg] [Driveway] Stopped video stream.
[8/4/2020, 11:21:38 AM] [Camera FFmpeg] [Driveway] ffmpeg exited with code: null and signal: SIGKILL (Expected)
[8/4/2020, 11:21:45 AM] [Camera FFmpeg] [Driveway] Snapshot requested: 480x270
[8/4/2020, 11:21:45 AM] [Camera FFmpeg] [Driveway] Sending snapshot: 480x270
[8/4/2020, 11:21:45 AM] [Camera FFmpeg] [Driveway] Snapshot command: /usr/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0 -frames:v 1 -vf scale=480:270 -f image2 -

Config

{
            "name": "Camera FFmpeg",
            "cameras": [
                {
                    "name": "Driveway",
                    "manufacturer": "Amcrest",
                    "model": "4k-2.8mm",
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -i rtsp://USER:[email protected]:554/cam/realmonitor?channel=1&subtype=0",
                        "maxFPS": 15,
                        "audio": false,
                        "debug": true
                    }
                }
            ],
            "platform": "Camera-ffmpeg"

Environment:

  • Node.js Version: v12.15.0
  • NPM Version: v6.13.4
  • Homebridge Version: v 1.1.1
  • Homebridge Camera FFmpeg Version: v2.4.3
  • Homebridge Config UI X Plugin Version: v4.24.0
  • Operating System: UnRAID Docker accessed via Windows
@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

Do you have multiple network interfaces? I know that grabbing the correct interface is often a problem on Docker, and you'll likely need to set the interfaceName value in your config.

@auxtillary
Copy link
Author

Do you have multiple network interfaces? I know that grabbing the correct interface is often a problem on Docker, and you'll likely need to set the interfaceName value in your config.

Which section of the config? specifically under the Homebridge base config, the Camera FFmpeg config, or the videoConfig section?

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

The base config, same level as "platform": "Camera-ffmpeg".

@auxtillary
Copy link
Author

auxtillary commented Aug 4, 2020

Okay so i updated the Config to read:

{
            "name": "Camera FFmpeg",
            "cameras": [
                {
                    "name": "Driveway",
                    "manufacturer": "Amcrest",
                    "model": "4k-2.8mm",
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -i rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0",
                        "maxFPS": 15,
                        "audio": false,
                        "debug": true
                    }
                }
            ],
            "platform": "Camera-ffmpeg",
            "interfaceName": "eth0"
        },

And here is the result:

[8/4/2020, 1:57:00 PM] [Camera FFmpeg] [Driveway] Snapshot requested: 480x270
[8/4/2020, 1:57:00 PM] [Camera FFmpeg] [Driveway] Sending snapshot: 480x270
[8/4/2020, 1:57:00 PM] [Camera FFmpeg] [Driveway] Snapshot command: /usr/lib/node_modules/homebridge-camera-ffmpeg/node_modules/ffmpeg-for-homebridge/ffmpeg -rtsp_transport tcp -i rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0 -frames:v 1 -vf scale=480:270 -f image2 -
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Input #0, rtsp, from 'rtsp://unraid:[email protected]:554/cam/realmonitor?channel=1&subtype=0':
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] title : Media Server
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Duration: N/A, start: 0.080000, bitrate: N/A
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Stream #0:0: Video: h264 (High), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 3861:3856 DAR 429:241], 15 fps, 100 tbr, 90k tbn, 30 tbc
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Stream mapping:
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Press [q] to stop, [?] for help
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [h264 @ 0x55cb8a360c00] [verbose] Reinit context to 1920x1088, pix_fmt: yuvj420p
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [Parsed_scale_0 @ 0x55cb8a3643c0] [verbose] w:1280 h:720 flags:'bicubic' interl:0
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [graph 0 input from stream 0:0 @ 0x55cb8b1a5ac0] [verbose] w:1920 h:1080 pixfmt:yuvj420p tb:1/90000 fr:15/1 sar:3861/3856 sws_param:flags=2
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [swscaler @ 0x55cb8b1a9840] [warning] deprecated pixel format used, make sure you did set range correctly
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [Parsed_scale_0 @ 0x55cb8a3643c0] [verbose] w:1920 h:1080 fmt:yuvj420p sar:3861/3856 -> w:1280 h:720 fmt:yuv420p sar:3861/3856 flags:0x4
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [libx264 @ 0x55cb8a32f8c0] [info] using SAR=3861/3856
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [libx264 @ 0x55cb8a32f8c0] [info] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [libx264 @ 0x55cb8a32f8c0] [info] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Output #0, rtp, to 'srtp://192.168.0.121:63909?rtcpport=63909&localrtcpport=63909&pkt_size=1316':
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] title : Media Server
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] encoder : Lavf58.29.100
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Stream #0:0: Video: h264 (libx264), 1 reference frame, yuv420p(left), 1280x720 [SAR 3861:3856 DAR 429:241], q=-1--1, 299 kb/s, 15 fps, 90k tbn, 15 tbc
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Metadata:
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] encoder : Lavc58.54.100 libx264
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] Side data:
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] cpb: bitrate max/min/avg: 299000/0/299000 buffer size: 598000 vbv_delay: -1
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** 6 dup!
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 7 from stream 0 at ts 1
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 7 from stream 0 at ts 2
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 7 from stream 0 at ts 3
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 7 from stream 0 at ts 4
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [verbose] *** dropping frame 7 from stream 0 at ts 5
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway]
[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [info] frame= 22 fps=0.0 q=37.0 size= 73kB time=00:00:01.40 bitrate= 428.4kbits/s dup=6 drop=5 speed=2.59x
[8/4/2020, 1:57:09 PM] [Camera FFmpeg] [Driveway] [info] frame= 38 fps= 24 q=36.0 size= 101kB time=00:00:02.46 bitrate= 334.7kbits/s dup=6 drop=5 speed=1.53x
[8/4/2020, 1:57:09 PM] [Camera FFmpeg] [Driveway] [info] frame= 46 fps= 21 q=35.0 size= 108kB time=00:00:03.00 bitrate= 293.9kbits/s dup=6 drop=5 speed= 1.4x
[8/4/2020, 1:57:10 PM] [Camera FFmpeg] [Driveway] [info] frame= 54 fps= 20 q=38.0 size= 157kB time=00:00:03.53 bitrate= 365.1kbits/s dup=6 drop=5 speed=1.33x
[8/4/2020, 1:57:10 PM] [Camera FFmpeg] [Driveway] [info] frame= 62 fps= 19 q=42.0 size= 163kB time=00:00:04.06 bitrate= 328.0kbits/s dup=6 drop=5 speed=1.27x
[8/4/2020, 1:57:11 PM] [Camera FFmpeg] [Driveway] [info] frame= 70 fps= 19 q=38.0 size= 171kB time=00:00:04.60 bitrate= 303.7kbits/s dup=6 drop=5 speed=1.23x
[8/4/2020, 1:57:11 PM] [Camera FFmpeg] [Driveway] [info] frame= 78 fps= 18 q=34.0 size= 183kB time=00:00:05.13 bitrate= 292.6kbits/s dup=6 drop=5 speed= 1.2x
[8/4/2020, 1:57:13 PM] [Camera FFmpeg] [Driveway] [info] frame= 102 fps= 17 q=32.0 size= 233kB time=00:00:06.73 bitrate= 283.4kbits/s dup=6 drop=5 speed=1.15x
[8/4/2020, 1:57:13 PM] [Camera FFmpeg] [Driveway] [info] frame= 110 fps= 17 q=33.0 size= 249kB time=00:00:07.26 bitrate= 280.5kbits/s dup=6 drop=5 speed=1.13x
[8/4/2020, 1:57:14 PM] [Camera FFmpeg] [Driveway] [info] frame= 118 fps= 17 q=35.0 size= 265kB time=00:00:07.80 bitrate= 278.3kbits/s dup=6 drop=5 speed=1.12x
[8/4/2020, 1:57:14 PM] [Camera FFmpeg] [Driveway] [info] frame= 126 fps= 17 q=33.0 size= 293kB time=00:00:08.33 bitrate= 287.8kbits/s dup=6 drop=5 speed=1.12x
[8/4/2020, 1:57:16 PM] [Camera FFmpeg] [Driveway] [info] frame= 150 fps= 17 q=32.0 size= 359kB time=00:00:09.93 bitrate= 295.9kbits/s dup=6 drop=5 speed= 1.1x
[8/4/2020, 1:57:17 PM] [Camera FFmpeg] [Driveway] [info] frame= 158 fps= 16 q=32.0 size= 367kB time=00:00:10.46 bitrate= 287.1kbits/s dup=6 drop=5 speed=1.09x
[8/4/2020, 1:57:17 PM] [Camera FFmpeg] [Driveway] [info] frame= 166 fps= 16 q=32.0 size= 383kB time=00:00:11.00 bitrate= 285.5kbits/s dup=6 drop=5 speed=1.08x
[8/4/2020, 1:57:18 PM] [Camera FFmpeg] [Driveway] [info] frame= 174 fps= 16 q=32.0 size= 406kB time=00:00:11.53 bitrate= 288.6kbits/s dup=6 drop=5 speed=1.08x
[8/4/2020, 1:57:19 PM] [Camera FFmpeg] [Driveway] [info] frame= 190 fps= 16 q=31.0 size= 446kB time=00:00:12.60 bitrate= 289.9kbits/s dup=6 drop=5 speed=1.07x
[8/4/2020, 1:57:19 PM] [Camera FFmpeg] [Driveway] [info] frame= 198 fps= 16 q=32.0 size= 461kB time=00:00:13.13 bitrate= 287.6kbits/s dup=6 drop=5 speed=1.07x
[8/4/2020, 1:57:20 PM] [Camera FFmpeg] [Driveway] [info] frame= 206 fps= 16 q=32.0 size= 487kB time=00:00:13.66 bitrate= 291.6kbits/s dup=6 drop=5 speed=1.07x
[8/4/2020, 1:57:20 PM] [Camera FFmpeg] [Driveway] [info] frame= 214 fps= 16 q=35.0 size= 501kB time=00:00:14.20 bitrate= 288.9kbits/s dup=6 drop=5 speed=1.06x
[8/4/2020, 1:57:21 PM] [Camera FFmpeg] [Driveway] [info] frame= 222 fps= 16 q=31.0 size= 526kB time=00:00:14.73 bitrate= 292.3kbits/s dup=6 drop=5 speed=1.06x
[8/4/2020, 1:57:22 PM] [Camera FFmpeg] [Driveway] [info] frame= 238 fps= 16 q=26.0 size= 565kB time=00:00:15.80 bitrate= 293.1kbits/s dup=6 drop=5 speed=1.06x
[8/4/2020, 1:57:22 PM] [Camera FFmpeg] [Driveway] [info] frame= 246 fps= 16 q=27.0 size= 577kB time=00:00:16.33 bitrate= 289.2kbits/s dup=6 drop=5 speed=1.06x
[8/4/2020, 1:57:23 PM] [Camera FFmpeg] [Driveway] [info] frame= 254 fps= 16 q=44.0 size= 645kB time=00:00:16.86 bitrate= 313.5kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:23 PM] [Camera FFmpeg] [Driveway] [info] frame= 262 fps= 16 q=35.0 size= 665kB time=00:00:17.40 bitrate= 313.1kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:24 PM] [Camera FFmpeg] [Driveway] [info] frame= 270 fps= 16 q=36.0 size= 680kB time=00:00:17.93 bitrate= 310.8kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:25 PM] [Camera FFmpeg] [Driveway] [info] frame= 278 fps= 16 q=33.0 size= 701kB time=00:00:18.46 bitrate= 310.8kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:25 PM] [Camera FFmpeg] [Driveway] [info] frame= 286 fps= 16 q=33.0 size= 712kB time=00:00:19.00 bitrate= 307.1kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:26 PM] [Camera FFmpeg] [Driveway] [info] frame= 294 fps= 16 q=31.0 size= 735kB time=00:00:19.53 bitrate= 308.4kbits/s dup=6 drop=5 speed=1.05x
[8/4/2020, 1:57:26 PM] [Camera FFmpeg] [Driveway] [info] frame= 302 fps= 16 q=38.0 size= 749kB time=00:00:20.06 bitrate= 305.9kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:27 PM] [Camera FFmpeg] [Driveway] [info] frame= 310 fps= 16 q=32.0 size= 767kB time=00:00:20.60 bitrate= 305.1kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:27 PM] [Camera FFmpeg] [Driveway] [info] frame= 318 fps= 16 q=32.0 size= 785kB time=00:00:21.13 bitrate= 304.4kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:28 PM] [Camera FFmpeg] [Driveway] [info] frame= 326 fps= 16 q=31.0 size= 796kB time=00:00:21.66 bitrate= 300.9kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:28 PM] [Camera FFmpeg] [Driveway] [info] frame= 334 fps= 16 q=36.0 size= 801kB time=00:00:22.20 bitrate= 295.5kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:29 PM] [Camera FFmpeg] [Driveway] [info] frame= 342 fps= 16 q=32.0 size= 815kB time=00:00:22.73 bitrate= 293.8kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:29 PM] [Camera FFmpeg] [Driveway] [info] frame= 350 fps= 16 q=31.0 size= 840kB time=00:00:23.26 bitrate= 295.7kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:30 PM] [Camera FFmpeg] [Driveway] [info] frame= 358 fps= 16 q=32.0 size= 851kB time=00:00:23.80 bitrate= 293.0kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:30 PM] [Camera FFmpeg] [Driveway] [info] frame= 366 fps= 16 q=32.0 size= 873kB time=00:00:24.33 bitrate= 293.7kbits/s dup=6 drop=5 speed=1.04x
[8/4/2020, 1:57:32 PM] [Camera FFmpeg] [Driveway] [info] frame= 390 fps= 16 q=30.0 size= 924kB time=00:00:25.93 bitrate= 291.9kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:33 PM] [Camera FFmpeg] [Driveway] [info] frame= 398 fps= 16 q=32.0 size= 945kB time=00:00:26.46 bitrate= 292.6kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:33 PM] [Camera FFmpeg] [Driveway] [info] frame= 406 fps= 16 q=32.0 size= 966kB time=00:00:27.00 bitrate= 293.1kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:34 PM] [Camera FFmpeg] [Driveway] [info] frame= 414 fps= 16 q=32.0 size= 984kB time=00:00:27.53 bitrate= 292.8kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:35 PM] [Camera FFmpeg] [Driveway] [info] frame= 430 fps= 16 q=32.0 size= 1021kB time=00:00:28.60 bitrate= 292.5kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:35 PM] [Camera FFmpeg] [Driveway] [info] frame= 438 fps= 15 q=32.0 size= 1041kB time=00:00:29.13 bitrate= 292.6kbits/s dup=6 drop=5 speed=1.03x
[8/4/2020, 1:57:36 PM] [Camera FFmpeg] [Driveway] Stopped video stream.
[8/4/2020, 1:57:36 PM] [Camera FFmpeg] [Driveway] ffmpeg exited with code: null and signal: SIGKILL (Expected)

It is producing the same result (getting screenshots, but not loading video stream).

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

Hmm... Not sure what is going on, will have to see what I can figure out. Unfortunately I'm not too familiar with Docker myself.

@auxtillary
Copy link
Author

Hmm... Not sure what is going on, will have to see what I can figure out. Unfortunately I'm not too familiar with Docker myself.

Okay thank you. Let me know if I can help test anything.

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

Will do, probably makes sense for me to just spin up a Docker instance somewhere to do some testing with myself.

@auxtillary
Copy link
Author

Also, this one particular line was highlighted as a warning. I'm not sure if it affects anything at all:

[8/4/2020, 1:57:07 PM] [Camera FFmpeg] [Driveway] [swscaler @ 0x55cb8b1a9840] [warning] deprecated pixel format used, make sure you did set range correctly

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

I've seen that before, and looked into it a bit. As far as I can tell, it shouldn't impact anything, and if I remember correctly, that's based on the stream coming from the camera, so there isn't much that can be done about it on this side.

@auxtillary
Copy link
Author

Thinking some more, do I need to state for homebridge to install the FFmpeg package separately somewhere else in my Config? I'm using homebridge-config-ui-x to set things up, so I'm wondering if I possibly skipped that as a step.

@Sunoo
Copy link
Collaborator

Sunoo commented Aug 4, 2020

No, it should automatically get pulled in when you install homebridge-camera-ffmpeg.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants