Files
Mateusz Skoczek e3ec5c3a48 twitch vod downloading done
ffmpeg essentials

fix

Project reorganized

git lfs

ffmpeg removed

ffmpeg added
2024-02-22 02:25:13 +01:00

49 lines
1.0 KiB
C#

using FFMpegCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VDownload.Services.Data.Configuration;
using VDownload.Services.Data.Settings;
namespace VDownload.Services.Utility.FFmpeg
{
public interface IFFmpegService
{
FFmpegBuilder CreateBuilder();
}
public class FFmpegService : IFFmpegService
{
#region SERVICES
protected readonly IConfigurationService _configurationService;
protected readonly ISettingsService _settingsService;
#endregion
#region CONSTRUCTORS
public FFmpegService(IConfigurationService configurationService, ISettingsService settingsService)
{
_configurationService = configurationService;
_settingsService = settingsService;
}
#endregion
#region PUBLIC METHODS
public FFmpegBuilder CreateBuilder() => new FFmpegBuilder(_configurationService, _settingsService);
#endregion
}
}