public FFProbeWrapper(IOptions <FFMpegSettings> ffmpegSettings,
                       IOptions <VideoSettings> videoSettings,
                       IShellExecutableFactory shellExecutableFactory)
 {
     _options                = ffmpegSettings.Value;
     _videoSettings          = videoSettings.Value;
     _shellExecutableFactory = shellExecutableFactory;
 }
Example #2
0
 public FFMpegService(IOptions <FFMpegSettings> settings, ILogger <FFMpegService> logger)
 {
     _logger   = logger;
     _settings = settings.Value;
 }