Reolink camera E1 Pro
hi, replaced my E1 with an E1 pro as the non pro camera was not RSTP compatible

set it up, added to home kit but still no luck

any help greatly appreciated...

[1/31/2020, 8:43:46 PM] [Camera ffmpeg] ERROR: FFmpeg exited with code 1
[1/31/2020, 8:45:18 PM] [Config] [admin] Accessory layout changes saved.
[1/31/2020, 8:49:03 PM] [Config] Updated user: admin
[1/31/2020, 8:55:15 PM] [Config] Changes to config.json saved.
[1/31/2020, 8:58:03 PM] [Config] Homebridge restart request received
[1/31/2020, 8:58:04 PM] [Config] No restart command defined, killing process...
[1/31/2020, 8:58:04 PM] [HB Supervisor] Stopping services...
[1/31/2020, 8:58:04 PM] Got SIGTERM, shutting down Homebridge...
[1/31/2020, 8:58:10 PM] [HB Supervisor] Homebridge Storage Path: /Users/**PRIVATENAMEORDETAIL**/.homebridge
[1/31/2020, 8:58:10 PM] [HB Supervisor] Homebridge Config Path: /Users/**PRIVATENAMEORDETAIL**//.homebridge/config.json
[1/31/2020, 8:58:10 PM] [HB Supervisor] Logging to /Users/**PRIVATENAMEORDETAIL**//.homebridge/homebridge.log
[1/31/2020, 8:58:10 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[1/31/2020, 8:58:10 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[1/31/2020, 8:58:10 PM] [HB Supervisor] Started Homebridge with PID: 2152
[1/31/2020, 8:58:10 PM] Loaded config.json with 0 accessories and 3 platforms.
[1/31/2020, 8:58:10 PM] ---
[1/31/2020, 8:58:12 PM] [Config] [HapClient] Discovery :: Started
[1/31/2020, 8:58:12 PM] [Config] Homebridge Config UI X v4.9.0 is listening on :: port 8581
[1/31/2020, 8:58:11 PM] Loaded plugin: homebridge-camera-ffmpeg
[1/31/2020, 8:58:11 PM] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[1/31/2020, 8:58:11 PM] ---
[1/31/2020, 8:58:11 PM] Loaded plugin: homebridge-config-ui-x
[1/31/2020, 8:58:11 PM] Registering platform 'homebridge-config-ui-x.config'
[1/31/2020, 8:58:11 PM] ---
[1/31/2020, 8:58:11 PM] Loaded plugin: homebridge-tuya-web
[1/31/2020, 8:58:11 PM] Registering platform 'homebridge-tuya-web.TuyaWebPlatform'
[1/31/2020, 8:58:11 PM] ---
[1/31/2020, 8:58:11 PM] Loading 3 platforms...
[1/31/2020, 8:58:11 PM] [TuyaWebPlatform] Initializing TuyaWebPlatform platform...
[1/31/2020, 8:58:11 PM] [Config] Initializing config platform...
[1/31/2020, 8:58:11 PM] [Config] Running in Standalone Mode.
[1/31/2020, 8:58:11 PM] [Camera ffmpeg] Initializing Camera-ffmpeg platform...
[1/31/2020, 8:58:11 PM] Loading 0 accessories...
[1/31/2020, 8:58:11 PM] [TuyaWebPlatform] Configuring cached accessory [Jens Desk] bf4cd96cb140b86263o6s6 e1af25f1-6755-4541-95f8-d5fc871463da
[1/31/2020, 8:58:11 PM] [TuyaWebPlatform] Configuring cached accessory [Lamp] bf6235a725da3bd972knma 0e174c25-1f0a-446f-88ce-6837e5c5d121
[1/31/2020, 8:58:11 PM] [TuyaWebPlatform] Configuring cached accessory [Lights] 107200463c71bf3da227 c0c518dc-3780-4db3-95de-238e7952141d
Setup Payload:
X-HM://0023ISYWYDP9O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[1/31/2020, 8:58:11 PM] [TuyaWebPlatform] Initializing TuyaWebPlatform...
[1/31/2020, 8:58:12 PM] Homebridge is running on port 51826.
[1/31/2020, 8:58:12 PM] TestCam1 is running on port 50832.
[1/31/2020, 8:58:12 PM] Please add [TestCam1] manually in Home app. Setup Code: 031-45-154
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Adding: Jens Desk (switch / bf4cd96cb140b86263o6s6)
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Existing Accessory found [Jens Desk] [bf4cd96cb140b86263o6s6] [e1af25f1-6755-4541-95f8-d5fc871463da]
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Adding: Lamp (switch / bf6235a725da3bd972knma)
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Existing Accessory found [Lamp] [bf6235a725da3bd972knma] [0e174c25-1f0a-446f-88ce-6837e5c5d121]
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Adding: Lights (switch / 107200463c71bf3da227)
[1/31/2020, 8:58:12 PM] [TuyaWebPlatform] Existing Accessory found [Lights] [107200463c71bf3da227] [c0c518dc-3780-4db3-95de-238e7952141d]
[1/31/2020, 8:58:12 PM] [Config] [HapClient] Discovery :: Found HAP device with username DF:CD:15:22:7B:7A
[1/31/2020, 8:58:12 PM] [Config] [HapClient] Discovery :: Testing DF:CD:15:22:7B:7A via http://192.168.1.7:50832/accessories
[1/31/2020, 8:58:12 PM] [Config] [HapClient] Discovery :: Success DF:CD:15:22:7B:7A via http://192.168.1.7:50832/accessories
[1/31/2020, 8:58:12 PM] [Config] [HapClient] Discovery :: [192.168.1.7:50832 (DF:CD:15:22:7B:7A)] Instance Registered
[1/31/2020, 8:58:13 PM] [Config] [HapClient] Discovery :: Found HAP device with username CC:22:3D:E3:CE:30
[1/31/2020, 8:58:13 PM] [Config] [HapClient] Discovery :: Testing CC:22:3D:E3:CE:30 via http://192.168.1.7:51826/accessories
[1/31/2020, 8:58:13 PM] [Config] [HapClient] Discovery :: Success CC:22:3D:E3:CE:30 via http://192.168.1.7:51826/accessories
[1/31/2020, 8:58:13 PM] [Config] [HapClient] Discovery :: [192.168.1.7:51826 (CC:22:3D:E3:CE:30)] Instance Registered
[1/31/2020, 8:58:17 PM] [Config] [HapClient] [192.168.1.7:50832 (DF:CD:15:22:7B:7A)] Connected
[1/31/2020, 8:58:17 PM] [Config] [HapClient] [192.168.1.7:51826 (CC:22:3D:E3:CE:30)] Connected
[1/31/2020, 8:58:17 PM] [Config] [HapClient] Discovery :: Re-broadcasting discovery query
[1/31/2020, 8:59:12 PM] [Config] [HapClient] Discovery :: Ended
[1/31/2020, 9:01:16 PM] [Camera ffmpeg] Start streaming video from TestCam1 with 1280x720@299kBit
ffmpeg -re -i rtsp://admin:**PRIVATENAMEORDETAIL**/@192.168.1.18:554//h264Preview_01_main -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 10 -f rawvideo -tune zerolatency -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 11272283 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params C3LBC6vN+k+Ciq6y0uE7AcwZSJ2ZTHrsrJK1jUDz srtp://192.168.1.7:64777?rtcpport=64777&localrtcpport=64777&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 16539144 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params rxV1ipaDGbT9ROs8ZyyyzsnEfeJlJbjIA8xky3eJ srtp://192.168.1.7:54352?rtcpport=54352&localrtcpport=54352&pkt_size=1316 -loglevel debug
[1/31/2020, 9:01:16 PM] [Config] [HapClient] [192.168.1.7:50832 (DF:CD:15:22:7B:7A)] Got Event: [{"aid":1,"iid":17,"value":"AQEB"}]
ffmpeg version 4.2.2
 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.16)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Splitting the commandline.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument 'rtsp://admin:**PRIVATENAMEORDETAIL**/@192.168.1.18:554//h264Preview_01_main'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '10'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-tune' ...
 matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
 matched as AVOption 'bufsize' with argument '299k'.
Reading option '-maxrate' ...
 matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
 matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
 matched as AVOption 'ssrc' with argument '11272283'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
 matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
 matched as AVOption 'srtp_out_params' with argument 'C3LBC6vN+k+Ciq6y0uE7AcwZSJ2ZTHrsrJK1jUDz'.
Reading option 'srtp://192.168.1.7:64777?rtcpport=64777&localrtcpport=64777&pkt_size=1316' ... matched as output url.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:1'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'libfdk_aac'.
Reading option '-profile:a' ... matched as option 'profile' (set profile) with argument 'aac_eld'.
Reading option '-flags' ...
 matched as AVOption 'flags' with argument '+global_header'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'null'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '16k'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '24k'.
Reading option '-bufsize' ...
 matched as AVOption 'bufsize' with argument '24k'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
Reading option '-payload_type' ...
 matched as AVOption 'payload_type' with argument '110'.
Reading option '-ssrc' ...
 matched as AVOption 'ssrc' with argument '16539144'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
 matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
 matched as AVOption 'srtp_out_params' with argument 'rxV1ipaDGbT9ROs8ZyyyzsnEfeJlJbjIA8xky3eJ'.
Reading option 'srtp://192.168.1.7:54352?rtcpport=54352&localrtcpport=54352&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.

Parsing a group of options: input url rtsp://admin:**PRIVATENAMEORDETAIL**/@192.168.1.18:554//h264Preview_01_main.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: rtsp://admin:**PRIVATENAMEORDETAIL**/@192.168.1.18:554//h264Preview_01_main.

[tcp @ 0x7fd7f7507cc0] No default whitelist set

[tcp @ 0x7fd7f7507cc0] Original list of addresses:
[tcp @ 0x7fd7f7507cc0] Address 192.168.1.18 port 554
[tcp @ 0x7fd7f7507cc0] Interleaved list of addresses:
[tcp @ 0x7fd7f7507cc0] Address 192.168.1.18 port 554
[tcp @ 0x7fd7f7507cc0] Starting connection attempt to 192.168.1.18 port 554

[tcp @ 0x7fd7f7507cc0] Successfully connected to 192.168.1.18 port 554

[rtsp @ 0x7fd7f8000400] SDP:
v=0
o=- 1580493236356690 1 IN IP4 192.168.1.18
s=Session streamed by "preview"
i=h264Preview_01_main
t=0 0
a=tool:LIVE555 Streaming Media v2013.04.08
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "preview"
a=x-qt-text-inf:h264Preview_01_main
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=range:npt=0-
a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6zoAoALWQ==,aO48sA==
a=control:trackID=1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:256
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408; profile=1;
a=control:trackID=2

Failed to parse interval end specification ''

[rtsp @ 0x7fd7f8000400] video codec set to: h264
Failed to parse interval end specification ''
[rtsp @ 0x7fd7f8000400] RTP Packetization Mode: 1
[rtsp @ 0x7fd7f8000400] RTP Profile IDC: 64 Profile IOP: 0 Level: 33
[rtsp @ 0x7fd7f8000400] Extradata set to 0x7fd7f76012e0 (size: 22)
[rtsp @ 0x7fd7f8000400] audio codec set to: aac
[rtsp @ 0x7fd7f8000400] audio samplerate set to: 16000
[rtsp @ 0x7fd7f8000400] audio channels set to: 1
[rtp @ 0x7fd7f7601940] No default whitelist set
[udp @ 0x7fd7f7600dc0] No default whitelist set
[udp @ 0x7fd7f7600dc0] end receive buffer size reported is 65536
[udp @ 0x7fd7f7600e80] No default whitelist set
[udp @ 0x7fd7f7600e80] end receive buffer size reported is 65536

[rtsp @ 0x7fd7f8000400] 
setting jitter buffer size to 500
[rtp @ 0x7fd7f7601a00] No default whitelist set

[udp @ 0x7fd7f7507f80] No default whitelist set
[udp @ 0x7fd7f7507f80] end receive buffer size reported is 65536
[udp @ 0x7fd7f7601ac0] No default whitelist set
[udp @ 0x7fd7f7601ac0] end receive buffer size reported is 65536

[rtsp @ 0x7fd7f8000400] 
setting jitter buffer size to 500
[rtsp @ 0x7fd7f8000400] hello state=0

Failed to parse interval end specification ''

[h264 @ 0x7fd7f8002e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fd7f8002e00] nal_unit_type: 8(PPS), nal_ref_idc: 3

[h264 @ 0x7fd7f8002e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fd7f8002e00] nal_unit_type: 8(PPS), nal_ref_idc: 3

[h264 @ 0x7fd7f8002e00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7fd7f8002e00] nal_unit_type: 8(PPS), nal_ref_idc: 3

[h264 @ 0x7fd7f8002e00] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7fd7f8002e00] Format yuv420p chosen by get_format().
[h264 @ 0x7fd7f8002e00] Reinit context to 2560x1440, pix_fmt: yuv420p

