GithubHelp home page GithubHelp logo

Comments (6)

al-one avatar al-one commented on July 17, 2024

这个报错我也遇到过,不过是偶发的,具体原因不明。

from hass-xiaomi-miot.

qiuyuxuan1999 avatar qiuyuxuan1999 commented on July 17, 2024

这个报错我也遇到过,不过是偶发的,具体原因不明。

感谢回复。但我的摄像头没图像是稳定存在的,不知道有无方法解决。

from hass-xiaomi-miot.

al-one avatar al-one commented on July 17, 2024

你的摄像头chuangmi.camera.ipc019属性video_attribute格式为:

{
	"property": "video-attribute",
	"desc": "Video Attribute",
	"access": "",
	"format": "uint8",
	"value-list": [{
		"value": 0,
		"description": "Auto"
	}, {
		"value": 1,
		"description": "1920_1080_20"
	}, {
		"value": 2,
		"description": "640_360_20"
	}]
}

你可以尝试更改自定义属性video_attribute: 2以降低视频清晰度,如下:

# customize.yaml (Configuration > Customize > Select Entity > Add Other Attribute)
camera.your_entity_id:
  video_attribute: 2

from hass-xiaomi-miot.

qiuyuxuan1999 avatar qiuyuxuan1999 commented on July 17, 2024

你的摄像头chuangmi.camera.ipc019属性video_attribute格式为:

{
	 “ property ”:“ video-attribute ”,
	 “ desc ”:“ Video Attribute ”,
	 “ access ”:“ ”,
	 “ format ”:“ uint8 ”,
	 “ value-list ”:[{
		 “ value ”:0,
		 “描述“:”自动“
	},{
		“值”: 1,
		 “描述”: “ 1920_1080_20 ”
	},{
		“值”: 2,
		 “描述”: “ 640_360_20 ”
	}]
}

您可以尝试更改自定义属性video_attribute: 2以降低视频清晰度,如下:

# customize.yaml(“配置”>“自定义”>“选择实体”>“添加其他属性”)
camera.your_entity_id:
   video_attribute: 2

大佬,试过了,还是不行,仍然报错,没有图像。
image

image

image

from hass-xiaomi-miot.

al-one avatar al-one commented on July 17, 2024

开启插件debug日志,在日志中找到小米服务器的m3u8流地址,然后在PC用播放器如VLC播放试试。注意每个流地址只有5分钟有效时间。

from hass-xiaomi-miot.

qiuyuxuan1999 avatar qiuyuxuan1999 commented on July 17, 2024

开启插件debug日志,在日志中找到小米服务器的m3u8流地址,然后在PC用播放器如VLC播放试试。注意每个流地址只有5分钟有效时间。

刚试过了大佬,debug找到m3u8地址,播放不了。

from hass-xiaomi-miot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.