-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Camera Support]: Stuck/spinning recording playback #6498
Comments
if you look at the network tools in the browser, which call is hanging? (show a screenshot of it) |
What do you see in |
I saved the log from that page while the video is spinning, and copy/pasted what looked like the relevant sections into the attached. I've removed domains, and also fyi, port 8001 I have mapped to 5000 in Docker (as I've already used 5000). Let me know if you need anything else. |
I don't see any playback errors. I'm not sure why that happens, but it looks like the camera starts getting its timestamps mixed up. |
I found that there was actually a camera firmware update, but after that and restarting Frigate it worked for about 1.5 hours and then the spins returned. :( Is there maybe an alternate config I could try? I found the JPEG options but then I lose the audio. |
I get this as well with Amcrest cameras. Most of the recordings are OK, but some I just get the spinner. In the browser console, I just get "IDEOJS: WARN: Problem encountered with playlist 0-index-v1-a1.m3u8. Trying again since it is the only playlist". There doesn't appear to be anything of relevance in the frigate logs at the time of access. |
Please check media internals as was recommended above |
@NickM-27 Any suggestions for firefox users? I can't install chrome on this machine. |
@NickM-27 OK, I've worked around it and got Chrome installed, please see attached. It turns out, the clip plays in Chrome but not Firefox, any ideas? Edit: Might be related to videojs/http-streaming#344 ? |
Firefox has worse handing of codecs than chrome. That along with limited debugging makes it difficult to know what the issue is
potentially |
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. |
I am still having the issue. I have moved Frigate to a different machine and it still happens, so yes it is probably the camera. Is there no workaround? |
Funny because mine is just the opposite - works in Firefox and not in Chrome. Worst part is it doesn't work in the Home Assistant Frigate card on the Android app. Unless I lower record resolution to 640x480. Then it plays okay but is recorded with a resolution too low to make out things clearly on my computer screen even when zoomed in. |
I'm good with closing this out. I think we've got several issues here tangled up. My issue continues within Frigate but works fine within the Home Assistant automation, so that's good enough for me. |
I have the same issue however, I got some success when I set the config to record in h264 and enable webrtc |
I seem to have experienced this (or alike) issue. I eventually found out that i had my camera output a h265 with restream via go2rtc. This resulted in a h265 stream on playback in the browser (Chromium Linux). I found this out by taking the m3u8 stream and opening it in VLC. The codec-info will then display h265 which my browser does not support. I changed my camera stream to h264 and it started to work. |
I am experiencing a similar issue with two different cameras, Reolink E1 Zoom and a Tapo 120C. Two observations: If I disable recording the audio, the issue is gone. When I export a video clip, the playback is flawless. @GrumpyMeow did you change the stream to h264 at the camera or in frigate/go2rtc? Any suggestions? |
I changed the format from h265 to h264 I’m the camera itself. |
Describe the problem you are having
I have a Foscam C1 that I am using as a "baby cam" in my daughter's room. That is, it is not doing object detection but rather recording video and audio when there is motion detected. This seems to be working OK however regularly when going to recordings in the UI and attempting to play, the spinner shows but the video never plays. If I try to play the same video from disk, it plays fine. There is no message in the browser console. However, potentially relevant Frigate logs are below.
I have tried tweaking configurations but without luck. Restarting Frigate will do nothing for old recordings but usually will get future recordings to work but only for about an hour after the restart. From there it is hit or miss whether they recordings play or not. Everything else is working fine, as do other cameras (though they are not C1).
Thanks for any assistance.
Version
0.12.0-DA3E197
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Other Linux
Install method
Docker Compose
Coral version
USB
Network connection
Wireless
Camera make and model
Foscam C1
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: