Fetch snapshot failing to FFmpeg
See original GitHub issueThe problem
The snapshot fetch is failing, and thus, falling back to FFmpeg.
This was working before, I’m not sure when this was broken. Versions 0.117.6 and 0.118.0 have the problem.
Environment
- Home Assistant Core release with the issue: 0.118.0
- Last working Home Assistant Core release (if known): Not too sure, I think 0.116.x was working.
- Operating environment (OS/Container/Supervised/Core): OS
- Integration causing this issue: ONVIF
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/onvif/
Problem-relevant configuration.yaml
None.
Traceback/Error logs
2020-11-19 08:26:20 ERROR (MainThread) [homeassistant.components.onvif] Fetch snapshot image failed from Cámara pasillo, falling back to FFmpeg; Unknown error: peer closed connection without sending complete message body (received 99 bytes, expected 973)
Additional information
None.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:25 (6 by maintainers)
Top Results From Across the Web
Error within Camera-FFmpeg plugin, shows snapshots but can ...
Error within Camera-FFmpeg plugin, shows snapshots but can't stream video. I got Camera-FFmpeg set up and it seems to be mostly working, but...
Read more >Use ffmpeg to take snapshot - Home Assistant Community
I want to use it to take a snapshot whenever someone rings my doorbell, so that I can send it to my phone....
Read more >ffmpeg fails to generate screenshots - Super User
When you don't get an output file, ffmpeg probably cannot seek to that position, or there is no video information at that position....
Read more >How to debug ffmpeg reliability for long running rtsp streams
Update I got some trace logs. The ffmpeg seems to fail silently at some point and stop taking snapshots. After about 3 million...
Read more >Adding SecuritySpy Cameras To HomeKit Using Homebridge
Step 3: Install the Homebridge Camera FFmpeg plugin ... cameras set up fine, but I get an error when trying to get a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Possibly related to #42020. Could you test by editing
.storage/config_entries
and changingsnapshot_auth
for the camera to eitherbasic
ordigest
(the opposite of whatever it is currently set to) and restarting HA?I’m running Home Assistant Core version 2020.12.2 and I’m having the exact same issue with my two ONVIF cameras (Hikvision). I tried changing the auth more from digest to basic but the issue persists. Any other ideas?
Also, how can I see the snapshot URL that HA is trying to fetch?