public MediaManager(Engine engine) { _engine = engine; _recorders = new List <CasparRecorder>(); _fileManager = new FileManager(new TempDirectory(this)); }
private void _export(MediaExportDescription export, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat) { FileManager.Queue(new ExportOperation { Sources = new[] { export }, DestProperties = export.Media, StartTC = export.StartTC, Duration = export.Duration, AudioVolume = export.AudioVolume, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat }); }
public LoudnessOperation(FileManager ownerFileManager) : base(ownerFileManager) { Kind = TFileOperationKind.Loudness; }
internal ExportOperation(FileManager fileManager) : base(fileManager) { Kind = TFileOperationKind.Export; TryCount = 1; }