Avoid logging ffmpeg banner and progress info
This commit is contained in:
parent
d5f57f3ca7
commit
a1f1faba82
@ -112,7 +112,9 @@ public static class Chromaprint
|
||||
{
|
||||
var ffmpegPath = Plugin.Instance?.FFmpegPath ?? "ffmpeg";
|
||||
|
||||
var info = new ProcessStartInfo(ffmpegPath, args)
|
||||
// Prepend some flags to prevent FFmpeg from logging it's banner and progress information
|
||||
// for each file that is fingerprinted.
|
||||
var info = new ProcessStartInfo(ffmpegPath, args.Insert(0, "-hide_banner -loglevel warning "))
|
||||
{
|
||||
WindowStyle = ProcessWindowStyle.Hidden,
|
||||
CreateNoWindow = true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user