mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Fix
This commit is contained in:
parent
e5e42aa659
commit
8765c513cd
@ -69,7 +69,7 @@ class FFMpegConverter(threading.Thread):
|
|||||||
self.ffmpeg_cmd = parse_preset_hardware_acceleration_encode(
|
self.ffmpeg_cmd = parse_preset_hardware_acceleration_encode(
|
||||||
config.ffmpeg.hwaccel_args,
|
config.ffmpeg.hwaccel_args,
|
||||||
input="-f concat -y -protocol_whitelist pipe,file -safe 0 -i /dev/stdin",
|
input="-f concat -y -protocol_whitelist pipe,file -safe 0 -i /dev/stdin",
|
||||||
output=f"-g {PREVIEW_KEYFRAME_INTERVAL} -fpsmax {PREVIEW_OUTPUT_FPS} -bf 0 -b:v {PREVIEW_BIT_RATES[self.config.record.preview]} {FPS_VFR_PARAM} -movflags +faststart -pix_fmt yuv420p {self.path}",
|
output=f"-g {PREVIEW_KEYFRAME_INTERVAL} -fpsmax {PREVIEW_OUTPUT_FPS} -bf 0 -b:v {PREVIEW_BIT_RATES[self.config.record.preview.quality]} {FPS_VFR_PARAM} -movflags +faststart -pix_fmt yuv420p {self.path}",
|
||||||
type=EncodeTypeEnum.preview,
|
type=EncodeTypeEnum.preview,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user