[Support]: Changing fps and bit rate in camera then lost audio #15158
-
Describe the problem you are havingEverything was working fine in Frigate, then I started changing the fps and bit rate in my cameras and now I've completely lost audio from both the go2rtc live stream and the recordings. NOTHING has changed in my config file. I decreased the fps from 25 to 20 and increased the bit rate to the maximum. I did not disable audio in the camera so I should be getting sound. In fact, when I open a live view of a camera in Frigate, I heard audio for a split second then complete silence. I have Dahua branded cameras. And I'm using the following in my config file for each camera (as I said it was working fine before I started changing settings in the cameras and I didn't touch the config file):
This is happening in both Frigate 0.13.2 and 0.14.1 as I have two separate mini pc's each making a separate connection to the same cameras. This setup hasn't changed. And I can confirm that the issue is happening when I use Firefox as an alternative to Microsoft Edge. I have tried rebooting the cameras. Still no audio except for a split second when I open a live view in Frigate. Could Frigate be reverting to the default setting and removing the audio for some reason? My CPU percentage is in the mid 40 percent generally. I've seen a lot of discussion that Version0.14.1-f4f3cfa What browser(s) are you using?Microsoft Edge, ver. 131.0.2903.63 (Official build) (64-bit) Frigate config fileNA Relevant Frigate log outputNA Relevant go2rtc log output2024-11-24 06:27:14.520460054 [INFO] Preparing new go2rtc config...
2024-11-24 06:27:15.030074409 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2024-11-24 06:27:15.071825147 [INFO] Starting go2rtc...
2024-11-24 06:27:15.191204610 06:27:15.191 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-24 06:27:15.191320611 06:27:15.191 INF config path=/dev/shm/go2rtc.yaml
2024-11-24 06:27:15.191973838 06:27:15.191 INF [api] listen addr=:1984
2024-11-24 06:27:15.192483408 06:27:15.191 INF [rtsp] listen addr=:8554
2024-11-24 06:27:15.192915334 06:27:15.192 INF [webrtc] listen addr=:8555
2024-11-24 06:27:24.523060866 [INFO] Starting go2rtc healthcheck service... FFprobe output from your cameraffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
192.168.50.28: No such file or directory Frigate statsNo response Install methodDocker Compose docker-compose file or Docker CLI commandNA Object DetectorCoral Network connectionWired Camera make and modelDahua Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
When I look at ffprobe in Frigate 0.13.2, I get the following output which leads me to believe the camera is outputting the audio (also I hear audio very very briefly in Frigate when I open a live view). To me, this indicates an issue with Frigate.
|
Beta Was this translation helpful? Give feedback.
I rebooted my laptop--this is the computer that runs the web browser I use to view Frigate. And presto the issue is gone. Very weird. I blame Windows 11. But rebooting solved the problem.