[Support]: Camera feed color offset #14794
-
Describe the problem you are havingThe live view of one of my cameras seems to have an issue where one of the colors is offset in the live view. See attached image: The recordings from this camera do not have this issue. If I use VLC to access the stream directly it also does not have this issue. If I navigate around a bit it can sometimes fix itself. I.e. going to the history and then back, or going to the all camera page and then clicking back into this camera. I have a number of cameras including one of the same brand which do not have this issue. Version0.14.1-f4f3cfa What browser(s) are you using?Firefox 132.0 / Chrome 130.0.6723.92 Frigate config filetls:
enabled: false
mqtt:
enabled: true
host: mosquitto-mqtt
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-aac
input_args:
- -analyzeduration
- 10000M
- -probesize
- 10000M
model:
path: plus://blah
detectors:
coral:
type: edgetpu
device: usb
birdseye:
enabled: false
mode: continuous
record:
enabled: true
retain:
days: 1
mode: motion
events:
retain:
default: 1
snapshots:
enabled: true
retain:
default: 1
cameras:
camera:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/camera
input_args: preset-rtsp-restream
roles:
- record
detect:
enabled: true
objects:
track:
- person
- cat
motion:
mask:
- 800,42,800,0,800,0,630,0,634,43 # Time
go2rtc:
streams:
camera:
- rtsp://admin:[email protected]:554/stream1
camera_sub:
- rtsp://admin:[email protected]:554/stream2
version: 0.14 Relevant Frigate log output2024-11-04 21:21:33.481903042 [h264 @ 0x7f894c174a00] cabac decode of qscale diff failed at 151 33
2024-11-04 21:21:33.481911091 [h264 @ 0x7f894c174a00] error while decoding MB 151 33, bytestream 302015 Relevant go2rtc log outputnone FFprobe output from your cameraroot@c249c09b192f:/opt/frigate# ffprobe rtsp://admin:[email protected]:554/stream1
ffprobe 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
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 5 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 10 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 4 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 5 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 4 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 1 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 3 packets
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 7 packets
[h264 @ 0x55ae1858b240] cabac decode of qscale diff failed at 152 59
[h264 @ 0x55ae1858b240] error while decoding MB 152 59, bytestream 80465
[h264 @ 0x55ae1858b240] concealing 18137 DC, 18137 AC, 18137 MV errors in I frame
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 2 packets
[h264 @ 0x55ae1858b240] concealing 28852 DC, 28852 AC, 28852 MV errors in P frame
[rtsp @ 0x55ae18585140] max delay reached. need to consume packet
[rtsp @ 0x55ae18585140] RTP: missed 32 packets
Input #0, rtsp, from 'rtsp://admin:[email protected]:554/stream1':
Metadata:
title : HTMS
comment : stream1
Duration: N/A, start: 0.060875, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 3840x2160, 15 fps, 15 tbr, 90k tbn
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s Frigate stats{
"cameras":
{
"camera":
{
"audio_dBFS": 0.0,
"audio_rms": 0.0,
"camera_fps": 0.0,
"capture_pid": 399,
"detection_enabled": true,
"detection_fps": 0.0,
"ffmpeg_pid": 414,
"pid": 397,
"process_fps": 0.0,
"skipped_fps": 0.0,
},
},
"cpu_usages":
{
"1":
{
"cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"121":
{
"cmdline": "bash ./run.user go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"127":
{
"cmdline": "python3 -u -m frigate",
"cpu": "0.0",
"cpu_average": "18",
"mem": "1.3",
},
"133":
{
"cmdline": "nginx: master process nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
},
"15":
{
"cmdline": "s6-supervise s6-linux-init-shutdownd",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"168":
{
"cmdline": "frigate.logger ",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"17":
{
"cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"181":
{
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"182":
{
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"183":
{
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"184":
{
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"197":
{
"cmdline": "nginx: cache manager process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"221":
{
"cmdline": "nginx: cache loader process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"24":
{
"cmdline": "s6-supervise go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"25":
{
"cmdline": "s6-supervise s6rc-oneshot-runner",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"26":
{
"cmdline": "s6-supervise nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"27":
{
"cmdline": "s6-supervise frigate-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"28":
{
"cmdline": "s6-supervise s6rc-fdholder",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"29":
{
"cmdline": "s6-supervise go2rtc-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"30":
{
"cmdline": "s6-supervise certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"31":
{
"cmdline": "s6-supervise frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"318":
{
"cmdline": "bash ./run.user certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"32":
{
"cmdline": "s6-supervise nginx-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"33":
{
"cmdline": "s6-supervise go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"336":
{
"cmdline": "sleep 9999",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"34":
{
"cmdline": "s6-supervise certsync-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"350":
{
"cmdline": "frigate.recording_manager",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"352":
{
"cmdline": "frigate.review_segment_manager",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"378":
{
"cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(57)",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
},
"379":
{
"cmdline": "frigate.detector.coral",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"381":
{
"cmdline": "frigate.output ",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"397":
{
"cmdline": "frigate.process:camera",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"399":
{
"cmdline": "frigate.capture:camera",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.8",
},
"414":
{
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/camera_sub -r 5 -vf fps=5,scale_vaapi=w=800:h=448:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
},
"417":
{
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.1-f4f3cfa -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/camera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/cat_camera@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.4",
},
"44":
{
"cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"441":
{
"cmdline": "sleep 30s",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"46":
{
"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 ../.. --",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"85":
{
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"87":
{
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"89":
{
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"90":
{
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0",
},
"98":
{
"cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1",
},
"frigate.full_system": { "cpu": "0.0", "mem": "74.6" },
},
"detection_fps": 0.0,
"detectors":
{
"coral": { "detection_start": 0.0, "inference_speed": 10.0, "pid": 379 },
},
"gpu_usages": { "intel-vaapi": { "gpu": "0.0%", "mem": "-%" } },
"processes":
{
"go2rtc": { "pid": 98 },
"logger": { "pid": 168 },
"recording": { "pid": 350 },
"review_segment": { "pid": 352 },
},
"service":
{
"last_updated": 1730755641,
"latest_version": "0.14.1",
"storage":
{
"/dev/shm":
{
"free": 127.6,
"mount_type": "tmpfs",
"total": 128.0,
"used": 0.4,
},
"/media/frigate/clips":
{
"free": 4703815.2,
"mount_type": "zfs",
"total": 7487393.8,
"used": 2783578.5,
},
"/media/frigate/recordings":
{
"free": 4703815.2,
"mount_type": "zfs",
"total": 7487393.8,
"used": 2783578.5,
},
"/tmp/cache":
{
"free": 18975.2,
"mount_type": "overlay",
"total": 83724.1,
"used": 60451.0,
},
},
"temperatures": {},
"uptime": 1,
"version": "0.14.1-f4f3cfa",
},
} Install methodDocker Compose docker-compose file or Docker CLI command- name: Start frigate container
become: true
docker_container:
name: frigate
image: "ghcr.io/blakeblackshear/frigate:{{ frigate_version }}"
state: started
recreate: true
restart: true
restart_policy: unless-stopped
volumes: "{{ default_frigate_volumes + frigate_volumes }}"
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
networks:
- name: all
container_default_behavior: no_defaults
privileged: true
shm_size: "128MB" Object DetectorCoral Network connectionWired Camera make and modelAliexpress Asecam 8MP POE 2.8mm:) Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulI do have other cameras normally but for the purpose of this bug I removed them from my config and made sure it still happened with just this one camera configured. It is also a dodgy ali express "asecam" so perhaps it is entirely due to that but I do have an "identical" one that does not display this behaviour and as mentioned this does not happen in the direct stream on vlc, or in the recordings. I've read through several of the other issue threads but in this case it is using a standard 16:9 ratio, it is using go2rtc, and I have tried specifying the detect width/height manually. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
See the 0.14 FAQ #12724 |
Beta Was this translation helpful? Give feedback.
-
As mentioned I have tried the things specified in the FAQ and the linked threads:
|
Beta Was this translation helpful? Give feedback.
right, we need to see specifically what config was set. If go2rtc is configured and this is happening then the go2rtc stream is failing for live view, I would suggest setting up webrtc https://docs.frigate.video/configuration/live#webrtc-extra-configuration