Reply
Established Member
Posts: 1,696
Registered: ‎09-01-2016
Kudos: 601
Solutions: 55

Re: Native Apple HomeKit integration

I modified the ffmpeg.js mapping and the "Live" stream is up and running, No audio yet but looking into. 

Member
Posts: 139
Registered: ‎04-18-2018
Kudos: 28
Solutions: 1

Re: Native Apple HomeKit integration

Fantastic!!!  Man Happy. I'm writing a detailed article now.  Maybe even create a fork of the plugin to make it easier.

 

My current setup I installed FFmpeg using apt-get.  This doesn't appear to be compiled with the libfdk_aac encoder.  I'll compile my own version of FFmpeg with this option to see if it fixes the audio.  Perhaps this should just be done as a Docker container instead.

If this was useful, please like this post. Please also mark this post solved if it solved your problem.

My UniFi equipment: Cloud Key, Cloud Key 2+, Gateway (USG), PoE Switch (US-8-150W), Access Point (UAP-AC-Pro), UniFi G3 Flex
Established Member
Posts: 1,696
Registered: ‎09-01-2016
Kudos: 601
Solutions: 55

Re: Native Apple HomeKit integration

[ Edited ]

I spoke too soon. I left the live streaming running and after few minutes it crashed with this error. 

 

Edit: I changed "vcodec":"h264_omx" to "vcodec":"h264" and its working again. 

 

Input #0, rtsp, from 'rtsp://192.168.1.250:7447/kOszNMQ97TJelP7G':
  Metadata:
    title           : 802AA84EB1EA_0
  Duration: N/A, start: 0.043991
, bitrate: N/A
    Stream #0:0: Audio: aac (LC), 11025 Hz, mono, fltp
    Stream #0:1: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 189:190 DAR 168:95], 15 fps, 15 tbr, 90k tbn, 30 tbc

Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (srtp://192.168.1.233:56264?rtcpport=56264&localrtcpport=56264&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

[swscaler @ 0x681f90] deprecated pixel format used, make sure you did set range correctly

[h264_omx @ 0x65a2b0] Using OMX.broadcom.video_encode

[h264_omx @ 0x65a2b0] OMX error 80001000

[h264_omx @ 0x65a2b0] err 80001018 (-2147479528) on line 547

Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> h264 (h264_omx))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

[2018-11-24 09:38:34] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1

 

New Member
Posts: 3
Registered: ‎07-29-2018

Re: Native Apple HomeKit integration

Thanks, got this up and running!

New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration

I cannot get this to work, and I have tried both the homebridge-camera-ffmpeg and the homebridge-camera-ffmpeg-omx plugins. I have enabled the low quality RTSP channel (confirmed in VLC) and still images work fine, but the live stream fails.

 

I'm running Ubuntu 14.04 and I installed ffmpeg with apt-get. Do I need to build ffmpeg from source?

Member
Posts: 139
Registered: ‎04-18-2018
Kudos: 28
Solutions: 1

Re: Native Apple HomeKit integration

Check out my guide at https://community.ubnt.com/t5/UniFi-Protect/UniFi-Protect-with-HomeKit-Setup-Guide/m-p/2576090#M1977

 

You likely need to modify the plugin.

If this was useful, please like this post. Please also mark this post solved if it solved your problem.

My UniFi equipment: Cloud Key, Cloud Key 2+, Gateway (USG), PoE Switch (US-8-150W), Access Point (UAP-AC-Pro), UniFi G3 Flex
Established Member
Posts: 1,696
Registered: ‎09-01-2016
Kudos: 601
Solutions: 55

Re: Native Apple HomeKit integration

[ Edited ]

@runar wrote:

I cannot get this to work, and I have tried both the homebridge-camera-ffmpeg and the homebridge-camera-ffmpeg-omx plugins. I have enabled the low quality RTSP channel (confirmed in VLC) and still images work fine, but the live stream fails.

 

I'm running Ubuntu 14.04 and I installed ffmpeg with apt-get. Do I need to build ffmpeg from source?


Check the Step # 12 from the @BrianErdelyi setup guide.

 

Step 12 - Modify Homebridge-camera-ffmpeg plugin to work with UniFi Protect

 

