private void Export(ExportMedia export, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
 {
     _fileManager.Queue(new ExportOperation()
     {
         ExportMediaList = new[] { export }, DestMediaName = export.Media.MediaName, StartTC = export.StartTC, Duration = export.Duration, AudioVolume = export.AudioVolume, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
     });
 }
 public void Export(IEnumerable <ExportMedia> exportList, bool asSingleFile, string singleFilename, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
 {
     if (asSingleFile)
     {
         _fileManager.Queue(new ExportOperation()
         {
             ExportMediaList = exportList, DestMediaName = singleFilename, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
         });
     }
     else
     {
         foreach (ExportMedia e in exportList)
         {
             Export(e, directory, mXFAudioExportFormat, mXFVideoExportFormat);
         }
     }
 }
        public void Export(IEnumerable <MediaExportDescription> exportList, bool asSingleFile, string singleFilename, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
        {
            if (!Engine.HaveRight(EngineRight.MediaExport))
            {
                return;
            }

            if (asSingleFile)
            {
                _fileManager.Queue(new ExportOperation(_fileManager)
                {
                    ExportMediaList = exportList, DestMediaName = singleFilename, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
                });
            }
            else
            {
                foreach (MediaExportDescription e in exportList)
                {
                    _export(e, directory, mXFAudioExportFormat, mXFVideoExportFormat);
                }
            }
        }
 public void Export(IEnumerable<MediaExportDescription> exportList, bool asSingleFile, string singleFilename, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
 {
     Invoke(parameters: new object[] { exportList, asSingleFile, singleFilename, directory, mXFAudioExportFormat, mXFVideoExportFormat });
 }
Exemple #5
0
 private void _export(MediaExportDescription export, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
 {
     _fileManager.Queue(new ExportOperation(_fileManager)
     {
         Source = export.Media, ExportMediaList = new[] { export }, DestProperties = export.Media, StartTC = export.StartTC, Duration = export.Duration, AudioVolume = export.AudioVolume, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
     });
 }
Exemple #6
0
        public void Export(IEnumerable <MediaExportDescription> exportList, bool asSingleFile, string singleFilename, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
        {
            if (!Engine.HaveRight(EngineRight.MediaExport))
            {
                return;
            }

            if (asSingleFile)
            {
                FileManager.Queue(new ExportOperation {
                    Sources = exportList, DestProperties = new MediaProxy {
                        FileName = singleFilename, VideoFormat = Engine.VideoFormat, MediaName = Path.GetFileNameWithoutExtension(singleFilename)
                    }, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
                });
            }
            else
            {
                foreach (MediaExportDescription e in exportList)
                {
                    _export(e, directory, mXFAudioExportFormat, mXFVideoExportFormat);
                }
            }
        }