Skip to content

Commit

Permalink
Refactor FFmpeg log level to panic for error-only logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofyre committed Sep 17, 2024
1 parent 4bfdce0 commit f2cdcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func generateArtworkAsync(urlStr, key, gifPath string) error {
"preset": "fast",
"multiple_requests": "1",
"buffer_size": "8192k",
"loglevel": "error", // Only log errors
"loglevel": "panic", // Only log errors
}).
GlobalArgs("-hide_banner"). // Hide the FFmpeg banner
OverWriteOutput().
Expand Down

0 comments on commit f2cdcdf

Please sign in to comment.