sudo /usr/lib/node_modules/homebridge-camera-ffmpeg/ffmpeg.js
  • Change “let ffmpegCommand = this.ffmpegSource + ' -map 0:0' +” to “let ffmpegCommand = this.ffmpegSource + ' -map 0:1' +”
  • Change “ffmpegCommand+= ' -map 0:1' +” to “ffmpegCommand+= ' -map 0:0' +”

The homebridge-camera-ffmpeg should works without issues. 
 

New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration

I forgot to add that I have followed all steps, step 12 included.

I can paste the relevant lines from the debug log if necessary.

Member
Posts: 139
Registered: ‎04-18-2018
Kudos: 28
Solutions: 1

Re: Native Apple HomeKit integration

Please share your config file, the output on the console and what happens when you run the same command from the console at a command prompt.

If this was useful, please like this post. Please also mark this post solved if it solved your problem.

My UniFi equipment: Cloud Key, Cloud Key 2+, Gateway (USG), PoE Switch (US-8-150W), Access Point (UAP-AC-Pro), UniFi G3 Flex
New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration


@BrianErdelyi wrote:

Please share your config file, the output on the console and what happens when you run the same command from the console at a command prompt.


I apologize in advance for the long quotes. Please let me know if there is a better way to share long logs and config files.

 

The relevant part of my config file:

{
   {
      "platform": "Camera-ffmpeg",
      "cameras": [
      {
         "name": "Inngang",
         "videoConfig":
         {
            "source": "-rtsp_transport http -re -i rtsp://10.0.0.100:7447/9CX******7bY",
            "vcodec":"h264",
            "audio": false,
            "maxStreams": 2,
            "maxWidth": 640,
            "maxHeight": 360,
            "maxFPS": 15,
            "debug": true
         }
      }
      ]
   }
   ]
}  

 

The output from the console when Homebridge is running and I view the live feed in the Home app:

 

[2018-11-30 22:38:38] [Camera-ffmpeg] Start streaming video from Inngang with 640x360@132kBit
ffmpeg -rtsp_transport http -re -i rtsp://10.0.0.100:7447/9CX******7bY -map 0:1 -vcodec h264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=640:360 -b:v 132k -bufsize 132k -payload_type 99 -ssrc 767491 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params xFWtZHUZliFnfhlTFZClCPO8GCAVwgH9hWZDRVZh srtp://10.0.10.114:53859?rtcpport=53859&localrtcpport=53859&pkt_size=1316
ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv

  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100

Input #0, rtsp, from 'rtsp://10.0.0.100:7447/9CX******7bY':
  Metadata:
    title           : FCECDAD898C9_2
  Duration: N/A, start: 0.097959, bitrate: N/A

    Stream #0:0: Audio: aac (LC), 11025 Hz, mono, fltp
    Stream #0:1: Video: h264 (Main), yuvj420p(pc, bt709), 640x360 [SAR 189:190 DAR 168:95], 15 fps, 15 tbr, 90k tbn, 30 tbc

[swscaler @ 0x18dc580] deprecated pixel format used, make sure you did set range correctly

[libx264 @ 0x19777a0] VBV maxrate unspecified, assuming CBR
[libx264 @ 0x19777a0]
using SAR=189/190

