From ef0ced332c2f2ae58aa4e14a305ecb38a723d12d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Thu, 19 Dec 2024 01:16:59 +0800 Subject: [PATCH] params --- BetterGenshinImpact/BetterGenshinImpact.csproj | 2 +- BetterGenshinImpact/Core/Config/HotKeyConfig.cs | 2 +- BetterGenshinImpact/Core/Video/FfmpegRecorder.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BetterGenshinImpact/BetterGenshinImpact.csproj b/BetterGenshinImpact/BetterGenshinImpact.csproj index 08c335f2..ed76f6a9 100644 --- a/BetterGenshinImpact/BetterGenshinImpact.csproj +++ b/BetterGenshinImpact/BetterGenshinImpact.csproj @@ -10,7 +10,7 @@ true Assets\Images\logo.ico BetterGI - 0.37.5 + 10.37.6 x64 embedded diff --git a/BetterGenshinImpact/Core/Config/HotKeyConfig.cs b/BetterGenshinImpact/Core/Config/HotKeyConfig.cs index 5d334f41..2c23e54f 100644 --- a/BetterGenshinImpact/Core/Config/HotKeyConfig.cs +++ b/BetterGenshinImpact/Core/Config/HotKeyConfig.cs @@ -207,7 +207,7 @@ public partial class HotKeyConfig : ObservableObject // 键鼠录制/停止 [ObservableProperty] - private string _keyMouseMacroRecordHotkey = "K"; + private string _keyMouseMacroRecordHotkey = "F12"; [ObservableProperty] private string _keyMouseMacroRecordHotkeyType = HotKeyTypeEnum.KeyboardMonitor.ToString(); diff --git a/BetterGenshinImpact/Core/Video/FfmpegRecorder.cs b/BetterGenshinImpact/Core/Video/FfmpegRecorder.cs index 01f96c92..a778f122 100644 --- a/BetterGenshinImpact/Core/Video/FfmpegRecorder.cs +++ b/BetterGenshinImpact/Core/Video/FfmpegRecorder.cs @@ -39,7 +39,7 @@ public class FfmpegRecorder var processInfo = new ProcessStartInfo { FileName = FfmpegPath, - Arguments = $" -f gdigrab -hwaccel cuvid -show_region 1 -framerate 60 -use_wallclock_as_timestamps 1 -i title=原神 -pix_fmt yuv420p -c:v libx264 -preset ultrafast -f segment -segment_time 300 -reset_timestamps 1 -strftime 1 \"{_filePath}\"", + Arguments = $" -f gdigrab -hwaccel cuvid -show_region 1 -framerate 60 -use_wallclock_as_timestamps 1 -i title=原神 -pix_fmt yuv420p -c:v libx264 -preset ultrafast -f segment -segment_time 1800 -reset_timestamps 1 -strftime 1 \"{_filePath}\"", StandardInputEncoding = Encoding.UTF8, UseShellExecute = false, CreateNoWindow = true,