[HW Accel Support]: ffmpeg seems to crash when camera switches from day to night mode #19294
-
Describe the problem you are havingI have recently installed two IPC-Color4M-T cameras. One of them crashes at dusk when the camera switches from day to night mode and back from night mode to day mode. I'm puzzled on what to do. I believe the system is otherwise stable. Version0.15.0-6cb5cfb Frigate config filemqtt:
enabled: true
host: 10.21.7.10
user: username
password: password
model:
path: plus://serialnumber
detectors:
coral1:
type: edgetpu
device: pci:0
coral2:
type: edgetpu
device: pci:1
record:
enabled: true
retain:
days: 24
mode: all
alerts:
retain:
days: 24
detections:
retain:
days: 24
snapshots:
enabled: true
retain:
default: 24
go2rtc:
streams:
front_south:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
front_north:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
rear_2nd_north:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
rear_2nd_south:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
rear_1st_north:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
rear_1st_south:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
entry_hallway:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
parking_area:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
lander_street:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
back_alley:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
log:
level: debug
webrtc:
candidates:
- 10.21.7.5:8555
- stun:8555
cameras:
front_south:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 #preset-vaapi #
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/front_south
input_args: preset-rtsp-restream
roles:
- record
- audio
audio:
enabled: true
min_volume: 200
listen:
- emergency_vehicle
- explosion
- gunshot
- fusillade
- cap_gun
- fireworks
- firecracker
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 1,0.163,0.963,0.165,0.896,0.354,0.788,0.39,0.764,0.414,0.794,0.475,0.819,0.517,0.81,0.577,0.82,0.724,0.856,0.774,0.763,1,1,1,0.998,0.39
- 1,0,1,0.094,0.648,0.094,0.648,0
- 0,0.121,0.101,0.155,0.238,0.136,0.337,0.138,0.608,0.266,1,0.484,0.997,0.004,0,0
- 0.191,0.997,0.001,0.995,0.001,0.004,0.031,0.002,0.038,0.162,0.07,0.37,0.096,0.517,0.122,0.644,0.15,0.804
zones:
front_flood_light_zone:
coordinates:
0,1,0.702,1,0.791,1,0.854,0.837,0.723,0.729,0.71,0.701,0.64,0.634,0.62,0.65,0.365,0.428,0.31,0.45,0.264,0.403,0.104,0.446,0.079,0.416,0.057,0.411,0.046,0.358,0,0.358
objects: person
inertia: 3
loitering_time: 0
front_windows:
coordinates:
0.228,0.437,0.099,0.47,0.067,0.464,0.026,0.423,0,0.287,0,0.21,0.036,0.401,0.058,0.426,0.079,0.426,0.09,0.449,0.22,0.417
objects: person
inertia: 3
loitering_time: 0
ui:
order: 1
front_north:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 #preset-vaapi #
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/front_north
input_args: preset-rtsp-restream
roles:
- record
- audio
audio:
enabled: true
min_volume: 200
listen:
- emergency_vehicle
- explosion
- gunshot
- fusillade
- cap_gun
- fireworks
- firecracker
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 0,0,0.378,0,0.378,0.1,0,0.1
- 0.775,0.219,0.774,0.252,0.769,0.404,0.547,0.378,0.465,0.496,0.459,0.393,0.471,0.311,0.48,0.252,0.506,0.217,0.534,0.197,0.556,0.192,0.555,0,0.926,0,0.926,0.019,0.846,0.023,0.801,0.051,0.761,0.087,0.761,0.196
- 0,0.535,0.155,0.413,0.453,0.21,0.759,0,0,0.002
- 0.892,0,0.894,0.326,0.899,0.445,0.88,0.444,0.862,0.688,0.868,0.706,0.84,1,1,1,1,0
zones:
front_flood_light_zone:
coordinates:
1,1,1,0,0.913,0,0.904,0.266,0.83,0.25,0.831,0.306,0.817,0.302,0.809,0.379,0.775,0.381,0.565,0.366,0.492,0.465,0.425,0.573,0.264,0.829,0.147,1
objects: person
inertia: 3
loitering_time: 0
front_windows:
coordinates: 1,1,0.37,1,0.598,0.569,0.859,0.603,0.87,0.476,0.927,0.476,0.957,0,1,0
objects: person
inertia: 3
loitering_time: 0
ui:
order: 2
rear_2nd_north:
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/rear_2nd_north
input_args: preset-rtsp-restream
roles:
- record
- audio
audio:
enabled: true
min_volume: 200
listen:
- emergency_vehicle
- explosion
- gunshot
- fusillade
- cap_gun
- fireworks
- firecracker
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
min_score: 0.6
threshold: 0.75
record:
enabled: true
motion:
mask: 1,0,1,0.08,0.764,0.081,0.765,0
zones:
rear_deck:
coordinates: 392,480,170,190,0,225,0,480
objects:
- person
rear_stoop:
coordinates: 302,269,347,325,240,245,188,183
objects:
- person
ui:
order: 4
rear_2nd_south:
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/rear_2nd_south
input_args: preset-rtsp-restream
roles:
- record
- audio
audio:
enabled: true
min_volume: 200
listen:
- emergency_vehicle
- explosion
- gunshot
- fusillade
- cap_gun
- fireworks
- firecracker
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
min_area: 2700
min_score: 0.60
threshold: 0.75
motion:
mask:
- 244,0,0,0,0,48,244,48
zones:
rear_deck:
coordinates: 615,480,658,329,671,227,530,206,450,326,317,480,401,480
objects:
- person
rear_stoop:
coordinates: 291,480,209,480,266,430,343,423
objects:
- person
ui:
order: 5
rear_1st_north:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 #preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/rear_1st_north
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
min_area: 1000
min_score: 0.6
motion:
mask:
- 704,0,704,45,509,45,509,0
zones:
back_patio:
coordinates: 250,275,240,231,154,183,0,232,0,480,529,480,597,341,338,240
objects:
- person
ui:
order: 7
rear_1st_south:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 # preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/rear_1st_south
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
motion:
mask:
- 704,0,704,42,508,42,508,0
zones:
back_patio:
coordinates: 496,155,704,225,704,480,147,480,118,409,390,278,388,185
objects:
- person
ui:
order: 8
entry_hallway:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 #preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/entry_hallway
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 704,428,704,480,457,480,457,428
ui:
order: 10
parking_area:
ffmpeg:
hwaccel_args: preset-intel-qsv-h264 #preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/parking_area
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 1,0.877,1,1,0.635,1,0.635,0.877
- 0,1,0.154,1,0.153,0.162,0.787,0.174,0.998,0.454,0.998,0.002,0.002,0.002
ui:
order: 9
lander_street:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/lander_street
input_args: preset-rtsp-restream
roles:
- record
onvif:
host: 192.168.50.101
port: 80
user: username
password: password
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 704,0,704,46,452,46,452,0
ui:
order: 3
back_alley:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path:
rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://127.0.0.1:8554/back_alley
input_args: preset-rtsp-restream
roles:
- record
onvif:
host: 192.168.50.100
port: 80
user: username
password: password
detect:
width: 704
height: 480
fps: 5
enabled: true
objects:
track:
- person
filters:
person:
threshold: 0.75
record:
enabled: true
motion:
mask:
- 704,0,704,46,452,46,452,0
ui:
order: 6
version: 0.15-1
camera_groups:
Front_Cameras:
order: 1
icon: LuChevronUpCircle
cameras:
- front_north
- front_south
- lander_street
Rear_Cameras:
order: 2
icon: LuChevronDownCircle
cameras:
- rear_2nd_north
- rear_2nd_south
- back_alley
- rear_1st_north
- rear_1st_south
- parking_area
Exterior:
order: 3
icon: LuShieldCheck
cameras:
- front_north
- front_south
- back_alley
- lander_street
- parking_area
- rear_1st_north
- rear_1st_south
- rear_2nd_north
- rear_2nd_southdocker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:0.15.1
shm_size: "256mb"
devices:
- /dev/apex_0:/dev/apex_0
- /dev/apex_1:/dev/apex_1
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/lander/frigate:/config
- /media/frigate:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"Relevant Frigate log output2025-07-26 20:13:28.776112562 [2025-07-26 20:13:28] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:13:28.776259813 [2025-07-26 20:13:28] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:13:38.239713429 [2025-07-26 20:13:38] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:13:38.239742945 [2025-07-26 20:13:38] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:13:38.239784942 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:13:38.239787936 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:13:38.239803015 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:13:38.239922850 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:13:38.240058466 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:13:38.240114713 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:13:38.240125550 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:13:38.240574753 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:13:38.240615764 [2025-07-26 20:13:38] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x591f04e0e840] Error during demuxing: Connection timed out
2025-07-26 20:16:21.723404930 [2025-07-26 20:16:21] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:16:21.723419706 [2025-07-26 20:16:21] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:16:28.266892326 [2025-07-26 20:16:28] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:16:28.266914172 [2025-07-26 20:16:28] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:16:28.266991834 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:16:28.266994014 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:16:28.266995353 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:16:28.267000087 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:16:28.267001872 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:16:28.267040606 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:16:28.267297039 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:16:28.273191766 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:16:28.273231081 [2025-07-26 20:16:28] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x58c5ee2b2880] Error during demuxing: Connection timed out
2025-07-26 20:19:27.814768879 [2025-07-26 20:19:27] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:19:27.814778949 [2025-07-26 20:19:27] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:19:28.295218114 [2025-07-26 20:19:28] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:19:28.295340761 [2025-07-26 20:19:28] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:19:28.295344430 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:19:28.295355418 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:19:28.295389100 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:19:28.295421877 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:19:28.295474402 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:19:28.295492638 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:19:28.295533910 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:19:28.295567187 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:19:28.295602936 [2025-07-26 20:19:28] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x577fdda9b840] Error during demuxing: Connection timed out
2025-07-26 20:20:19.724680616 [2025-07-26 20:20:19] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:20:19.724745811 [2025-07-26 20:20:19] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:20:28.312661759 [2025-07-26 20:20:28] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:20:28.312708016 [2025-07-26 20:20:28] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:20:28.312749978 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:20:28.312785413 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:20:28.312820289 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:20:28.312852941 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:20:28.312884133 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:20:28.312915334 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:20:28.312945739 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:20:28.312977770 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:20:28.317614316 [2025-07-26 20:20:28] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x5a12e1ad3880] Error during demuxing: Connection timed out
2025-07-26 20:25:09.671458877 [2025-07-26 20:25:09] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:25:09.671565185 [2025-07-26 20:25:09] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:25:18.339984270 [2025-07-26 20:25:18] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:25:18.340058949 [2025-07-26 20:25:18] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:25:18.340065316 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:25:18.340091550 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:25:18.340316049 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:25:18.340318744 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:25:18.340320144 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:25:18.340321562 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:25:18.340322803 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:25:18.340323969 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:25:18.340326193 [2025-07-26 20:25:18] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x5743bc33b880] Error during demuxing: Connection timed out
2025-07-26 20:25:49.698813412 [2025-07-26 20:25:49] frigate.video ERROR : front_north: Unable to read frames from ffmpeg process.
2025-07-26 20:25:49.698855650 [2025-07-26 20:25:49] frigate.video ERROR : front_north: ffmpeg process is not running. exiting capture thread...
2025-07-26 20:25:58.355065395 [2025-07-26 20:25:58] watchdog.front_north ERROR : Ffmpeg process crashed unexpectedly for front_north.
2025-07-26 20:25:58.355220318 [2025-07-26 20:25:58] watchdog.front_north ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-26 20:25:58.355265879 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:25:58.355306315 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:25:58.355460130 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:25:58.355499986 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:25:58.355541007 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: VA-API version 1.22.0
2025-07-26 20:25:58.355580392 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
2025-07-26 20:25:58.355614311 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: Found init function __vaDriverInit_1_22
2025-07-26 20:25:58.355674763 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : libva info: va_openDriver() returns 0
2025-07-26 20:25:58.355770816 [2025-07-26 20:25:58] ffmpeg.front_north.detect ERROR : [in#0/rtsp @ 0x57cdd820d8c0] Error during demuxing: Connection timed outRelevant go2rtc log output2025-07-26 16:28:54.757625822 [INFO] Preparing new go2rtc config...
2025-07-26 16:28:55.188821680 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2025-07-26 16:28:55.310195408 [INFO] Starting go2rtc...
2025-07-26 16:28:55.398058320 16:28:55.397 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-07-26 16:28:55.398061616 16:28:55.398 DBG build vcs.time=2024-05-17T12:57:11Z version=go1.22.2
2025-07-26 16:28:55.398065492 16:28:55.398 INF config path=/dev/shm/go2rtc.yaml
2025-07-26 16:28:55.398523134 16:28:55.398 INF [api] listen addr=:1984
2025-07-26 16:28:55.398526009 16:28:55.398 INF [rtsp] listen addr=:8554
2025-07-26 16:28:55.398857415 16:28:55.398 INF [webrtc] listen addr=:8555
2025-07-26 16:28:55.399015312 16:28:55.398 DBG [hass] can't import config: open /config/.storage/core.config_entries: no such file or directory
2025-07-26 16:28:56.752938294 16:28:56.752 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c h264_vaapi -f null - <nil>
2025-07-26 16:28:56.832937691 16:28:56.832 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c hevc_vaapi -f null - <nil>
2025-07-26 16:28:56.857566509 16:28:56.857 DBG -init_hw_device vaapi -f lavfi -i testsrc2 -t 1 -vf format=nv12,hwupload -c mjpeg_vaapi -f null - <nil>
2025-07-26 16:28:56.863765301 16:28:56.863 DBG -init_hw_device cuda -f lavfi -i testsrc2 -t 1 -c h264_nvenc -f null - exit status 255
2025-07-26 16:28:56.870030172 16:28:56.869 DBG -init_hw_device cuda -f lavfi -i testsrc2 -t 1 -c hevc_nvenc -f null - exit status 255
2025-07-26 16:28:57.571541568 16:28:57.571 DBG [rtsp] new consumer stream=front_south
2025-07-26 16:28:57.583657720 16:28:57.583 DBG [rtsp] new consumer stream=front_north
2025-07-26 16:28:57.591549014 16:28:57.591 DBG [rtsp] new consumer stream=rear_2nd_north
2025-07-26 16:28:57.603634731 16:28:57.603 DBG [rtsp] new consumer stream=rear_2nd_south
2025-07-26 16:28:57.632231820 16:28:57.632 DBG [rtsp] new consumer stream=rear_1st_north
2025-07-26 16:28:57.647761137 16:28:57.646 DBG [rtsp] new consumer stream=rear_1st_south
2025-07-26 16:28:57.656363806 16:28:57.656 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
2025-07-26 16:28:57.667196939 16:28:57.667 DBG [rtsp] new consumer stream=entry_hallway
2025-07-26 16:28:57.675141135 16:28:57.675 DBG [rtsp] new consumer stream=parking_area
2025-07-26 16:28:57.685715761 16:28:57.685 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
2025-07-26 16:28:57.687267926 16:28:57.687 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
2025-07-26 16:28:57.699577017 16:28:57.699 DBG [rtsp] new consumer stream=lander_street
2025-07-26 16:28:57.699581746 16:28:57.699 DBG [rtsp] new consumer stream=back_alley
2025-07-26 16:28:57.700172765 16:28:57.700 DBG [rtsp] new consumer stream=front_south
2025-07-26 16:28:57.708225196 16:28:57.708 DBG [rtsp] new consumer stream=front_north
2025-07-26 16:28:57.717259430 16:28:57.717 DBG [rtsp] new consumer stream=rear_2nd_north
2025-07-26 16:28:57.729568808 16:28:57.729 DBG [rtsp] new consumer stream=rear_2nd_south
2025-07-26 16:28:57.773707784 16:28:57.773 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
2025-07-26 16:28:57.806167976 16:28:57.806 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:28:57.839743056 16:28:57.839 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:28:57.982867501 16:28:57.982 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:28:58.059579839 16:28:58.059 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:28:58.086895985 16:28:58.086 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:28:58.133389931 16:28:58.133 DBG [streams] start producer url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 16:29:04.757242947 [INFO] Starting go2rtc healthcheck service...
2025-07-26 16:34:08.422497745 16:34:08.422 DBG [webrtc] new consumer src=front_south
2025-07-26 18:53:42.890916779 18:53:42.890 DBG [webrtc] new consumer src=front_south
2025-07-26 19:46:18.763084448 19:46:18.763 DBG [webrtc] new consumer src=front_north
2025-07-26 19:46:35.197617729 19:46:35.197 DBG [webrtc] new consumer src=back_alley
2025-07-26 19:46:38.176735430 19:46:38.176 DBG [webrtc] new consumer src=back_alley
2025-07-26 19:49:37.446015885 19:49:37.445 DBG [webrtc] new consumer src=back_alley
2025-07-26 21:48:39.625371020 21:48:39.625 INF [streams] can't add track error="wrong response on DESCRIBE"
2025-07-26 21:48:39.625449205 21:48:39.625 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="start from CONN state" url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
2025-07-26 21:48:39.625456458 21:48:39.625 DBG [streams] retry=0 to url=rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0FFprobe 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":704,"height":480,"avg_frame_rate":"5/1"}]}},{"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,"avg_frame_rate":"20/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelEmpireTech IPC-Color4M-T Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
|
The crash you are experiencing when your camera switches between day and night modes may be related to how the hardware acceleration and ffmpeg input stream are configured. Some cameras change stream parameters (like resolution, color profile, or codec) during these transitions, which can cause ffmpeg to lose connection or crash. Here are some steps based on the documentation that may help:
You can find more on hardware acceleration and ffmpeg presets here: FFmpeg presets 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.




I've corresponded with a user of these cameras over at IPCamTalk who explains that these newer cameras are not meant to be used with either WDR or SSA as those are legacy features. Apparently the cameras' "normal" operating mode with backlight features off uses newer algorithms to produce a better image. In case anyone comes across this issue in the future, here's that discussion: https://ipcamtalk.com/threads/bug-in-ipc-color4m-t-firmware.82719/