示例#1
0
 public MeGUISettings()
 {
     dialogSettings              = new DialogSettings();
     sdSettings                  = new SourceDetectorSettings();
     AedSettings                 = new AutoEncodeDefaultsSettings();
     autoUpdate                  = true;
     useadvancedtooltips         = true;
     avc2aviPath                 = "avc2avi.exe";
     aviMuxGUIPath               = "avimux_gui.exe";
     faacPath                    = "faac.exe";
     mencoderPath                = "mencoder.exe";
     mp4boxPath                  = "mp4box.exe";
     mkvmergePath                = "mkvmerge.exe";
     x264Path                    = "x264.exe";
     divxMuxerPath               = "divxmux.exe";
     dgIndexPath                 = "dgindex.exe";
     xvidEncrawPath              = "xvid_encraw.exe";
     lamePath                    = "lame.exe";
     neroAacEncPath              = "neroAacEnc.exe";
     oggEnc2Path                 = "oggenc2.exe";
     encAudXPath                 = "enc_AudX_CLI.exe";
     encAacPlusPath              = "enc_aacPlus.exe";
     ffmpegPath                  = "ffmpeg.exe";
     recalculateMainMovieBitrate = false;
     autoForceFilm               = true;
     autoStartQueue              = false;
     forceFilmThreshold          = new decimal(95);
     defaultLanguage1            = "";
     defaultLanguage2            = "";
     defaultPriority             = ProcessPriority.IDLE;
     acceptableAspectError       = 5;
     shutdown                    = false;
     autoOpenScript              = true;
     enableMP3inMP4              = false;
     overwriteStats              = true;
     keep2of3passOutput          = false;
     deleteCompletedJobs         = false;
     autoSetNbThreads            = true;
     nbPasses                    = 2;
     deleteIntermediateFiles     = true;
     deleteAbortedOutput         = true;
     openProgressWindow          = true;
     freshOggEnc2                = true;
     videoExtension              = "";
     audioExtension              = "";
     safeProfileAlteration       = false;
 }
