From e06be38a8fa67315fc0172280dc3f3c4e203ebb8 Mon Sep 17 00:00:00 2001 From: mi wsl Date: Tue, 12 Dec 2023 10:42:58 +0800 Subject: [PATCH] save --- conf.ini | 4 ++-- console.sql | 5 ++++- processVideo/h265.go | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/conf.ini b/conf.ini index c6ef5a3..2df63bb 100644 --- a/conf.ini +++ b/conf.ini @@ -18,8 +18,8 @@ mission = video # mission = louder # mission = ytdlp [log] -# level = Debug -level = Info +level = Debug +# level = Info # level = Warn # level = Error [pattern] diff --git a/console.sql b/console.sql index 6d0141a..d5b404d 100644 --- a/console.sql +++ b/console.sql @@ -8,4 +8,7 @@ drop table file; select * from video order by id desc ; select * from task order by id desc ; -select * from err order by create_time desc ; \ No newline at end of file +select * from err order by create_time desc ; + +SELECT src,dst,create_time FROM history; +SELECT id,src_name,dst_name,create_time FROM save ORDER BY id DESC; \ No newline at end of file diff --git a/processVideo/h265.go b/processVideo/h265.go index 6e87bc9..476cf23 100644 --- a/processVideo/h265.go +++ b/processVideo/h265.go @@ -75,7 +75,7 @@ func ProcessVideo2H265(in GetFileInfo.BasicInfo, threads string) { // info := GetFileInfo.GetVideoFileInfo(in.FullPath) if fmt.Sprintf("%v", cpuid.CPU.VendorID) == "Intel" { b := strings.Join([]string{mi.VideoBitRate, "k"}, "") - slog.Info("获取的比特率", slog.String("bitrate", b)) + slog.Debug("获取的比特率", slog.String("bitrate", b)) if b == "" || b == "0" || b == "k" { slog.Warn("获取比特率失败", slog.String("bitrate", b)) goto AGAIN