[Camera Support]: #13062
-
One camera isn't working correctlyThe new 0.14.0 release can't open my camera detect stream with ffmpeg. The older release working correctly. I have a two same camera. One is working, one isn't. When I click to this camera on the main site, the main stream is running and show. I don't know why can't. BogacsNagykapu is working, but BogacsUdvar isn't work. But the camera is same type, and all video encoding is same. Version0.14.0 Frigate config fileBogacsNagykapu:
- rtsp://192.168.10.172:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
BogacsNagykapu_sub:
- rtsp://192.168.10.172:554/user=admin_password=tlJwpbo6_channel=1_stream=1.sdp?real_stream
BogacsUdvar:
- rtsp://192.168.10.100:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream
BogacsUdvar_sub:
- rtsp://192.168.10.100:554/user=admin_password=tlJwpbo6_channel=1_stream=1.sdp?real_stream Relevant log output2024-08-14 13:01:47.189148950 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for CAM6_Elokert: 509
2024-08-14 13:01:47.189150790 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for CAM7_Elokert2: 518
2024-08-14 13:01:47.189295373 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for CAM8_Gyula: 526
2024-08-14 13:01:47.189404548 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for BogacsNagykapu: 533
2024-08-14 13:01:47.189407088 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for BogacsUdvar: 542
2024-08-14 13:01:47.189521894 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for GarazsMogott: 550
2024-08-14 13:01:47.189635288 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for Fuvesterulet: 555
2024-08-14 13:01:47.189637598 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for Nagykapu: 560
2024-08-14 13:01:47.189754934 [2024-08-14 13:01:44] frigate.app INFO : Camera processor started for Udvar: 563
2024-08-14 13:01:47.189862872 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM1_Terasz: 582
2024-08-14 13:01:47.189969690 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM2_Kiskert: 590
2024-08-14 13:01:47.190063899 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM3_Nagykapu: 594
2024-08-14 13:01:47.190066436 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM4_DeliUtca: 598
2024-08-14 13:01:47.190212396 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM5_DeliKozmaSarok: 602
2024-08-14 13:01:47.190326512 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM6_Elokert: 606
2024-08-14 13:01:47.190329043 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM7_Elokert2: 611
2024-08-14 13:01:47.190444158 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for CAM8_Gyula: 617
2024-08-14 13:01:47.190553782 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for BogacsNagykapu: 621
2024-08-14 13:01:47.190654372 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for BogacsUdvar: 623
2024-08-14 13:01:47.190754668 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for GarazsMogott: 628
2024-08-14 13:01:47.190757049 [2024-08-14 13:01:44] frigate.app INFO : Capture process started for Fuvesterulet: 635
2024-08-14 13:01:47.190873161 [2024-08-14 13:01:45] frigate.app INFO : Capture process started for Nagykapu: 642
2024-08-14 13:01:47.190962820 [2024-08-14 13:01:45] frigate.app INFO : Capture process started for Udvar: 650
2024-08-14 13:01:47.194123672 [2024-08-14 13:01:47] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-08-14 13:02:05.108807952 [2024-08-14 13:02:05] watchdog.BogacsUdvar ERROR : Ffmpeg process crashed unexpectedly for BogacsUdvar.
2024-08-14 13:02:05.108824745 [2024-08-14 13:02:05] watchdog.BogacsUdvar ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-08-14 13:02:05.108829802 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.detect ERROR : [AVHWDeviceContext @ 0x55daf3dc5500] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2024-08-14 13:02:05.108831701 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.detect ERROR : [AVHWDeviceContext @ 0x55daf3dc5500] Failed to initialise VAAPI connection: 1 (operation failed).
2024-08-14 13:02:05.108833861 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.detect ERROR : Device creation failed: -5.
2024-08-14 13:02:05.108835666 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Input/output error
2024-08-14 13:02:05.108858607 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.detect ERROR : Error parsing global options: Input/output error
2024-08-14 13:02:05.126121114 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.record ERROR : [AVHWDeviceContext @ 0x558b32bfe600] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2024-08-14 13:02:05.126125726 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.record ERROR : [AVHWDeviceContext @ 0x558b32bfe600] Failed to initialise VAAPI connection: 1 (operation failed).
2024-08-14 13:02:05.126484187 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.record ERROR : Device creation failed: -5.
2024-08-14 13:02:05.126487710 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.record ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Input/output error
2024-08-14 13:02:05.126824750 [2024-08-14 13:02:05] ffmpeg.BogacsUdvar.record ERROR : Error parsing global options: Input/output error
2024-08-14 13:02:05.126947661 [2024-08-14 13:02:05] watchdog.BogacsUdvar INFO : Terminating the existing ffmpeg process...
2024-08-14 13:02:05.127115372 [2024-08-14 13:02:05] watchdog.BogacsUdvar INFO : Waiting for ffmpeg to exit gracefully...
2024-08-14 13:02:05.144048499 [2024-08-14 13:02:05] frigate.video ERROR : BogacsUdvar: Unable to read frames from ffmpeg process.
2024-08-14 13:02:05.144053976 [2024-08-14 13:02:05] frigate.video ERROR : BogacsUdvar: ffmpeg process is not running. exiting capture thread... FFprobe output from your cameraInput #0, rtsp, from 'rtsp://192.168.10.100:554/user=admin_password=tlJwpbo6_channel=1_stream=1.sdp?real_stream':
Metadata:
title : RTSP Session
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 800x448, 25 fps, 25 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s Frigate statsNo response Operating systemDebian Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelHiseuu Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
The ffmpeg version between releases is identical In this case it's because it detected hwaccel, you need to change the driver to i965 so it works correctly |
Beta Was this translation helpful? Give feedback.
looks like one camera is set to hevc but your hardware does not support decoding it, so for this camera hwaccel needs to be disabled
[hevc @ 0x55a08207f800] No support for codec hevc profile 1.