示例#2
0
        public MeGUISettings()
        {
            strMeGUIPath = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
            autoscroll = true;
            autoUpdateServerLists = new string[][] { new string[] { "Stable", "http://megui.org/auto/stable/", "http://megui.xvidvideo.ru/auto/stable/" },
                new string[] { "Development", "http://megui.org/auto/", "http://megui.xvidvideo.ru/auto/" } };
            acceptableFPSError = 0.01M;
            autoUpdateServerSubList = 0;
            maxServersToTry = 5;
            dialogSettings = new DialogSettings();
            sdSettings = new SourceDetectorSettings();
            AedSettings = new AutoEncodeDefaultsSettings();
            autoUpdate = true;
            useadvancedtooltips = true;
            audioSamplesPerUpdate = 100000;
            aviMuxGUIPath = getDownloadPath(@"tools\avimux_gui\avimux_gui.exe");
            besplitPath = "besplit.exe";
            faacPath = getDownloadPath(@"tools\faac\faac.exe");
            mencoderPath = getDownloadPath(@"tools\mencoder\mencoder.exe");
            mp4boxPath = getDownloadPath(@"tools\mp4box\mp4box.exe");
            mkvmergePath = getDownloadPath(@"tools\mkvmerge\mkvmerge.exe");

            x264Path = getDownloadPath(@"tools\x264\x264_64.exe");

            x264Path = getDownloadPath(@"tools\x264\x264.exe");

            dgIndexPath = getDownloadPath(@"tools\dgindex\dgindex.exe");
            ffmsIndexPath = getDownloadPath(@"tools\ffms\ffmsindex.exe");
            xvidEncrawPath = getDownloadPath(@"tools\xvid_encraw\xvid_encraw.exe");
            lamePath = getDownloadPath(@"tools\lame\lame.exe");
            neroAacEncPath = "neroAacEnc.exe";
            oggEnc2Path = getDownloadPath(@"tools\oggenc2\oggenc2.exe");
            encAudXPath = getDownloadPath(@"tools\encaudxcli\enc_AudX_CLI.exe");
            encAacPlusPath = getDownloadPath(@"tools\enc_aacplus\enc_aacPlus.exe");
            ffmpegPath = getDownloadPath(@"tools\ffmpeg\ffmpeg.exe");
            aftenPath = getDownloadPath(@"tools\aften\aften.exe");
            yadifPath = getDownloadPath(@"tools\yadif\yadif.dll");
            recalculateMainMovieBitrate = false;
            autoForceFilm = true;
            autoStartQueue = false;
            forceFilmThreshold = new decimal(95);
            defaultLanguage1 = "";
            defaultLanguage2 = "";
            defaultPriority = ProcessPriority.IDLE;
            acceptableAspectError = 1;
            afterEncoding = AfterEncoding.DoNothing;
            autoOpenScript = true;
            enableMP3inMP4 = false;
            overwriteStats = true;
            keep2of3passOutput = false;
            deleteCompletedJobs = false;
            nbPasses = 2;
            deleteIntermediateFiles = true;
            deleteAbortedOutput = true;
            openProgressWindow = true;
            freshOggEnc2 = true;
            videoExtension = "";
            audioExtension = "";
            safeProfileAlteration = false;
            alwaysOnTop = false;
            usehttpproxy = false;
            httpproxyaddress = "";
            httpproxyport = "";
            httpproxyuid = "";
            httpproxypwd = "";
            defaultOutputDir = "";
            tempDirMP4 = "";
            addTimePosition = false;
            dgavcIndexPath = getDownloadPath(@"tools\dgavcindex\dgavcindex.exe");
            dgnvIndexPath = getDownloadPath(@"tools\dgindexnv\dgindexnv.exe");
            eac3toPath = getDownloadPath(@"tools\eac3to\eac3to.exe");
            tsmuxerPath = getDownloadPath(@"tools\tsmuxer\tsmuxer.exe");
            alwaysbackupfiles = true;
            forcerawavcextension = false;
            meguiupdatecache = System.IO.Path.Combine(strMeGUIPath, "update_cache");
            avisynthpluginspath = System.IO.Path.Combine(strMeGUIPath, @"tools\avisynth_plugin");
            strMainFileFormat = "";
            strMainAudioFormat = "";
            strLastSourcePath = "";
            strLastDestinationPath = "";
            bUseCUVIDserver = false;
            minComplexity = 72;
            maxComplexity = 78;
        }
示例#3
0
 public MeGUISettings()
 {
     autoscroll            = true;
     autoUpdateServerLists = new string[][] { new string[] { "Stable", "http://megui.org/auto/stable/", "http://megui.xvidvideo.ru/auto/stable/" },
                                              new string[] { "Development", "http://megui.org/auto/", "http://megui.xvidvideo.ru/auto/" } };
     acceptableFPSError      = 0.01M;
     autoUpdateServerSubList = 0;
     maxServersToTry         = 5;
     dialogSettings          = new DialogSettings();
     sdSettings            = new SourceDetectorSettings();
     AedSettings           = new AutoEncodeDefaultsSettings();
     autoUpdate            = true;
     useadvancedtooltips   = true;
     audioSamplesPerUpdate = 100000;
     avc2aviPath           = "avc2avi.exe";
     aviMuxGUIPath         = "avimux_gui.exe";
     besplitPath           = "besplit.exe";
     faacPath       = "faac.exe";
     mencoderPath   = "mencoder.exe";
     mp4boxPath     = "mp4box.exe";
     mkvmergePath   = "mkvmerge.exe";
     x264Path       = "x264.exe";
     dgIndexPath    = "dgindex.exe";
     xvidEncrawPath = "xvid_encraw.exe";
     lamePath       = "lame.exe";
     neroAacEncPath = "neroAacEnc.exe";
     oggEnc2Path    = "oggenc2.exe";
     encAudXPath    = "enc_AudX_CLI.exe";
     encAacPlusPath = "enc_aacPlus.exe";
     ffmpegPath     = "ffmpeg.exe";
     aftenPath      = "aften.exe";
     yadifPath      = "yadif.dll";
     recalculateMainMovieBitrate = false;
     autoForceFilm         = true;
     autoStartQueue        = false;
     forceFilmThreshold    = new decimal(95);
     defaultLanguage1      = "";
     defaultLanguage2      = "";
     defaultPriority       = ProcessPriority.IDLE;
     acceptableAspectError = 1;
     afterEncoding         = AfterEncoding.DoNothing;
     autoOpenScript        = true;
     enableMP3inMP4        = false;
     overwriteStats        = true;
     keep2of3passOutput    = false;
     deleteCompletedJobs   = false;
     nbPasses = 2;
     deleteIntermediateFiles = true;
     deleteAbortedOutput     = true;
     openProgressWindow      = true;
     freshOggEnc2            = true;
     videoExtension          = "";
     audioExtension          = "";
     safeProfileAlteration   = false;
     alwaysOnTop             = false;
     usehttpproxy            = false;
     httpproxyaddress        = "";
     httpproxyport           = "";
     httpproxyuid            = "";
     httpproxypwd            = "";
     defaultOutputDir        = "";
     addTimePosition         = false;
 }
