ffmpeg plugin for Homebridge
npm install -g npm i homebridge-video-doorbell-button --unsafe-perm
config.json
and add the camera and add Mi/Aqara Button.{
"platform": "Video-DoorbellV2",
"camera": {
"name": "Домофон",
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://192.168.1.16/unicast",
"stillImageSource": "-i rtsp://192.168.1.16/unicast -vframes 1 -r 1",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxBitrate": 1600,
"maxFPS": 20,
"audio": true,
"vcodec": "h264_omx"
}
},
"event": {
"buttonSid": "158d00029088e3",
"gpio": 7,
"motion": false,
"switch": {
"name": "Ding Dong"
},
"http": true
},
"lock": {
"name": "Lock mechanism",
"gpio": 5,
"http": {
"unlock": "http://192.168.1.6:4343/unlock"
}
}
}
sid for Mi or Aqara switch.
GPIO number, to trigger plug to ground (GND).
virtual motion accessory and switch for trigger motion.
virtual switch accessory for trigger doorbell.
- You cannot add "motion" and "switch" at the same time
HTTP server for event bridge "get or post request" ip:6412/dingdong (example: http://192.168.1.2:6412/dingdong).
GPIO number for lock.
HTTP url for lock (example: http://192.168.1.6:4343/unlock).
Incidentally, check iSpyConnect's camera database to find likely protocols and URLs to try with your camera.
Extends Widget A widget that plays a video from an URL. Import this type with “const {Video} = require('tabris');” Android iOS Methods pause() Pauses the video. state changes to pause and speed to 0.
描述 视频播放组件。 安装 $ npm install rax-video --save 属性 属性 类型 默认值 必填 描述 支持 id string - ✘ id 选择器 src string - ✔️ 视频地址 autoPlay boolean false ✘ 设置视频自动播放 muted boolean false ✘ 是否播放音频 loop boolean false ✘ 是否循环播放
WARNING Weex中内置的<video>组件一般只做demo用途,在你的App中,你应该用你喜欢的视频库重新实现video组件。 Video 组件用于在页面中嵌入视频内容。 text 是唯一合法的子组件。 src, string. 内嵌的视频指向的URL。 play-status, string. 可选值为 play | pause,用来控制视频的播放状态,play 或者 pause,默认值
以下是视频的子类型: BMPEG MP4V-ES vnd.mpegurl BT656 MPV vnd.nokia.interleaved-multimedia CelB mpeg vnd.objectvideo DV mpeg4-generic vnd.sealed.mpeg1 H261 nv vnd.sealed.mpeg4 H263 parityfec vnd.sealed.swf H263-
视频组件 属性 类型 默认值 必填 说明 src string 是 要播放视频的资源地址 autoplay boolean false 否 是否自动播放,只在初始化时有效,不能动态变更 muted boolean false 否 是否静音播放 controls boolean true 否 是否显示默认播放控件(播放/暂停按钮、播放进度、时间),仅安卓支持 loop boolean false 否
Video++ 是一个视频和图像处理库,利用了 C++14 标准的特性简化应用。该库在 G++ 4.9.1, Clang++ 3.5.0 中测试通过,依赖于: the iod library Eigen 3