-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config option to wait longer for ffmpeg to get frames #11041
Comments
why does it take so long to start the stream? if the camera has an iframe interval that far apart that is going to cause many other problems |
It seems that during night lower bitrate somehow delays first complete frame. Dont know why. Camera is Xiao Fang. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still relevant. Frigate is unable to fetch image from camera almost everyday - while VLC is able to. |
I have the same problem. Vlc is easy able to connect to the stream. But with frigate i‘m not able to connect because it takes a long time… |
I've seen this with IMOU (off-brand Dahua) cameras over the years sporadically, even when the cameras are on ethernet (although it happens less when wired) The reality is that some kind of image, even if it is delayed or low quality is better than no image at all. When this does happen for me, I notice that Frigate will show "no frames detected" for this particular camera for hours, but all the while VLC works fine. Furthermore, this really does seem like a case of runaway exponential back off because restarting Frigate brings the cameras back half the time. I know this is anecdotal but I can collect any logs you need the next time this happens :) |
Describe what you are trying to accomplish and why in non technical terms
I want to be able to get stream when it takes longer time to receive it. VLC is able to receive the stream but it takes 40+ seconds to see the video stream.
Describe the solution you'd like
I want to be able to set longer timeout for waiting ffmpeg frames.
Describe alternatives you've considered
n/a
Additional context
watchdog.camera_name INFO : No frames received from camera_name in 20 seconds. Exiting ffmpeg...
If only Frigate would be able to wait for 60 seconds, this would be great.
The text was updated successfully, but these errors were encountered: