소스 검색

set jsmpeg video size to same as camera

Blake Blackshear 3 년 전
부모
커밋
58cfb8bba4
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      frigate/output.py

+ 5 - 1
frigate/output.py

@@ -316,7 +316,11 @@ def output_frames(config: FrigateConfig, video_output_queue):
 
     for camera, cam_config in config.cameras.items():
         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(
             camera, converters[camera], websocket_server