示例#4
0
        public MeGUISettings()
        {
            strMeGUIPath          = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
            autoscroll            = true;
            autoUpdateServerLists = new string[][] { new string[] { "Stable", "http://megui.org/auto/stable/", "http://megui.xvidvideo.ru/auto/stable/" },
                                                     new string[] { "Development", "http://megui.org/auto/", "http://megui.xvidvideo.ru/auto/" }, new string[] { "Custom" } };
            acceptableFPSError      = 0.01M;
            autoUpdateServerSubList = 0;
            autoUpdate            = true;
            dialogSettings        = new DialogSettings();
            sdSettings            = new SourceDetectorSettings();
            AedSettings           = new AutoEncodeDefaultsSettings();
            useadvancedtooltips   = true;
            audioSamplesPerUpdate = 100000;
            aviMuxGUIPath         = getDownloadPath(@"tools\avimux_gui\avimux_gui.exe");
#if x64
            qaacPath = getDownloadPath(@"tools\qaac\x64\qaac.exe");
#endif
#if x86
            qaacPath = getDownloadPath(@"tools\qaac\x86\qaac.exe");
#endif
            opusPath       = getDownloadPath(@"tools\opus\opusenc.exe");
            mp4boxPath     = getDownloadPath(@"tools\mp4box\mp4box.exe");
            mkvmergePath   = getDownloadPath(@"tools\mkvmerge\mkvmerge.exe");
            mkvExtractPath = getDownloadPath(@"tools\mkvmerge\mkvextract.exe");
            pgcDemuxPath   = getDownloadPath(@"tools\pgcdemux\pgcdemux.exe");
#if x64
            x264Path   = getDownloadPath(@"tools\x264\x264_64.exe");
            b64bitX264 = true;
#endif
#if x86
            x264Path = getDownloadPath(@"tools\x264\x264.exe");
            if (OSInfo.isWow64())
            {
                b64bitX264 = true;
            }
#endif
            dgIndexPath                        = getDownloadPath(@"tools\dgindex\dgindex.exe");
            ffmsIndexPath                      = getDownloadPath(@"tools\ffms\ffmsindex.exe");
            xvidEncrawPath                     = getDownloadPath(@"tools\xvid_encraw\xvid_encraw.exe");
            lamePath                           = getDownloadPath(@"tools\lame\lame.exe");
            neroAacEncPath                     = strMeGUIPath + @"\tools\eac3to\neroAacEnc.exe";
            oggEnc2Path                        = getDownloadPath(@"tools\oggenc2\oggenc2.exe");
            ffmpegPath                         = getDownloadPath(@"tools\ffmpeg\ffmpeg.exe");
            aftenPath                          = getDownloadPath(@"tools\aften\aften.exe");
            flacPath                           = getDownloadPath(@"tools\flac\flac.exe");
            yadifPath                          = getDownloadPath(@"tools\yadif\yadif.dll");
            vobSubPath                         = getDownloadPath(@"tools\vobsub\vobsub.dll");
            besplitPath                        = getDownloadPath(@"tools\besplit\besplit.exe");
            dgavcIndexPath                     = getDownloadPath(@"tools\dgavcindex\dgavcindex.exe");
            dgnvIndexPath                      = getDownloadPath(@"tools\dgindexnv\dgindexnv.exe");
            eac3toPath                         = getDownloadPath(@"tools\eac3to\eac3to.exe");
            tsmuxerPath                        = getDownloadPath(@"tools\tsmuxer\tsmuxer.exe");
            aviSynthPath                       = getDownloadPath(@"tools\avs\avisynth.dll");
            meguiupdatecache                   = System.IO.Path.Combine(strMeGUIPath, "update_cache");
            avisynthpluginspath                = System.IO.Path.Combine(strMeGUIPath, @"tools\avisynth_plugin");
            recalculateMainMovieBitrate        = false;
            autoForceFilm                      = true;
            bAutoLoadDG                        = true;
            autoStartQueue                     = true;
            bAlwaysMuxMKV                      = true;
            bAutoStartQueueStartup             = false;
            forceFilmThreshold                 = new decimal(95);
            defaultLanguage1                   = "";
            defaultLanguage2                   = "";
            defaultPriority                    = ProcessPriority.IDLE;
            acceptableAspectError              = 1;
            afterEncoding                      = AfterEncoding.DoNothing;
            autoOpenScript                     = true;
            enableMP3inMP4                     = false;
            overwriteStats                     = true;
            keep2of3passOutput                 = false;
            deleteCompletedJobs                = false;
            nbPasses                           = 2;
            deleteIntermediateFiles            = true;
            deleteAbortedOutput                = true;
            autoSelectHDStreams                = true;
            openProgressWindow                 = true;
            videoExtension                     = "";
            audioExtension                     = "";
            safeProfileAlteration              = false;
            alwaysOnTop                        = false;
            usehttpproxy                       = false;
            httpproxyaddress                   = "";
            httpproxyport                      = "";
            httpproxyuid                       = "";
            httpproxypwd                       = "";
            defaultOutputDir                   = "";
            tempDirMP4                         = "";
            addTimePosition                    = true;
            alwaysbackupfiles                  = true;
            forcerawavcextension               = false;
            strMainFileFormat                  = "";
            strMainAudioFormat                 = "";
            strLastSourcePath                  = "";
            strLastDestinationPath             = "";
            minComplexity                      = 72;
            maxComplexity                      = 78;
            mainFormLocation                   = new Point(0, 0);
            mainFormSize                       = new Size(524, 558);
            updateFormLocation                 = new Point(0, 0);
            updateFormSize                     = new Size(710, 313);
            updateFormSplitter                 = 180;
            updateFormUpdateColumnWidth        = 47;
            updateFormNameColumnWidth          = 105;
            updateFormLocalVersionColumnWidth  = 117;
            updateFormServerVersionColumnWidth = 117;
            updateFormLocalDateColumnWidth     = 70;
            updateFormServerDateColumnWidth    = 70;
            updateFormPlatformColumnWidth      = 52;
            updateFormStatusColumnWidth        = 111;
            jobWorkerSize                      = new Size(565, 498);
            jobColumnWidth                     = 40;
            inputColumnWidth                   = 89;
            outputColumnWidth                  = 89;
            codecColumnWidth                   = 43;
            ModeColumnWidth                    = 75;
            statusColumnWidth                  = 51;
            ownerColumnWidth                   = 60;
            startColumnWidth                   = 55;
            endColumnWidth                     = 55;
            fpsColumnWidth                     = 35;
            bEnsureCorrectPlaybackSpeed        = bUseDGIndexNV = bUseNeroAacEnc = bExternalProgramsSet = false;
            ffmsThreads                        = 1;
            appendToForcedStreams              = "";
            ocGUIMode                          = OCGUIMode.Default;
            bUseITU                = true;
            bOpenAVSInThread       = true;
            lastUsedOneClickFolder = "";
        }