[Bug]: Possible camera name collision if names only differ by a number at the end resulting in "Unable to read frames from ffmpeg proceess" #15380
-
Checklist
Describe the problem you are havingAfter the upgrade from frigate 0.13.2 to 0.15.0-beta2 I notiched "Unable to read frames from ffmpeg proceess." after some trial and error I could narrow it down to the naming of the cameras. Go2RTC works fine => Cameras can be opend via vlc using the Go2RTC provided streams The bug does not occure if the cameras are named cam_carport1 & cam_carport2, only when they are named "cam_carport" & "cam_carport2"! Steps to reproduce
Version0.15.0-beta2 In which browser(s) are you experiencing the issue with?No response Frigate config filedetectors:
ov:
type: openvino
device: AUTO
model:
path: xxxx
logger:
default: warning
objects:
track:
- person
filters:
person:
min_score: 0.5
threshold: 0.75
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
input_args: preset-rtsp-restream
ui: {}
birdseye:
enabled: true
restream: true
width: 2560
height: 1440
mode: continuous
layout:
scaling_factor: 3.0
go2rtc:
streams:
cam_carport_rec:
- rtsp://user:password@aaa:554/h264Preview_01_main
cam_carport2_rec:
- rtsp://user:password@bbb:554/h264Preview_01_main
cam_entrance_rec:
- rtsp://user:password@ccc:554/h264Preview_01_main
cameras:
cam_carport:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/cam_carport_rec?video=copy&audio=copy
roles:
- record
- detect
cam_carport2:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/cam_carport2_rec?video=copy&audio=copy
roles:
- record
- detect
cam_entrance:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/cam_entrance_rec?video=copy&audio=copy
roles:
- record
- detect docker-compose file or Docker CLI commandNo relevance for this bug. Tested with custom and Reference from https://docs.frigate.video/frigate/installation/ Relevant Frigate log output2024-12-06 16:47:44.061125237 [2024-12-06 16:47:44] frigate.video ERROR : cam_carport: Unable to read frames from ffmpeg process.
2024-12-06 16:47:44.061127787 [2024-12-06 16:47:44] frigate.video ERROR : cam_carport: Unable to read frames from ffmpeg process.
.... Relevant go2rtc log outputNo errors in go2rtc log. Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelReolink RLC-520A & 810A Screenshots of the Frigate UI's System metrics pagesNot necessary for reproduction. Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This has already been fixed 👍 |
Beta Was this translation helpful? Give feedback.
This has already been fixed 👍