[libx264 @ 0x19777a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64

[libx264 @ 0x19777a0] profile High, level 2.2

Output #0, rtp, to 'srtp://10.0.10.114:53859?rtcpport=53859&localrtcpport=53859&pkt_size=1316':
  Metadata:
    title           : FCECDAD898C9_2
    encoder         : Lavf56.40.101

    Stream #0:0: Video: h264 (libx264), yuv420p, 640x360 [SAR 189:190 DAR 168:95], q=-1--1, 132 kb/s, 15 fps, 90k tbn, 15 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help

frame=    8 fps=0.0 q=28.0 size=       9kB time=00:00:00.53 bitrate= 135.0kbits/s dup=1 drop=0
frame=   15 fps= 15 q=26.0 size=      14kB time=00:00:01.00 bitrate= 114.7kbits/s dup=1 drop=0
frame=   23 fps= 15 q=25.0 size=      20kB time=00:00:01.53 bitrate= 109.4kbits/s dup=1 drop=0
frame=   30 fps= 15 q=23.0 size=      27kB time=00:00:02.00 bitrate= 111.7kbits/s dup=1 drop=0
frame=   38 fps= 15 q=22.0 size=      33kB time=00:00:02.53 bitrate= 107.6kbits/s dup=1 drop=0
frame=   45 fps= 15 q=21.0 size=      39kB time=00:00:03.00 bitrate= 107.8kbits/s dup=1 drop=0
frame=   53 fps= 15 q=21.0 size=      47kB time=00:00:03.53 bitrate= 108.1kbits/s dup=1 drop=0
frame=   60 fps= 15 q=21.0 size=      53kB time=00:00:04.00 bitrate= 108.5kbits/s dup=1 drop=0
frame=   68 fps= 15 q=23.0 size=      59kB time=00:00:04.53 bitrate= 106.8kbits/s dup=1 drop=0
frame=   75 fps= 15 q=22.0 size=      65kB time=00:00:05.00 bitrate= 106.3kbits/s dup=1 drop=0
frame=   83 fps= 15 q=21.0 size=      81kB time=00:00:05.53 bitrate= 120.0kbits/s dup=1 drop=0
frame=   91 fps= 15 q=22.0 size=      86kB time=00:00:06.06 bitrate= 116.5kbits/s dup=1 drop=0
frame=   98 fps= 15 q=22.0 size=      92kB time=00:00:06.53 bitrate= 114.7kbits/s dup=1 drop=0
frame=  106 fps= 15 q=21.0 size=      98kB time=00:00:07.06 bitrate= 113.9kbits/s dup=1 drop=0
frame=  113 fps= 15 q=22.0 size=     105kB time=00:00:07.53 bitrate= 113.9kbits/s dup=1 drop=0
frame=  121 fps= 15 q=21.0 size=     112kB time=00:00:08.06 bitrate= 113.8kbits/s dup=1 drop=0
frame=  128 fps= 15 q=22.0 size=     118kB time=00:00:08.53 bitrate= 113.6kbits/s dup=1 drop=0
frame=  136 fps= 15 q=22.0 size=     126kB time=00:00:09.06 bitrate= 113.6kbits/s dup=1 drop=0
frame=  144 fps= 15 q=22.0 size=     133kB time=00:00:09.60 bitrate= 113.8kbits/s dup=1 drop=0
frame=  151 fps= 15 q=23.0 size=     141kB time=00:00:10.06 bitrate= 114.5kbits/s dup=1 drop=0
frame=  159 fps= 15 q=21.0 size=     157kB time=00:00:10.60 bitrate= 121.2kbits/s dup=1 drop=0
frame=  166 fps= 15 q=21.0 size=     163kB time=00:00:11.06 bitrate= 120.8kbits/s dup=1 drop=0
frame=  174 fps= 15 q=21.0 size=     170kB time=00:00:11.60 bitrate= 120.1kbits/s dup=1 drop=0
frame=  182 fps= 15 q=21.0 size=     177kB time=00:00:12.13 bitrate= 119.5kbits/s dup=1 drop=0
frame=  189 fps= 15 q=21.0 size=     183kB time=00:00:12.60 bitrate= 119.1kbits/s dup=1 drop=0
frame=  197 fps= 15 q=21.0 size=     191kB time=00:00:13.13 bitrate= 119.1kbits/s dup=1 drop=0
frame=  204 fps= 15 q=20.0 size=     198kB time=00:00:13.60 bitrate= 119.2kbits/s dup=1 drop=0
frame=  212 fps= 15 q=21.0 size=     205kB time=00:00:14.13 bitrate= 119.1kbits/s dup=1 drop=0
frame=  220 fps= 15 q=21.0 size=     213kB time=00:00:14.66 bitrate= 119.0kbits/s dup=1 drop=0
frame=  227 fps= 15 q=24.0 size=     221kB time=00:00:15.13 bitrate= 119.4kbits/s dup=1 drop=0
frame=  235 fps= 15 q=21.0 size=     236kB time=00:00:15.66 bitrate= 123.6kbits/s dup=1 drop=0
frame=  242 fps= 15 q=21.0 size=     242kB time=00:00:16.13 bitrate= 122.8kbits/s dup=1 drop=0
frame=  250 fps= 15 q=21.0 size=     249kB time=00:00:16.66 bitrate= 122.2kbits/s dup=1 drop=0
frame=  258 fps= 15 q=25.0 size=     263kB time=00:00:17.20 bitrate= 125.5kbits/s dup=1 drop=0
frame=  265 fps= 15 q=23.0 size=     270kB time=00:00:17.66 bitrate= 125.0kbits/s dup=1 drop=0
frame=  273 fps= 15 q=23.0 size=     276kB time=00:00:18.20 bitrate= 124.2kbits/s dup=1 drop=0
frame=  280 fps= 15 q=23.0 size=     280kB time=00:00:18.66 bitrate= 123.0kbits/s dup=1 drop=0
frame=  288 fps= 15 q=20.0 size=     286kB time=00:00:19.20 bitrate= 122.2kbits/s dup=1 drop=0
frame=  295 fps= 15 q=21.0 size=     292kB time=00:00:19.66 bitrate= 121.8kbits/s dup=1 drop=0
frame=  303 fps= 15 q=17.0 size=     302kB time=00:00:20.20 bitrate= 122.5kbits/s dup=1 drop=0
frame=  311 fps= 15 q=21.0 size=     315kB time=00:00:20.73 bitrate= 124.5kbits/s dup=1 drop=0
frame=  318 fps= 15 q=21.0 size=     320kB time=00:00:21.20 bitrate= 123.6kbits/s dup=1 drop=0
frame=  326 fps= 15 q=21.0 size=     326kB time=00:00:21.73 bitrate= 122.9kbits/s dup=1 drop=0
frame=  333 fps= 15 q=19.0 size=     332kB time=00:00:22.20 bitrate= 122.6kbits/s dup=1 drop=0
frame=  341 fps= 15 q=21.0 size=     339kB time=00:00:22.73 bitrate= 122.3kbits/s dup=1 drop=0
frame=  348 fps= 15 q=21.0 size=     346kB time=00:00:23.20 bitrate= 122.0kbits/s dup=1 drop=0
frame=  356 fps= 15 q=22.0 size=     353kB time=00:00:23.73 bitrate= 121.7kbits/s dup=1 drop=0
frame=  364 fps= 15 q=22.0 size=     360kB time=00:00:24.26 bitrate= 121.5kbits/s dup=1 drop=0
frame=  371 fps= 15 q=22.0 size=     366kB time=00:00:24.73 bitrate= 121.4kbits/s dup=1 drop=0
frame=  379 fps= 15 q=21.0 size=     379kB time=00:00:25.26 bitrate= 122.9kbits/s dup=1 drop=0
frame=  386 fps= 15 q=21.0 size=     390kB time=00:00:25.73 bitrate= 124.2kbits/s dup=1 drop=0
frame=  394 fps= 15 q=21.0 size=     397kB time=00:00:26.26 bitrate= 123.8kbits/s dup=1 drop=0
frame=  402 fps= 15 q=21.0 size=     403kB time=00:00:26.80 bitrate= 123.2kbits/s dup=1 drop=0
frame=  409 fps= 15 q=21.0 size=     409kB time=00:00:27.26 bitrate= 123.0kbits/s dup=1 drop=0
frame=  417 fps= 15 q=21.0 size=     417kB time=00:00:27.80 bitrate= 122.7kbits/s dup=1 drop=0
frame=  418 fps= 15 q=21.0 Lsize=     417kB time=00:00:27.86 bitrate= 122.7kbits/s dup=1 drop=0
video:412kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.223720%

[libx264 @ 0x19777a0] frame I:2     Avg QP:28.24  size:  4524
[libx264 @ 0x19777a0] frame P:416   Avg QP:17.15  size:   993
[libx264 @ 0x19777a0] mb I  I16..4: 19.7% 75.4%  4.9%

[libx264 @ 0x19777a0] mb P  I16..4:  0.2%  0.3%  0.0%  P16..4: 16.3%  5.2%  2.9%  0.0%  0.0%    skip:75.0%
[libx264 @ 0x19777a0] 8x8 transform intra:66.8% inter:66.3%
[libx264 @ 0x19777a0] coded y,uvDC,uvAC intra: 59.6% 11.1% 0.1% inter: 7.7% 1.0% 0.0%
[libx264 @ 0x19777a0] i16 v,h,dc,p: 15% 13% 63%  9%
[libx264 @ 0x19777a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 10% 48%  5%  5%  4%  4%  3%  5%
[libx264 @ 0x19777a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 15% 44%  6%  5%  3%  4%  3%  4%
[libx264 @ 0x19777a0] i8c dc,h,v,p: 87%  7%  6%  0%
[libx264 @ 0x19777a0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x19777a0] ref P L0: 80.5%  4.5% 11.2%  3.8%
[libx264 @ 0x19777a0] kb/s:121.22

Exiting normally, received signal 15.

[2018-11-30 22:39:08] [Camera-ffmpeg] Stopped streaming

 

And finally, what happens when I run the ffmpeg command directly:

 

runar@ubuntu:~$ ffmpeg -rtsp_transport http -re -i rtsp://10.0.0.100:7447/9CX******7bY -map 0:1 -vcodec h264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=640:360 -b:v 132k -bufsize 132k -payload_type 99 -ssrc 767491 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params xFWtZHUZliFnfhlTFZClCPO8GCAVwgH9hWZDRVZh srtp://10.0.10.114:53859?rtcpport=53859&localrtcpport=53859&pkt_size=1316
[2] 17098
[3] 17099
runar@ubuntu:~$ ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100  

 

Established Member
Posts: 1,696
Registered: ‎09-01-2016
Kudos: 601
Solutions: 55

Re: Native Apple HomeKit integration

Seems to me that the ffmpeg.js file its not correctly modified. But I could be wrong.

 

 

Member
Posts: 139
Registered: ‎04-18-2018
Kudos: 28
Solutions: 1

Re: Native Apple HomeKit integration

You’re on a different platform (Ubuntu) so I cant say why.  You’re also using a different codec in your config.

 

 

If this was useful, please like this post. Please also mark this post solved if it solved your problem.

My UniFi equipment: Cloud Key, Cloud Key 2+, Gateway (USG), PoE Switch (US-8-150W), Access Point (UAP-AC-Pro), UniFi G3 Flex
Member
Posts: 139
Registered: ‎04-18-2018
Kudos: 28
Solutions: 1

Re: Native Apple HomeKit integration

It looks like two commands are being run.  Notice how you see the command prompt again after entering the command?

 

you may have incorrectly edited the plugin.

If this was useful, please like this post. Please also mark this post solved if it solved your problem.

My UniFi equipment: Cloud Key, Cloud Key 2+, Gateway (USG), PoE Switch (US-8-150W), Access Point (UAP-AC-Pro), UniFi G3 Flex
New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration


@fpb wrote:

Seems to me that the ffmpeg.js file its not correctly modified. But I could be wrong.

 

 


If by modified you mean "change the digits in the map argument" then I am quite sure I have modified the file correctly. What indicates that something is wrong in the ffmpeg.js file?

New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration


@BrianErdelyi wrote:

You’re on a different platform (Ubuntu) so I cant say why.  You’re also using a different codec in your config.


Do you have any suggestions for other codecs I could try?

 


@BrianErdelyi wrote:

It looks like two commands are being run.  Notice how you see the command prompt again after entering the command?

 

you may have incorrectly edited the plugin.


I understand what you mean, but the second prompt line ("runar@ubuntu:~$ ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers") is the first line you get when you run ffmpeg. It's not two commands being run, it's the first command sending a line break to the prompt or something like that.

 

As I said above, the only modifications I have done to the plugin is changing the digits in step 12.

New Member
Posts: 18
Registered: ‎03-23-2015
Kudos: 1

Re: Native Apple HomeKit integration

I have solved the issue. This is a bit embarrassing as I should have checked this first, but I had a firewall rule blocking new traffic to other networks from the network Homebridge was running on. Apparently this blocked live streaming but not still images and other communications. I will investigate this further!
New Member
Posts: 1
Registered: ‎02-16-2016

Re: Native Apple HomeKit integration

Yes, Native Apple HomeKit Please!

New Member
Posts: 19
Registered: ‎11-12-2018
Kudos: 3

Re: Native Apple HomeKit integration

Count me in, would love to add some cameras to my setup. 

But the missing HomeKit support is currently holding me back.

 

please make it happen

cheers

New Member
Posts: 6
Registered: ‎01-25-2016
Kudos: 1

Re: Native Apple HomeKit integration

+1, it'd be so nice to just have this work natively instead of having to muck with Homebridge.

New Member
Posts: 2
Registered: a week ago

Re: Native Apple HomeKit integration

+1 Count me in

Reply