hardware acceleration not working #10145
-
Describe the problem you are havingI cannot get the hardware acceleration to work on a GMKtec NucBox G3 (which has a Intel n100 processor). I am running Frigate in a docker container on a bare-metal Ubuntu 22.04 server. Frigate pulls the video from the camera if I omit the I don't have my USB coral working at the moment because there isn't enough power at the GMKtec's usb port to power it. So I need to pick up a USB hub. But I don't think that should have anything to do with the error I'm encountering. This system is standalone and not connected to Home Assistant. My friend just wants it to record video. Version0.13.2-6476F8A Frigate config filemqtt:
enabled: False
#detectors:
# coral:
# type: edgetpu
# device: usb
record:
enabled: True
retain:
days: 14
mode: all
events:
retain:
default: 7
mode: motion
go2rtc:
streams:
test_cam:
- rtsp://username:[email protected]:554/cam/realmonitor?channel=1&subtype=0
webrtc:
candidates:
- 192.168.1.65:8555
- stun:8555
cameras:
test_cam:
enabled: True
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
# 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/test_cam
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
snapshots:
enabled: True
timestamp: False
bounding_box: True
retain:
default: 7
ui:
order: 1 Relevant log output2024-02-29 00:41:38.247364981 [INFO] Preparing Frigate...
2024-02-29 00:41:38.274836583 [INFO] Starting Frigate...
2024-02-29 00:41:39.359626308 [2024-02-29 00:41:39] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-02-29 00:41:39.386934214 [2024-02-29 00:41:39] peewee_migrate.logs INFO : Starting migrations
2024-02-29 00:41:39.391142653 [2024-02-29 00:41:39] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-29 00:41:39.400375494 [2024-02-29 00:41:39] frigate.app INFO : Recording process started: 298
2024-02-29 00:41:39.402502195 [2024-02-29 00:41:39] frigate.app INFO : go2rtc process pid: 89
2024-02-29 00:41:39.415450138 [2024-02-29 00:41:39] detector.cpu INFO : Starting detection process: 307
2024-02-29 00:41:39.418638998 [2024-02-29 00:41:39] frigate.app INFO : Output process started: 309
2024-02-29 00:41:39.418808656 [2024-02-29 00:41:39] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-29 00:41:39.432803147 [2024-02-29 00:41:39] frigate.app INFO : Camera processor started for test_cam: 315
2024-02-29 00:41:39.437217359 [2024-02-29 00:41:39] frigate.app INFO : Capture process started for test_cam: 317
2024-02-29 00:41:39.455211565 [2024-02-29 00:41:39] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:41:39.455458043 [2024-02-29 00:41:39] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:41:59.468550414 [2024-02-29 00:41:59] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:41:59.468860826 [2024-02-29 00:41:59] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:41:59.469627536 [2024-02-29 00:41:59] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x5581e831d7c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:41:59.469935469 [2024-02-29 00:41:59] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:41:59.470755313 [2024-02-29 00:41:59] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:41:59.471018088 [2024-02-29 00:41:59] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:41:59.486854986 [2024-02-29 00:41:59] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x563dc75a3740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:41:59.488030202 [2024-02-29 00:41:59] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:41:59.488042882 [2024-02-29 00:41:59] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:41:59.488057755 [2024-02-29 00:41:59] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:41:59.488987918 [2024-02-29 00:41:59] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:41:59.489002007 [2024-02-29 00:41:59] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:41:59.497134331 [2024-02-29 00:41:59] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:41:59.497565874 [2024-02-29 00:41:59] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:09.503787386 [2024-02-29 00:42:09] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:09.504417942 [2024-02-29 00:42:09] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:09.504820379 [2024-02-29 00:42:09] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55a7196ad7c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:09.505737130 [2024-02-29 00:42:09] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:09.505753147 [2024-02-29 00:42:09] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:09.505759802 [2024-02-29 00:42:09] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:09.522620603 [2024-02-29 00:42:09] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x55b8a5ca6740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:09.522634145 [2024-02-29 00:42:09] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:09.522640890 [2024-02-29 00:42:09] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:09.522646434 [2024-02-29 00:42:09] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:09.522702403 [2024-02-29 00:42:09] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:09.522708685 [2024-02-29 00:42:09] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:09.531763261 [2024-02-29 00:42:09] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:09.532631341 [2024-02-29 00:42:09] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:19.538622837 [2024-02-29 00:42:19] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:19.539170561 [2024-02-29 00:42:19] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:19.539663656 [2024-02-29 00:42:19] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55e0da5b47c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:19.540573209 [2024-02-29 00:42:19] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:19.540585435 [2024-02-29 00:42:19] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:19.540591579 [2024-02-29 00:42:19] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:19.557812464 [2024-02-29 00:42:19] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x5572ca282740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:19.559126938 [2024-02-29 00:42:19] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:19.559139245 [2024-02-29 00:42:19] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:19.559144936 [2024-02-29 00:42:19] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:19.559149832 [2024-02-29 00:42:19] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:19.559154496 [2024-02-29 00:42:19] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:19.568108905 [2024-02-29 00:42:19] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:19.569400758 [2024-02-29 00:42:19] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:29.574957211 [2024-02-29 00:42:29] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:29.576366375 [2024-02-29 00:42:29] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:29.576379315 [2024-02-29 00:42:29] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55d6ac3a97c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:29.576385199 [2024-02-29 00:42:29] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:29.576390930 [2024-02-29 00:42:29] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:29.576395887 [2024-02-29 00:42:29] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:29.594093299 [2024-02-29 00:42:29] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x55766e213740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:29.595120386 [2024-02-29 00:42:29] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:29.596138427 [2024-02-29 00:42:29] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:29.597178972 [2024-02-29 00:42:29] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:29.598241577 [2024-02-29 00:42:29] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:29.598941843 [2024-02-29 00:42:29] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:29.603927328 [2024-02-29 00:42:29] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:29.605156255 [2024-02-29 00:42:29] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:39.610912566 [2024-02-29 00:42:39] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:39.611523858 [2024-02-29 00:42:39] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:39.612684165 [2024-02-29 00:42:39] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55d1220557c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:39.612695634 [2024-02-29 00:42:39] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:39.612701985 [2024-02-29 00:42:39] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:39.612707064 [2024-02-29 00:42:39] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:39.628700920 [2024-02-29 00:42:39] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x5616a841c740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:39.629205414 [2024-02-29 00:42:39] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:39.629356953 [2024-02-29 00:42:39] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:39.629998846 [2024-02-29 00:42:39] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:39.630012936 [2024-02-29 00:42:39] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:39.631080279 [2024-02-29 00:42:39] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:39.639551669 [2024-02-29 00:42:39] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:39.640226223 [2024-02-29 00:42:39] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:49.646641460 [2024-02-29 00:42:49] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:49.647282736 [2024-02-29 00:42:49] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:49.647599358 [2024-02-29 00:42:49] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x5638e813a7c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:49.648594401 [2024-02-29 00:42:49] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:49.648609865 [2024-02-29 00:42:49] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:49.648616682 [2024-02-29 00:42:49] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:49.667231626 [2024-02-29 00:42:49] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x563302031740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:49.667675757 [2024-02-29 00:42:49] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:49.668914770 [2024-02-29 00:42:49] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:49.668929862 [2024-02-29 00:42:49] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:49.668937091 [2024-02-29 00:42:49] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:49.668943180 [2024-02-29 00:42:49] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:49.677607072 [2024-02-29 00:42:49] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:49.679019558 [2024-02-29 00:42:49] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:42:57.386027029 [2024-02-29 00:42:57] frigate.util.services ERROR : Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found
2024-02-29 00:42:57.386038423
2024-02-29 00:42:59.684093667 [2024-02-29 00:42:59] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:42:59.684510847 [2024-02-29 00:42:59] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:42:59.684547055 [2024-02-29 00:42:59] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x562947b0b7c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:59.685089315 [2024-02-29 00:42:59] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:42:59.685098506 [2024-02-29 00:42:59] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:59.685102851 [2024-02-29 00:42:59] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:59.697296985 [2024-02-29 00:42:59] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x55d75e242740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:42:59.697581155 [2024-02-29 00:42:59] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:42:59.697734067 [2024-02-29 00:42:59] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:42:59.697967687 [2024-02-29 00:42:59] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:42:59.698175962 [2024-02-29 00:42:59] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:42:59.698355187 [2024-02-29 00:42:59] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:42:59.702308835 [2024-02-29 00:42:59] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:42:59.703181467 [2024-02-29 00:42:59] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:43:09.709403716 [2024-02-29 00:43:09] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:43:09.709989741 [2024-02-29 00:43:09] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:43:09.710010156 [2024-02-29 00:43:09] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55e4b466e7c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:43:09.710142983 [2024-02-29 00:43:09] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:43:09.710375383 [2024-02-29 00:43:09] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:43:09.710452787 [2024-02-29 00:43:09] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:43:09.722553412 [2024-02-29 00:43:09] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x55ff70047740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:43:09.722852058 [2024-02-29 00:43:09] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:43:09.722855993 [2024-02-29 00:43:09] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:43:09.722857503 [2024-02-29 00:43:09] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:43:09.722858845 [2024-02-29 00:43:09] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:43:09.722860183 [2024-02-29 00:43:09] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:43:09.726388312 [2024-02-29 00:43:09] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:43:09.726505781 [2024-02-29 00:43:09] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread...
2024-02-29 00:43:19.730785604 [2024-02-29 00:43:19] watchdog.test_cam ERROR : Ffmpeg process crashed unexpectedly for test_cam.
2024-02-29 00:43:19.731184468 [2024-02-29 00:43:19] watchdog.test_cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-29 00:43:19.731783596 [2024-02-29 00:43:19] ffmpeg.test_cam.detect ERROR : [AVHWDeviceContext @ 0x55da7c2b57c0] No VA display found for device -hwaccel_output_format.
2024-02-29 00:43:19.731912915 [2024-02-29 00:43:19] ffmpeg.test_cam.detect ERROR : Device creation failed: -22.
2024-02-29 00:43:19.732570271 [2024-02-29 00:43:19] ffmpeg.test_cam.detect ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:43:19.732581274 [2024-02-29 00:43:19] ffmpeg.test_cam.detect ERROR : Error parsing global options: Invalid argument
2024-02-29 00:43:19.748435213 [2024-02-29 00:43:19] ffmpeg.test_cam.record ERROR : [AVHWDeviceContext @ 0x55bd2c465740] No VA display found for device -hwaccel_output_format.
2024-02-29 00:43:19.748447457 [2024-02-29 00:43:19] ffmpeg.test_cam.record ERROR : Device creation failed: -22.
2024-02-29 00:43:19.748453795 [2024-02-29 00:43:19] ffmpeg.test_cam.record ERROR : Failed to set value '-hwaccel_output_format' for option 'qsv_device': Invalid argument
2024-02-29 00:43:19.748459032 [2024-02-29 00:43:19] ffmpeg.test_cam.record ERROR : Error parsing global options: Invalid argument
2024-02-29 00:43:19.748463994 [2024-02-29 00:43:19] watchdog.test_cam INFO : Terminating the existing ffmpeg process...
2024-02-29 00:43:19.748468512 [2024-02-29 00:43:19] watchdog.test_cam INFO : Waiting for ffmpeg to exit gracefully...
2024-02-29 00:43:19.757374530 [2024-02-29 00:43:19] frigate.video ERROR : test_cam: Unable to read frames from ffmpeg process.
2024-02-29 00:43:19.757925538 [2024-02-29 00:43:19] frigate.video ERROR : test_cam: ffmpeg process is not running. exiting capture thread... FFprobe output from your cameraFFPROBE OUTPUT
Stream 0:
Return Code: 0
Video:
Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 704x480
FPS: 5/1
Audio:
Codec: AAC (Advanced Audio Coding)
Stream 1:
Return Code: 0
Video:
Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 2592x1944
FPS: 20/1
Audio:
Codec: AAC (Advanced Audio Coding) Frigate statsNo response Operating systemOther Install methodDocker Compose Coral versionUSB Network connectionWired Camera make and modelAmcrest IP5M-T1179EB-28MM Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I added the Here's the log:
|
Beta Was this translation helpful? Give feedback.
-
This is not a solution, but it is interesting that your first stream is the low-res one, while your second stream is high-res. I think you need to switch your detect and record streams. Again not the solution to your problem, just something I saw. |
Beta Was this translation helpful? Give feedback.
-
Doesn't your FFProbe show the opposite: |
Beta Was this translation helpful? Give feedback.
-
your GPU is not available inside the container
|
Beta Was this translation helpful? Give feedback.
I must have installed docker and docker compose improperly. I have installed Ubuntu 23.10 instead--with the version of docker that Canonical provides--and now I am able to get my Dahua camera working in Frigate. I also attached the Coral edge TPU via a powered USB hub. So this problem is solved.