[Camera Support]: Ffmpeg process crashed unexpectedly for driveway. #16214
-
Describe the problem you are havingAll of a sudden this morning, after changing nothing I noticed my driveway camera was down. After checking the logs I saw some errors and I'm not sure how to fix them.
Again I haven't changed anything. I've tried restarting Frigate, rebooting the Unifi camera, and restarting the frigate container. The errors persist. I have 4 other Unifi cameras all with pretty much the same settings still working. Version0.15.0-6d8234f What browser(s) are you using?No response Frigate config fileversion: 0.15-1
camera_groups: {}
### MQTT SETTINGS ###
mqtt:
host: 192.168.1.30
user: mqtt-user
password: *****************
client_id: frigate
### DETECTOR SETTINGS ###
detectors:
coral:
type: edgetpu
device: usb
### BIRDSEYE SETTINGS ###
birdseye:
enabled: true
mode: continuous
## FRIGATE+ MODEL ###
model:
path: plus://*******************************
width: 320
height: 320
### RECORD SETTINGS ###
record:
enabled: true
retain:
days: 3
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
### TRACKED OBJECTS ###
objects:
track:
- person
- face
- dog
- car
- amazon
- fedex
- ups
- package
- purolator
- bird
- squirrel
- fox
- raccoon
- bear
- rabbit
detect:
stationary:
interval: 70
threshold: 70
### GENERATIVE AI AND SEMANTIC SEARCH ###
# genai:
# enabled: True
# provider: ollama
# base_url: http://192.168.1.15:11434
# model: llava:7b
# prompt: "Analyze the {label} in these images from the {camera} security camera. Focus on the actions, behavior, and potential intent of the {label}, rather than just describing its appearance."
# object_prompts:
# person: "Examine the main person in these images. What are they doing and what might their actions suggest about their intent (e.g., approaching a door, leaving an area, standing still)? Do not describe the surroundings or static details."
semantic_search:
enabled: true
reindex: false
model_size: large
### SNAPSHOTS ###
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: false
height: 1440
retain:
default: 5
quality: 100
# required_zones:
# - f-yard
# - fr-yard
# - road
# - b-yard
### FFMPEG ###
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
output_args:
record: preset-record-generic-audio-aac
### GO2RTC CONFIG ###
go2rtc:
streams:
frontdoor:
- rtsp://****:**************@192.168.1.1:7447/gFaOwRMGGc5eipei
- ffmpeg:frontdoor#audio=opus
driveway:
- rtsp://****:**************@192.168.1.1:7447/8Dsn7CHuC6JMKAK7
- ffmpeg:driveway#audio=opus
backyard:
- rtsp://****:**************@192.168.1.1:7447/4NmFuo8GQsJECuvH
- ffmpeg:backyard#audio=opus
garage:
- rtsp://****:**************@192.168.1.1:7447/rX8la7uJBu40n8dQ
- ffmpeg:garage#audio=opus
package:
- rtsp://****:**************@192.168.1.1:7447/dXXFNlxgKe5SWoGp
webrtc:
candidates:
- 192.168.1.101:8555
- stun:8555
### FRONT DOOR CAMERA G4 PRO ###
cameras:
frontdoor:
ffmpeg:
inputs:
# High res
- path: rtsp://127.0.0.1:8554/frontdoor
roles:
- record
- detect
ui:
order: 00
birdseye:
order: 00
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
objects:
track:
- person
- dog
- package
- face
filters:
person:
threshold: 0.8
min_area: 5000
max_area: 100000
detect:
width: 1600
height: 1200
fps: 7
stationary:
interval: 70
threshold: 70
motion: {}
zones:
fr-yard:
coordinates:
0.161,0.994,0.995,0.995,0.995,0.259,0.836,0.265,0.746,0.293,0.758,0.487,0.759,0.609,0.636,0.589,0.541,0.554,0.183,0.586
inertia: 3
objects:
- person
- dog
- package
- face
review:
detections:
labels:
- person
- package
- dog
required_zones: fr-yard
### GARAGE CAMERA G5 FLEX ###
garage:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/garage
roles:
- record
- detect
ui:
order: 03
birdseye:
order: 03
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
objects:
track:
- person
- face
filters:
person:
threshold: 0.8
min_area: 5000
max_area: 100000
dog: {}
detect:
stationary:
interval: 50
threshold: 50
width: 2688
height: 1512
fps: 7
review:
detections:
labels:
- person
motion:
mask:
- 0.202,0.087,0.299,0.054,0.405,0.035,0.486,0.019,0.572,0.013,0.609,0.022,0.613,0.074,0.596,0.087,0.513,0.098,0.409,0.113,0.337,0.132,0.276,0.154,0.208,0.176
- 0.005,0.126,0.202,0,0.205,0.266
### DRIVEWAY CAMERA G5 BULLET ###
driveway:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/driveway
roles:
- record
- detect
ui:
order: 01
birdseye:
order: 01
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
detect:
width: 2688
height: 1512
fps: 7
stationary:
interval: 70
threshold: 70
objects:
track:
- person
- package
- dog
- ups
- fedex
- purolator
- amazon
- bird
- car
- face
- bear
- squirrel
- fox
- raccoon
- rabbit
filters:
person:
threshold: 0.8
min_area: 5000
max_area: 100000
car:
mask: 0.725,0.012,0.776,0.247,1,0.283,0.998,0.004
review:
detections:
labels:
- ups
- fedex
- purolator
- amazon
- bird
required_zones: road
alerts:
labels:
- person
- package
- dog
- bird
required_zones: f-yard
zones:
road:
coordinates: 0.458,0,0.895,0,1,0,1,0.317,0.75,0.223,0.524,0.228,0.274,0.249,0,0.267,0,0
inertia: 3
objects:
# - car
- ups
- fedex
- purolator
- amazon
loitering_time: 0
f-yard:
coordinates: 0,0.399,0,1,1,1,1,0.364,0.908,0.306,0.817,0.274,0.711,0.274,0.53,0.303
inertia: 3
objects:
- person
- dog
- package
- face
- bird
- squirrel
- fox
- raccoon
- bear
- rabbit
loitering_time: 0
motion: {}
### BACKYARD CAMERA G5 BULLET ###
backyard:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/backyard
roles:
- record
- detect
ui:
order: 02
birdseye:
order: 02
mqtt:
timestamp: false
bounding_box: false
# crop: true
quality: 100
height: 500
detect:
width: 2688
height: 1512
fps: 7
stationary:
interval: 70
threshold: 70
objects:
track:
- person
- dog
- cat
- bird
- squirrel
- fox
- raccoon
- bear
- rabbit
filters:
person:
threshold: 0.8
min_area: 5000
max_area: 100000
review:
alerts:
labels:
- person
- dog
- cat
- bird
- squirrel
- fox
- raccoon
- bear
- rabbit
# required_zones: b-yard
zones:
b-yard:
coordinates:
0.998,0.997,0.999,0.006,0.76,0.016,0.451,0.048,0.282,0.106,0.165,0.158,0.176,0.227,0.161,0.253,0.114,0.291,0.057,0.339,0.036,0.272,0.006,0.317,0.001,0.456,0.001,0.995,0.538,0.992
loitering_time: 0
inertia: 3
motion:
mask: 0.002,0.003,0.268,0.002,0.267,0.108,0.165,0.15,0.177,0.223,0.057,0.325,0,0.319
### PACKAGE CAMERA ###
package:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/package
roles:
- record
- detect
ui:
order: 04
detect:
width: 1600
height: 1200
fps: 5
objects:
track:
- package
review:
alerts:
labels:
- package
birdseye:
enabled: false
notifications:
enabled: 'true'
email: frigate@********.com Relevant Frigate log output2025-01-29 10:07:01.788763176 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vist#0:0/h264 @ 0x55b1f324db40] [dec:h264_qsv @ 0x55b1f2d86e40] Decoding error: Invalid argument
2025-01-29 10:07:01.788772523 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [h264_qsv @ 0x55b1f2d69e00] [IMGUTILS @ 0x14da803e9650] Picture size 0x0 is invalid
2025-01-29 10:07:01.788781468 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [h264_qsv @ 0x55b1f2d69e00] video_get_buffer: image parameters invalid
2025-01-29 10:07:01.788791713 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [h264_qsv @ 0x55b1f2d69e00] get_buffer() failed
2025-01-29 10:07:01.788804164 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [h264_qsv @ 0x55b1f2d69e00] Too many errors when draining, this is a bug. Stop draining and force EOF.
2025-01-29 10:07:01.788814730 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vist#0:0/h264 @ 0x55b1f324db40] [dec:h264_qsv @ 0x55b1f2d86e40] Decoding error: Internal bug, should not have happened
2025-01-29 10:07:01.788825479 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vist#0:0/h264 @ 0x55b1f324db40] [dec:h264_qsv @ 0x55b1f2d86e40] Decode error rate 1 exceeds maximum 0.666667
2025-01-29 10:07:01.788834582 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vist#0:0/h264 @ 0x55b1f324db40] [dec:h264_qsv @ 0x55b1f2d86e40] Task finished with error code: -1145393733 (Error number -1145393733 occurred)
2025-01-29 10:07:01.788844763 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vist#0:0/h264 @ 0x55b1f324db40] [dec:h264_qsv @ 0x55b1f2d86e40] Terminating thread with return code -1145393733 (Error number -1145393733 occurred)
2025-01-29 10:07:01.788853509 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : Cannot determine format of input 0:0 after EOF
2025-01-29 10:07:01.788864271 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vf#1:0 @ 0x55b1f2dd6d80] Task finished with error code: -1094995529 (Invalid data found when processing input)
2025-01-29 10:07:01.788873816 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vf#1:0 @ 0x55b1f2dd6d80] Terminating thread with return code -1094995529 (Invalid data found when processing input)
2025-01-29 10:07:01.788883182 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vost#1:0/rawvideo @ 0x55b1f2d81c80] Could not open encoder before EOF
2025-01-29 10:07:01.788892886 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vost#1:0/rawvideo @ 0x55b1f2d81c80] Task finished with error code: -22 (Invalid argument)
2025-01-29 10:07:01.788901813 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [vost#1:0/rawvideo @ 0x55b1f2d81c80] Terminating thread with return code -22 (Invalid argument)
2025-01-29 10:07:01.788910768 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [out#0/segment @ 0x55b1f2df9680] Nothing was written into output file, because at least one of its streams received no packets.
2025-01-29 10:07:01.788920720 [2025-01-29 10:07:01] ffmpeg.driveway.detect ERROR : [out#1/rawvideo @ 0x55b1f2d80080] Nothing was written into output file, because at least one of its streams received no packets.
frigate.video
ERROR : driveway: Unable to read frames from ffmpeg process.
ERROR : driveway: ffmpeg process is not running. exiting capture thread...
watchdog.driveway
ERROR : Ffmpeg process crashed unexpectedly for driveway. Relevant go2rtc log outputn/a FFprobe output from your cameran/a Frigate statsNo response Operating systemUNRAID Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelUnifi G5 Bullet Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulI guess I should state the camera is working in the Unifi UI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Does resetting frigate fix it? Looks like the camera data is coming in incorrect |
Beta Was this translation helpful? Give feedback.
I figured it out. I'm an idiot. I tried this new setting in Unifi not thinking anything of it. As soon as i reverted to standard it fixed it.