mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 09:15:22 +03:00
create ffmpeg commands on startup
This commit is contained in:
parent
3dd3786055
commit
17c26a3457
@ -549,6 +549,8 @@ class CameraConfig(FrigateBaseModel):
|
||||
|
||||
super().__init__(**config)
|
||||
|
||||
self._ffmpeg_cmds = self._create_ffmpeg_cmds()
|
||||
|
||||
@property
|
||||
def frame_shape(self) -> Tuple[int, int]:
|
||||
return self.detect.height, self.detect.width
|
||||
|
||||
Loading…
Reference in New Issue
Block a user