kopiro/homebridge-tapo-camera

Unable to see stream from HOME. Home bridge log says started streaming

Closed this issue · 4 comments

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System: Docker
![image](https://user-images.githubusercontent.com/19222016/236734138-6c0c865a-7868-41e1-b62d-b138633380df.jpeg)
n1xkp commented

I have a similar problem. I can get a camera preview in the home app but I can't livestream

[5/21/2023, 8:48:08 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:10 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:10 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:32 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:32 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:37 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:37 PM] [tapo-camera] [Feeder CAM] Stopped video stream.

I have a similar problem. I can get a camera preview in the home app but I can't livestream

[5/21/2023, 8:48:08 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:10 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:10 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:32 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:32 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:34 PM] [tapo-camera] [Feeder CAM] Stopped video stream.
[5/21/2023, 8:48:37 PM] [tapo-camera] [Feeder CAM] FFmpeg exited with code: 1 and signal: null (Error)
[5/21/2023, 8:48:37 PM] [tapo-camera] [Feeder CAM] Stopped video stream.

Exact same problem!

Solved running

brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac

had the same issue. i was able to solve it by setting the following parameter in config:

"videoConfig": {
"vcodec": "libx264"
}

my full camera config:
"cameras": [
{
"name": "cam",
"ipAddress": "192.168.0.X",
"password": "password",
"streamUser": "user",
"streamPassword": "password",
"disablePrivacyAccessory": true,
"disableAlarmAccessory": true,
"disableMotionAccessory": true,
"lowQuality": true,
"videoConfig": {
"vcodec": "libx264"
}
}