Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiming748 committed Dec 12, 2023
1 parent 620ae4f commit e06be38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ mission = video
# mission = louder
# mission = ytdlp
[log]
# level = Debug
level = Info
level = Debug
# level = Info
# level = Warn
# level = Error
[pattern]
Expand Down
5 changes: 4 additions & 1 deletion console.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
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;
2 changes: 1 addition & 1 deletion processVideo/h265.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e06be38

Please sign in to comment.