[Camera Support]: Dahua has a bandwidth of ... which exceeds the expected maximum. #20616
Replies: 2 comments 7 replies
-
|
The high bandwidth usage (14.9 GB/hr) from your Dahua camera is likely caused by the camera's bitrate settings. Looking at your camera configuration screenshot, your main stream is set to 4096 Kbps at 25 fps, which is generating significantly more data than expected(1). The issue with recordings not playing in the browser while live view works fine suggests a codec compatibility problem. For recordings to play properly in web browsers, cameras should send H.264 encoded video(2). If your camera is using H.265 or other codecs, you may need to transcode them(3). Here are the key issues to address: 1. Reduce Camera Bitrate 2. Set I-frame Interval 3. Use Recommended Codec Settings
4. Consider Using Apple Compatibility cameras:
cam1:
ffmpeg:
apple_compatibility: true5. Check Recording Configuration ffmpeg:
output_args:
record: preset-record-generic-audio-aacThe bandwidth difference between cameras with similar resolutions typically comes down to bitrate settings, frame rates, codec efficiency, and scene complexity(1). Your Dahua camera appears to be configured with settings that generate much more data than necessary for security purposes. 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Instead of restreaming the The other thing you could try is keeping the restream URL but changing your Often times high bandwidth warnings are because the camera is sending bad data or there are network connectivity issues. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Log reports: cam1 has a bandwidth of 14909.87 MB/hr which exceeds the expected maximum. This typically indicates an issue with the cameras recordings.

Recordings cannot be view by browser, it keeps loading. Live view works fine. Right now metrics report 9.77GB/hr usage.
I don't know what caused this? I don't remember making any changes to the camera/frigate config.
This is a 4MP Dahua IPC-HFW5431E-ZE with config:
Version
0.16.2-4d58206
What browser(s) are you using?
Firefox 144.0
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":2688,"height":1520,"display_aspect_ratio":"168:95","avg_frame_rate":"25/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":1280,"height":720,"display_aspect_ratio":"168:95","avg_frame_rate":"10/1"}]}}]Frigate stats
{"cameras":{"cam1":{"camera_fps":10.1,"process_fps":10.1,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":515,"capture_pid":528,"ffmpeg_pid":539,"audio_rms":0.0,"audio_dBFS":0.0},"cam2":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":0.2,"detection_enabled":true,"pid":520,"capture_pid":549,"ffmpeg_pid":556,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"ov":{"inference_speed":9.12,"detection_start":0.0,"pid":457}},"detection_fps":0.2,"embeddings":{},"gpu_usages":{"intel-qsv":{"gpu":"0.0%","mem":"-%","clients":{"457":"0.0%","539":"0.0%","556":"0.0%"}}},"cpu_usages":{"frigate.full_system":{"cpu":"7.3","mem":"42.1"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"17":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"18":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"35":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"36":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"37":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"48":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules"},"49":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"},"100":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"102":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"103":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"104":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"122":{"cpu":"7.2","cpu_average":"7","mem":"0.2","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"136":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"137":{"cpu":"2.8","cpu_average":"3","mem":"5.7","cmdline":"python3 -u -m frigate"},"143":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: master process nginx"},"196":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"198":{"cpu":"0.1","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"200":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"204":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"216":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"317":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"396":{"cpu":"0.0","cpu_average":"0","mem":"1.1","cmdline":"python3 -u -m frigate"},"432":{"cpu":"4.3","cpu_average":"6","mem":"1.4","cmdline":"frigate.recording_manager"},"445":{"cpu":"0.3","cpu_average":"0","mem":"1.4","cmdline":"frigate.review_segment_manager"},"457":{"cpu":"0.2","cpu_average":"0","mem":"2.1","cmdline":"frigate.detector.ov "},"485":{"cpu":"0.6","cpu_average":"0","mem":"1.3","cmdline":"frigate.output "},"515":{"cpu":"2.0","cpu_average":"2","mem":"1.4","cmdline":"frigate.process:cam1 "},"520":{"cpu":"2.3","cpu_average":"3","mem":"1.4","cmdline":"frigate.process:cam2 "},"528":{"cpu":"2.1","cpu_average":"1","mem":"1.3","cmdline":"frigate.capture:cam1 "},"539":{"cpu":"3.4","cpu_average":"3","mem":"0.4","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.2-4d58206 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/cam1_sub -r 5 -vf vpp_qsv=framerate=5:w=1280:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"548":{"cpu":"3.0","cpu_average":"2","mem":"0.3","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.2-4d58206 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/cam1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/cam1@%Y%m%d%H%M%S%z.mp4"},"549":{"cpu":"5.9","cpu_average":"5","mem":"1.4","cmdline":"frigate.capture:cam2 "},"556":{"cpu":"12.8","cpu_average":"12","mem":"1.0","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.2-4d58206 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/cam2 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/cam2@%Y%m%d%H%M%S%z.mp4 -r 5 -vf vpp_qsv=framerate=5:w=3840:h=2160:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"595":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"602":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 3840x2160 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"612":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"60862":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 60"},"60926":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"}},"service":{"uptime":4277,"version":"0.16.2-4d58206","latest_version":"0.16.2","storage":{"/media/frigate/recordings":{"total":1876655.2,"used":1313261.8,"free":467992.6,"mount_type":"ext4"},"/media/frigate/clips":{"total":1876655.2,"used":1313261.8,"free":467992.6,"mount_type":"ext4"},"/tmp/cache":{"total":467302.4,"used":102593.7,"free":340899.6,"mount_type":"overlay"},"/dev/shm":{"total":1024.0,"used":661.8,"free":362.2,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1761134801},"processes":{"recording":{"pid":432},"review_segment":{"pid":445},"go2rtc":{"pid":122}}}Operating system
Other Linux
Install method
Docker Compose
Object Detector
OpenVino
Network connection
Wired
Camera make and model
Dahua IPC-HFW5431E-ZE
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions