Пример #1
0
 public X264EncodeService(IX264ValidationService validationService, X264FileSettings x264FileSettings, List<X264File> x264Files)
 {
     _x264Files = x264Files;
     _x264FileSettings = x264FileSettings;
     _errors = new ErrorCollection();
     _validationService = validationService;
 }
Пример #2
0
        private X264FileSettings GetX264FileSettings()
        {
            X264FileSettings settings = new X264FileSettings()
            {
                EncodeType = EncodeType,
                vfw4x264Exe = _vfw4x264Path,
                X264Template = txtX264Template.Text.Trim(),
                X264BatchFilePath = txtX264BatchFileOutputDirectory.Text.Trim(),
                X264EncodeAndLogFileOutputDirectoryPathType = _batchGuyEAC3ToSettings.X264FileSettings.X264EncodeAndLogFileOutputDirectoryPathType,
                X264EncodeAndLogFileOutputDirectoryPath = _batchGuyEAC3ToSettings.X264FileSettings.X264EncodeAndLogFileOutputDirectoryPath
            };

            settings.SaveX264LogFileToDifferentDirectory = chkSaveLogFileToDifferentDirectory.Checked;
            if (settings.SaveX264LogFileToDifferentDirectory)
                settings.X264LogFileOutputDirectoryPath = txtX264LogFileSaveDirectory.Text.Trim();

            return settings;
        }
Пример #3
0
 public X264ValidationService(X264FileSettings x264FileSettings, List<X264File> x264Files)
 {
     _x264FileSettings = x264FileSettings;
     _errors = new ErrorCollection();
     _x264Files = x264Files;
 }