question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FFmpeg Noise Binary Sensor: stops working after a few hours

See original GitHub issue

The problem

FFmpeg Noise Binary Sensor stops working approximately one hour after restart hass or ffmpeg service while FFmpeg Motion Binary Sensor continues to work.

Calling the service ffmpeg.restart seems to fix it temporarily.

image

What is version of Home Assistant Core has the issue?

core-2021.9.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

FFmpeg Noise

Link to integration documentation on our website

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

Example YAML snippet

binary_sensor:
  - platform: ffmpeg_noise
    input: rtsp://admin:password@192.168.1.10:554//h264Preview_01_main
    peak: -30
    name: cry_detect

Anything in the logs that might be useful for us?

Maybe related:

2021-09-18 15:33:46 WARNING (MainThread) [haffmpeg.core] Timeout while waiting of FFmpeg

Additional information

The exact same issue was reported 4 years ago and closed without resolution: https://github.com/home-assistant/core/issues/7081

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
timdonovanukcommented, Apr 19, 2022

Still an issue in latest HA.

0reactions
conorlapcommented, Aug 3, 2022

For what it’s worth, I’ve added the below extra_arguments: -nostats to my sensor and it’s been rock solid for a day so far! Info obtained from the FFmpeg Noise Troubleshooting section.


binary_sensor:
  - platform: ffmpeg_noise
    input: FFMPEG_SUPPORTED_INPUT
    extra_arguments: -nostats
Read more comments on GitHub >

github_iconTop Results From Across the Web

FFmpeg Noise Binary Sensor: stops working #7081 - GitHub
FFmpeg Noise Binary Sensor stops working in approximately one hour after restart hass or ffmpeg service while FFmpeg Motion Binary Sensor ...
Read more >
FFmpeg Noise - Home Assistant
Troubleshooting. Unresponsive after a while. If the noise sensor becomes unresponsive, make sure you have extra_arguments: -nostats in the configuration.
Read more >
FFMpeg noise & motion sensors : r/homeassistant - Reddit
The problem starts when i try to create ffmpeg noise and ffmpeg motion binary sensors for those feeds. As an input option im...
Read more >
Affordable & Awesome Smart Baby Monitor - Tech'd Out
I've had issues where ffmpeg binary sensor would go unavailable, but it wasn't random. Happened almost immediately after I enabled it.
Read more >
An Introduction to FFmpeg, DaVinci Resolve, Timelapse and ...
In this article is described how to do this: https://www.computerhope.com/issues/ch000549.htm. The following was copied from the above link: For Windows 7:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found