public VideoFileInfoReader(IDiskProvider diskProvider, Logger logger) { _diskProvider = diskProvider; _logger = logger; // We bundle ffprobe for all platforms GlobalFFOptions.Configure(options => options.BinaryFolder = AppDomain.CurrentDomain.BaseDirectory); try { _pixelFormats = FFProbe.GetPixelFormats(); } catch (Exception e) { _logger.Error(e, "Failed to get supported pixel formats from ffprobe"); _pixelFormats = new List <FFProbePixelFormat>(); } }