home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.88k stars 30.95k forks source link

FosCam live video stopped working after 2024.11 upgrade #130162

Open Migaddo opened 1 week ago

Migaddo commented 1 week ago

The problem

After upgrading to 2024.11, the live stream from the Foscam integration stopped working. It does show the camera image, however there is no moving image.

4 Foscam camera's exactly the same behaviour

Logger: homeassistant.components.go2rtc.server Bron: components/go2rtc/server.py:148 integratie: go2rtc (documentatie, problemen) Eerst voorgekomen: 19:38:23 (272 gebeurtenissen) Laatst gelogd: 19:51:51

19:51:41.384 WRN [rtsp] error="streams: parse \"rtsp://HAS-Server:G5FkH?79@bf%@192.168.2.211:554/videoSub\": invalid port \":G5FkH\" after host, exec/rtsp\n[in#0 @ 0x7f8cba612c00] Error opening input: Invalid data found when processing input\nError opening input file rtsp://127.0.0.1:18554/camera.ad_cam_01?audio.\nError opening input files: Invalid data found when processing input\n" stream=camera.ad_cam_01 19:51:45.500 WRN [rtsp] error="streams: parse \"rtsp://HAS-Server:G5FkH?79@bf%@192.168.2.213:554/videoSub\": invalid port \":G5FkH\" after host, exec/rtsp\n[in#0 @ 0x7fb8cb012c00] Error opening input: Invalid data found when processing input\nError opening input file rtsp://127.0.0.1:18554/camera.sh_cam_01?audio.\nError opening input files: Invalid data found when processing input\n" stream=camera.sh_cam_01 19:51:46.650 WRN [rtsp] error="streams: parse \"rtsp://HAS-Server:G5FkH?79@bf%@192.168.2.211:554/videoSub\": invalid port \":G5FkH\" after host, exec/rtsp\n[in#0 @ 0x7fac6be12c00] Error opening input: Invalid data found when processing input\nError opening input file rtsp://127.0.0.1:18554/camera.ad_cam_01?audio.\nError opening input files: Invalid data found when processing input\n" stream=camera.ad_cam_01 19:51:50.787 WRN [rtsp] error="streams: parse \"rtsp://HAS-Server:G5FkH?79@bf%@192.168.2.213:554/videoSub\": invalid port \":G5FkH\" after host, exec/rtsp\n[in#0 @ 0x7ff6ad412c00] Error opening input: Invalid data found when processing input\nError opening input file rtsp://127.0.0.1:18554/camera.sh_cam_01?audio.\nError opening input files: Invalid data found when processing input\n" stream=camera.sh_cam_01 19:51:51.929 WRN [rtsp] error="streams: parse \"rtsp://HAS-Server:G5FkH?79@bf%@192.168.2.211:554/videoSub\": invalid port \":G5FkH\" after host, exec/rtsp\n[in#0 @ 0x7efcfe212c00] Error opening input: Invalid data found when processing input\nError opening input file rtsp://127.0.0.1:18554/camera.ad_cam_01?audio.\nError opening input files: Invalid data found when processing input\n" stream=camera.ad_cam_01

What version of Home Assistant Core has the issue?

2024.11

What was the last working version of Home Assistant Core?

2024.10

What type of installation are you running?

Home Assistant OS

Integration causing the issue

FOSCAM

Link to integration documentation on our website

https://www.home-assistant.io/integrations/foscam

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @krmarien, mind taking a look at this issue as it has been labeled with an integration (foscam) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `foscam` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign foscam` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


foscam documentation foscam source (message by IssueLinks)

fabricecatherine03 commented 1 week ago

Same issue for me when trying a fresh install of a foscam cam (on a new ha installation):

Logger: homeassistant.components.stream.stream.camera.cameragarden
Source: components/stream/__init__.py:448
integration: Stream ([documentation](https://www.home-assistant.io/integrations/stream), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+stream%22))
First occurred: 2:38:27 PM (34 occurrences)
Last logged: 3:23:54 PM

Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input, rtsp://****:****@192.XXX:888/videoMain)
GP920 commented 6 days ago

I'm having related issues... my "live" video from my 2 foscams only show 1 frame every 2 seconds, not smooth video (like they did before the 2024.11 update.)

mcardlcp commented 6 days ago

Same issue. Logger: homeassistant.components.stream.stream.camera.fi9928p Source: components/stream/init.py:448 integration: Stream (documentation, issues) First occurred: 15 November 2024 at 22:49:56 (95 occurrences) Last logged: 11:14:06

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://:@192.168.1.161:554/videoSub)

rtsp:// ... videoSub and ... videoMain work ok in other programs such as Apple GlanceCam.

GP920 commented 2 days ago

What do we do if a code owner doesn't respond? (Does the home-assistant bot reassign it?)

N3rdix commented 1 day ago

can you make sure the RTSP port from the logs is correct? Initially I had issues as well but then noticed it was somehow using port 554 instead of 88 (at least my Foscam cameras run RTSP on port 88).