mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
set jsmpeg video size to same as camera
This commit is contained in:
parent
ed761d1767
commit
58cfb8bba4
@ -316,7 +316,11 @@ def output_frames(config: FrigateConfig, video_output_queue):
|
|||||||
|
|
||||||
for camera, cam_config in config.cameras.items():
|
for camera, cam_config in config.cameras.items():
|
||||||
converters[camera] = FFMpegConverter(
|
converters[camera] = FFMpegConverter(
|
||||||
cam_config.frame_shape[1], cam_config.frame_shape[0], 640, 320, 8
|
cam_config.frame_shape[1],
|
||||||
|
cam_config.frame_shape[0],
|
||||||
|
cam_config.frame_shape[1],
|
||||||
|
cam_config.frame_shape[0],
|
||||||
|
8,
|
||||||
)
|
)
|
||||||
broadcasters[camera] = BroadcastThread(
|
broadcasters[camera] = BroadcastThread(
|
||||||
camera, converters[camera], websocket_server
|
camera, converters[camera], websocket_server
|
||||||
|
Loading…
Reference in New Issue
Block a user