mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25: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)
|
super().__init__(**config)
|
||||||
|
|
||||||
|
self._ffmpeg_cmds = self._create_ffmpeg_cmds()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def frame_shape(self) -> Tuple[int, int]:
|
def frame_shape(self) -> Tuple[int, int]:
|
||||||
return self.detect.height, self.detect.width
|
return self.detect.height, self.detect.width
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user