[h264 @ 0x7fd7f8002e00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1

    Last message repeated 5 times
[rtsp @ 0x7fd7f8000400] All info found
[rtsp @ 0x7fd7f8000400] rfps: 23.666667 0.019512
[rtsp @ 0x7fd7f8000400] rfps: 23.750000 0.011077

    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 23.833333 0.005023
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 23.916667 0.001349
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 24.000000 0.000056
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 24.083333 0.001144
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 24.166667 0.004612
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 24.250000 0.010461
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 24.333333 0.018690
[rtsp @ 0x7fd7f8000400] rfps: 48.000000 0.000224
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 120.000000 0.001401
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 240.000000 0.005604
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 23.976024 0.000184
    Last message repeated 1 times
[rtsp @ 0x7fd7f8000400] rfps: 47.952048 0.000737

    Last message repeated 1 times
Input #0, rtsp, from 'rtsp://admin:**PRIVATENAMEORDETAIL**/@192.168.1.18:554//h264Preview_01_main':
  Metadata:
    title           : Session streamed by "preview"

    comment         : h264Preview_01_main
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 28, 1/90000: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 2560x1440, 0/1, 
24 tbr, 90k tbn, 180k tbc

    Stream #0:1, 32, 1/16000: Audio: aac (LC), 16000 Hz, mono, fltp
Successfully opened the file.
Parsing a group of options: output url srtp://192.168.1.7:64777?rtcpport=64777&localrtcpport=64777&pkt_size=1316.
Applying option map (set input stream mapping) with argument 0:0.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 10.
Applying option f (force format) with argument rawvideo.
Applying option b:v (video bitrate (please use -b:v)) with argument 299k.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.

Opening an output file: srtp://192.168.1.7:64777?rtcpport=64777&localrtcpport=64777&pkt_size=1316.

[srtp @ 0x7fd7f7406480] No default whitelist set

[rtp @ 0x7fd7f740c980] No default whitelist set

[udp @ 0x7fd7f771b540] No default whitelist set

[udp @ 0x7fd7f771a900] No default whitelist set

[udp @ 0x7fd7f771a900] bind failed: Address already in use

srtp://192.168.1.7:64777?rtcpport=64777&localrtcpport=64777&pkt_size=1316: Input/output error

[1/31/2020, 9:01:20 PM] [Camera ffmpeg] ERROR: FFmpeg exited with code 1
[1/31/2020, 9:01:20 PM] [Config] [HapClient] [192.168.1.7:50832 (DF:CD:15:22:7B:7A)] Got Event: [{"aid":1,"iid":17,"value":"AQEA"}]
