|
发表于 2019-11-9 20:03:24
|
显示全部楼层
FFmpeg exited with code -2
[11/9/2019, 12:06:52 PM] [Camera-ffmpeg] Start streaming video from camera with 1280x720@299kBit
[11/9/2019, 12:06:52 PM] [Camera-ffmpeg] An error occurs while making stream request
[11/9/2019, 12:06:52 PM] [Camera-ffmpeg] ERROR: FFmpeg exited with code -2
可否帮助看看这个错误是什么原因呢?搜了半天也找不到,国外也有人遇到,但是提问也都没看到有人能回答解决。。。
插件也都安装成功的,实在是不明白了,ha里面都能正常显示,也能接入群晖摄像头,vlc也能正常看
接入了tplink和fosca的摄像头,都是同样的毛病
以下是tp的
{
"bridge": {
"name": "Homebridge",
"username": "0E5:BC:AB:58:C6",
"port": 51452,
"pin": "031-55-154"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [],
"platforms": [
{
"name": "Camera-ffmpeg",
"cameras": [
{
"name": "camera",
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://admin:[email protected]/stream1",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 15,
"maxBitrate": 300,
"vcodec": "h264",
"packetSize": 188,
"audio": false,
"debug": false
}
}
],
"platform": "Camera-ffmpeg"
}
]
} |
|