this.ListBox_Presets = new System.Windows.Forms.ListBox();\r
this.btn_removePreset = new System.Windows.Forms.Button();\r
this.btn_addPreset = new System.Windows.Forms.Button();\r
+ this.button1 = new System.Windows.Forms.Button();\r
this.DVD_Open = new System.Windows.Forms.FolderBrowserDialog();\r
this.File_Open = new System.Windows.Forms.OpenFileDialog();\r
this.ISO_Open = new System.Windows.Forms.OpenFileDialog();\r
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();\r
this.mnu_SelectDefault = new System.Windows.Forms.ToolStripMenuItem();\r
this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.mnu_quickStart = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();\r
this.OnlineDocumentationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_wiki = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_faq = new System.Windows.Forms.ToolStripMenuItem();\r
this.Label18 = new System.Windows.Forms.Label();\r
this.TabPage3 = new System.Windows.Forms.TabPage();\r
this.check_grayscale = new System.Windows.Forms.CheckBox();\r
- this.Label37 = new System.Windows.Forms.Label();\r
+ this.lbl_largeMp4Warning = new System.Windows.Forms.Label();\r
this.Label22 = new System.Windows.Forms.Label();\r
this.check_2PassEncode = new System.Windows.Forms.CheckBox();\r
this.Label2 = new System.Windows.Forms.Label();\r
this.Label46 = new System.Windows.Forms.Label();\r
this.Label40 = new System.Windows.Forms.Label();\r
this.TabPage1 = new System.Windows.Forms.TabPage();\r
+ this.lbl_anamorphicError = new System.Windows.Forms.Label();\r
this.label24 = new System.Windows.Forms.Label();\r
this.drp_deNoise = new System.Windows.Forms.ComboBox();\r
this.label11 = new System.Windows.Forms.Label();\r
this.groupBox_dest = new System.Windows.Forms.GroupBox();\r
this.groupBox2 = new System.Windows.Forms.GroupBox();\r
this.groupBox3 = new System.Windows.Forms.GroupBox();\r
- this.mnu_quickStart = new System.Windows.Forms.ToolStripMenuItem();\r
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();\r
+ this.tabPage4 = new System.Windows.Forms.TabPage();\r
Label38 = new System.Windows.Forms.Label();\r
((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit();\r
this.frmMainMenu.SuspendLayout();\r
this.groupBox_dest.SuspendLayout();\r
this.groupBox2.SuspendLayout();\r
this.groupBox3.SuspendLayout();\r
+ this.tabPage4.SuspendLayout();\r
this.SuspendLayout();\r
// \r
// Label38\r
// DVD_Save\r
// \r
this.DVD_Save.DefaultExt = "mp4";\r
- this.DVD_Save.Filter = "*.mp4|*.mp4|*.m4v|*.m4v|*.avi|*.avi|*.ogm|*.ogm|*.mkv|*.mkv";\r
+ this.DVD_Save.Filter = "mp4|.mp4|m4v|.m4v|avi|.avi|ogm|.ogm|mkv|.mkv";\r
// \r
// File_Save\r
// \r
this.check_largeFile.Text = "Larger mp4 Files (> 4GB)";\r
this.ToolTip.SetToolTip(this.check_largeFile, "Allows creation of mp4 files greater than 4GB.");\r
this.check_largeFile.UseVisualStyleBackColor = true;\r
- this.check_largeFile.Click += new System.EventHandler(this.check_largeFile_CheckedChanged);\r
+ this.check_largeFile.CheckedChanged += new System.EventHandler(this.check_largeFile_CheckedChanged);\r
// \r
// check_turbo\r
// \r
this.check_turbo.AutoSize = true;\r
+ this.check_turbo.Enabled = false;\r
this.check_turbo.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.check_turbo.Location = new System.Drawing.Point(37, 84);\r
this.check_turbo.Name = "check_turbo";\r
"Constant Quality Rate",\r
"Deux Six Quatre",\r
"Film",\r
- "iPhone",\r
+ "iPhone / iPod Touch",\r
"iPod High-Rez",\r
"iPod Low-Rez",\r
"Normal",\r
this.btn_addPreset.UseVisualStyleBackColor = false;\r
this.btn_addPreset.Click += new System.EventHandler(this.btn_addPreset_Click);\r
// \r
+ // button1\r
+ // \r
+ this.button1.BackColor = System.Drawing.SystemColors.ControlLight;\r
+ this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+ this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
+ this.button1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.button1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+ this.button1.Location = new System.Drawing.Point(8, 13);\r
+ this.button1.Name = "button1";\r
+ this.button1.Size = new System.Drawing.Size(114, 22);\r
+ this.button1.TabIndex = 109;\r
+ this.button1.TabStop = false;\r
+ this.button1.Text = "Test Query Parser";\r
+ this.ToolTip.SetToolTip(this.button1, "Open a preset which you have saved.");\r
+ this.button1.UseVisualStyleBackColor = false;\r
+ this.button1.Click += new System.EventHandler(this.button1_Click);\r
+ // \r
// DVD_Open\r
// \r
this.DVD_Open.Description = "Select the \"VIDEO_TS\" folder from your DVD Drvie.";\r
// mnu_exit\r
// \r
this.mnu_exit.Name = "mnu_exit";\r
- this.mnu_exit.Size = new System.Drawing.Size(152, 22);\r
+ this.mnu_exit.Size = new System.Drawing.Size(103, 22);\r
this.mnu_exit.Text = "E&xit";\r
this.mnu_exit.Click += new System.EventHandler(this.mnu_exit_Click);\r
// \r
this.HelpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);\r
this.HelpToolStripMenuItem.Text = "&Help";\r
// \r
+ // mnu_quickStart\r
+ // \r
+ this.mnu_quickStart.Name = "mnu_quickStart";\r
+ this.mnu_quickStart.Size = new System.Drawing.Size(197, 22);\r
+ this.mnu_quickStart.Text = "Quick Start Information";\r
+ this.mnu_quickStart.Click += new System.EventHandler(this.mnu_quickStart_Click);\r
+ // \r
+ // toolStripSeparator1\r
+ // \r
+ this.toolStripSeparator1.Name = "toolStripSeparator1";\r
+ this.toolStripSeparator1.Size = new System.Drawing.Size(194, 6);\r
+ // \r
// OnlineDocumentationToolStripMenuItem\r
// \r
this.OnlineDocumentationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
this.lbl_update.AutoSize = true;\r
this.lbl_update.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.lbl_update.ForeColor = System.Drawing.Color.Black;\r
- this.lbl_update.Location = new System.Drawing.Point(93, 540);\r
+ this.lbl_update.Location = new System.Drawing.Point(108, 540);\r
this.lbl_update.Name = "lbl_update";\r
this.lbl_update.Size = new System.Drawing.Size(193, 13);\r
this.lbl_update.TabIndex = 98;\r
this.Version.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.Version.Location = new System.Drawing.Point(11, 540);\r
this.Version.Name = "Version";\r
- this.Version.Size = new System.Drawing.Size(84, 20);\r
+ this.Version.Size = new System.Drawing.Size(105, 20);\r
this.Version.TabIndex = 97;\r
- this.Version.Text = "Version 0.9.1";\r
+ this.Version.Text = "Version {0.0.0}";\r
// \r
// lbl_encode\r
// \r
this.TabPage6.Size = new System.Drawing.Size(639, 211);\r
this.TabPage6.TabIndex = 6;\r
this.TabPage6.Text = "Query Editor";\r
+ this.TabPage6.UseVisualStyleBackColor = true;\r
// \r
// btn_copy\r
// \r
this.h264Tab.Size = new System.Drawing.Size(639, 211);\r
this.h264Tab.TabIndex = 5;\r
this.h264Tab.Text = "H.264";\r
+ this.h264Tab.UseVisualStyleBackColor = true;\r
// \r
// Label43\r
// \r
this.TabPage2.Size = new System.Drawing.Size(639, 211);\r
this.TabPage2.TabIndex = 3;\r
this.TabPage2.Text = "Audio && Subtitles";\r
+ this.TabPage2.UseVisualStyleBackColor = true;\r
// \r
// Label19\r
// \r
// \r
this.TabPage3.BackColor = System.Drawing.SystemColors.ControlLight;\r
this.TabPage3.Controls.Add(this.check_grayscale);\r
- this.TabPage3.Controls.Add(this.Label37);\r
+ this.TabPage3.Controls.Add(this.lbl_largeMp4Warning);\r
this.TabPage3.Controls.Add(this.check_largeFile);\r
this.TabPage3.Controls.Add(this.check_turbo);\r
this.TabPage3.Controls.Add(this.CheckCRF);\r
this.TabPage3.Size = new System.Drawing.Size(639, 211);\r
this.TabPage3.TabIndex = 2;\r
this.TabPage3.Text = "Video Settings";\r
+ this.TabPage3.UseVisualStyleBackColor = true;\r
// \r
// check_grayscale\r
// \r
this.check_grayscale.Text = "Grayscale Encoding";\r
this.check_grayscale.UseVisualStyleBackColor = true;\r
// \r
- // Label37\r
+ // lbl_largeMp4Warning\r
// \r
- this.Label37.AutoSize = true;\r
- this.Label37.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label37.Location = new System.Drawing.Point(35, 127);\r
- this.Label37.Name = "Label37";\r
- this.Label37.Size = new System.Drawing.Size(241, 12);\r
- this.Label37.TabIndex = 57;\r
- this.Label37.Text = "Warning: Breaks iPod, @TV, PS3 compatibility.";\r
+ this.lbl_largeMp4Warning.AutoSize = true;\r
+ this.lbl_largeMp4Warning.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.lbl_largeMp4Warning.Location = new System.Drawing.Point(35, 127);\r
+ this.lbl_largeMp4Warning.Name = "lbl_largeMp4Warning";\r
+ this.lbl_largeMp4Warning.Size = new System.Drawing.Size(241, 12);\r
+ this.lbl_largeMp4Warning.TabIndex = 57;\r
+ this.lbl_largeMp4Warning.Text = "Warning: Breaks iPod, @TV, PS3 compatibility.";\r
// \r
// Label22\r
// \r
this.check_2PassEncode.TabIndex = 54;\r
this.check_2PassEncode.Text = "2-Pass Encoding";\r
this.check_2PassEncode.UseVisualStyleBackColor = true;\r
+ this.check_2PassEncode.CheckedChanged += new System.EventHandler(this.check_2PassEncode_CheckedChanged);\r
// \r
// Label2\r
// \r
// TabPage1\r
// \r
this.TabPage1.BackColor = System.Drawing.SystemColors.ControlLight;\r
+ this.TabPage1.Controls.Add(this.lbl_anamorphicError);\r
this.TabPage1.Controls.Add(this.label24);\r
this.TabPage1.Controls.Add(this.drp_deNoise);\r
this.TabPage1.Controls.Add(this.label11);\r
this.TabPage1.Size = new System.Drawing.Size(639, 211);\r
this.TabPage1.TabIndex = 0;\r
this.TabPage1.Text = "Picture Settings";\r
+ this.TabPage1.UseVisualStyleBackColor = true;\r
+ // \r
+ // lbl_anamorphicError\r
+ // \r
+ this.lbl_anamorphicError.AutoSize = true;\r
+ this.lbl_anamorphicError.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.lbl_anamorphicError.ForeColor = System.Drawing.Color.Red;\r
+ this.lbl_anamorphicError.Location = new System.Drawing.Point(436, 149);\r
+ this.lbl_anamorphicError.Name = "lbl_anamorphicError";\r
+ this.lbl_anamorphicError.Size = new System.Drawing.Size(176, 24);\r
+ this.lbl_anamorphicError.TabIndex = 52;\r
+ this.lbl_anamorphicError.Text = "Must be disabled to allow width or \r\nheight to be altered";\r
+ this.lbl_anamorphicError.Visible = false;\r
// \r
// label24\r
// \r
this.drp_deInterlace_option.FormattingEnabled = true;\r
this.drp_deInterlace_option.Items.AddRange(new object[] {\r
"None",\r
- "Origional (Fast)",\r
+ "Original (Fast)",\r
"yadif (Slow)",\r
"yadif + mcdeint (Slower)",\r
- "yadif + mcdeint (Slowest)"});\r
+ "yadif + mcdeint (Slowest)"});\r
this.drp_deInterlace_option.Location = new System.Drawing.Point(416, 63);\r
this.drp_deInterlace_option.Name = "drp_deInterlace_option";\r
this.drp_deInterlace_option.Size = new System.Drawing.Size(161, 21);\r
this.advancedOptions.Controls.Add(this.TabPage2);\r
this.advancedOptions.Controls.Add(this.h264Tab);\r
this.advancedOptions.Controls.Add(this.TabPage6);\r
+ this.advancedOptions.Controls.Add(this.tabPage4);\r
this.advancedOptions.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.advancedOptions.Location = new System.Drawing.Point(14, 276);\r
this.advancedOptions.Name = "advancedOptions";\r
this.groupBox3.TabStop = false;\r
this.groupBox3.Text = "Preset Functions";\r
// \r
- // mnu_quickStart\r
- // \r
- this.mnu_quickStart.Name = "mnu_quickStart";\r
- this.mnu_quickStart.Size = new System.Drawing.Size(197, 22);\r
- this.mnu_quickStart.Text = "Quick Start Information";\r
- this.mnu_quickStart.Click += new System.EventHandler(this.mnu_quickStart_Click);\r
- // \r
- // toolStripSeparator1\r
+ // tabPage4\r
// \r
- this.toolStripSeparator1.Name = "toolStripSeparator1";\r
- this.toolStripSeparator1.Size = new System.Drawing.Size(194, 6);\r
+ this.tabPage4.Controls.Add(this.button1);\r
+ this.tabPage4.Location = new System.Drawing.Point(4, 22);\r
+ this.tabPage4.Name = "tabPage4";\r
+ this.tabPage4.Size = new System.Drawing.Size(639, 211);\r
+ this.tabPage4.TabIndex = 7;\r
+ this.tabPage4.Text = "Development";\r
+ this.tabPage4.UseVisualStyleBackColor = true;\r
// \r
// frmMain\r
// \r
this.groupBox_dest.PerformLayout();\r
this.groupBox2.ResumeLayout(false);\r
this.groupBox3.ResumeLayout(false);\r
+ this.tabPage4.ResumeLayout(false);\r
this.ResumeLayout(false);\r
this.PerformLayout();\r
\r
internal System.Windows.Forms.Label Label18;\r
internal System.Windows.Forms.ComboBox drp_audioSampleRate;\r
internal System.Windows.Forms.TabPage TabPage3;\r
- internal System.Windows.Forms.Label Label37;\r
+ internal System.Windows.Forms.Label lbl_largeMp4Warning;\r
internal System.Windows.Forms.CheckBox check_largeFile;\r
internal System.Windows.Forms.CheckBox check_turbo;\r
internal System.Windows.Forms.CheckBox CheckCRF;\r
private System.Windows.Forms.GroupBox groupBox3;\r
private System.Windows.Forms.ToolStripMenuItem mnu_quickStart;\r
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;\r
+ internal System.Windows.Forms.Button button1;\r
+ private System.Windows.Forms.Label lbl_anamorphicError;\r
+ private System.Windows.Forms.TabPage tabPage4;\r
\r
}\r
}
\ No newline at end of file
{\r
check_largeFile.CheckState = CheckState.Checked;\r
}\r
+\r
+ if (Properties.Settings.Default.chapterMarker == "Checked")\r
+ {\r
+ Check_ChapterMarkers.CheckState = CheckState.Checked;\r
+ }\r
+ \r
// Audio Settings Tab\r
drp_audioBitrate.Text = Properties.Settings.Default.AudioBitrate;\r
drp_audioSampleRate.Text = Properties.Settings.Default.AudioSampleRate;\r
\r
private void btn_copy_Click(object sender, EventArgs e)\r
{\r
- Clipboard.SetText(QueryEditorText.Text, TextDataFormat.Text);\r
+ if (QueryEditorText.Text != "")\r
+ Clipboard.SetText(QueryEditorText.Text, TextDataFormat.Text);\r
}\r
\r
private void showQueue()\r
Properties.Settings.Default.detelecine = check_detelecine.CheckState.ToString();\r
Properties.Settings.Default.denoise = drp_deNoise.Text;\r
Properties.Settings.Default.deblock = check_deblock.CheckState.ToString();\r
+ Properties.Settings.Default.chapterMarker = Check_ChapterMarkers.CheckState.ToString();\r
//Audio Settings Tab\r
Properties.Settings.Default.AudioBitrate = drp_audioBitrate.Text;\r
Properties.Settings.Default.AudioSampleRate = drp_audioSampleRate.Text;\r
setGuiSetttings(CheckState.Checked, "", "", "H.264", "2000", "", 0, "0%", "160", CheckState.Checked, "48", "ref=3:mixed-refs:bframes=3:bime:weightb:b-rdo:direct=auto:b-pyramid:me=umh:subme=6:analyse=all:8x8dct:trellis=1:no-fast-pskip", "None", CheckState.Checked, "No Crop", CheckState.Checked, "AC3", "Output Settings (Preset: Film)");\r
setMkv();\r
break;\r
- case "iPhone":\r
- setGuiSetttings(CheckState.Unchecked, "480", "", "H.264", "960", "", 0, "0%", "128", CheckState.Checked, "48", "cabac=0:ref=1:analyse=all:me=umh:subme=6:no-fast-pskip=1:trellis=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPhone)");\r
+ case "iPhone / iPod Touch":\r
+ setGuiSetttings(CheckState.Unchecked, "480", "", "H.264 (iPod)", "960", "", 0, "0%", "128", CheckState.Checked, "48", "cabac=0:ref=1:analyse=all:me=umh:subme=6:no-fast-pskip=1:trellis=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPhone)");\r
break;\r
case "iPod High-Rez":\r
- setGuiSetttings(CheckState.Unchecked, "640", "", "H.264", "1500", "", 0, "0%", "160", CheckState.Checked, "48", "keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPod High Rez)");\r
+ setGuiSetttings(CheckState.Unchecked, "640", "", "H.264 (iPod)", "1500", "", 0, "0%", "160", CheckState.Checked, "48", "keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPod High Rez)");\r
break;\r
case "iPod Low-Rez":\r
- setGuiSetttings(CheckState.Unchecked, "320", "", "H.264", "700", "", 0, "0%", "160", CheckState.Checked, "48", "keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPod Low Rez)");\r
+ setGuiSetttings(CheckState.Unchecked, "320", "", "H.264 (iPod)", "700", "", 0, "0%", "160", CheckState.Checked, "48", "keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1", "None", CheckState.Unchecked, "No Crop", CheckState.Unchecked, "AAC", "Output Settings (Preset: iPod Low Rez)");\r
break;\r
case "Normal":\r
setGuiSetttings(CheckState.Checked, "", "", "H.264", "1500", "", 0, "0%", "160", CheckState.Checked, "48", "ref=2:bframes=2:subme=5:me=umh", "None", CheckState.Checked, "No Crop", CheckState.Checked, "AAC", "Output Settings (Preset: Normal)");\r
\r
private void text_width_TextChanged(object sender, EventArgs e)\r
{\r
-\r
try\r
{\r
if (CheckPixelRatio.Checked)\r
{\r
text_width.Text = "";\r
- text_width.BackColor = Color.White;\r
+ text_width.BackColor = Color.LightCoral;\r
+ CheckPixelRatio.BackColor = Color.LightCoral;\r
+ lbl_anamorphicError.Visible = true;\r
}\r
else\r
{\r
{\r
text_height.Text = height.ToString();\r
}\r
- }\r
+ } \r
}\r
catch (Exception)\r
{\r
{\r
try\r
{\r
- if (text_height.Text != "Auto")\r
- {\r
- if (CheckPixelRatio.Checked)\r
+ if (CheckPixelRatio.Checked)\r
{\r
text_height.Text = "";\r
- text_width.BackColor = Color.White;\r
+ text_height.BackColor = Color.LightCoral;\r
+ CheckPixelRatio.BackColor = Color.LightCoral;\r
+ lbl_anamorphicError.Visible = true;\r
+ }\r
+ else\r
+ {\r
+ if ((int.Parse(text_height.Text) % 16) != 0)\r
+ {\r
+ text_height.BackColor = Color.LightCoral;\r
}\r
else\r
{\r
- if ((int.Parse(text_height.Text) % 16) != 0)\r
- {\r
- text_height.BackColor = Color.LightCoral;\r
- }\r
- else\r
- {\r
text_height.BackColor = Color.LightGreen;\r
- }\r
}\r
}\r
+\r
} catch(Exception){\r
// No need to alert the user.\r
}\r
text_height.Text = "";\r
text_width.BackColor = Color.White;\r
text_height.BackColor = Color.White;\r
+ CheckPixelRatio.BackColor = frmMain.DefaultBackColor;\r
+ lbl_anamorphicError.Visible = false;\r
+ }\r
+\r
+ private void check_2PassEncode_CheckedChanged(object sender, EventArgs e)\r
+ {\r
+ if (check_2PassEncode.CheckState.ToString() == "Checked")\r
+ {\r
+ check_turbo.Enabled = true;\r
+ }\r
+ else\r
+ {\r
+ check_turbo.Enabled = false;\r
+ check_turbo.CheckState = CheckState.Unchecked;\r
+ }\r
+ }\r
+\r
+ private void check_largeFile_CheckedChanged(object sender, EventArgs e)\r
+ {\r
+ if (!text_destination.Text.Contains(".mp4"))\r
+ {\r
+ lbl_largeMp4Warning.Text = "Warning: Only mp4 files are supported";\r
+ lbl_largeMp4Warning.ForeColor = Color.Red;\r
+ check_largeFile.CheckState = CheckState.Unchecked;\r
+ }\r
+ else\r
+ {\r
+ lbl_largeMp4Warning.Text = "Warning: Breaks iPod, @TV, PS3 compatibility.";\r
+ lbl_largeMp4Warning.ForeColor = Color.Black;\r
+ }\r
}\r
\r
private void drp_dvdtitle_Click(object sender, EventArgs e)\r
}\r
}\r
\r
- private void check_largeFile_CheckedChanged(object sender, EventArgs e)\r
- {\r
- if (!text_destination.Text.Contains(".mp4"))\r
- {\r
- MessageBox.Show("This option is only compatible with the mp4 file container.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
- check_largeFile.CheckState = CheckState.Unchecked;\r
- }\r
- }\r
+\r
\r
private void drp_videoEncoder_SelectedIndexChanged(object sender, EventArgs e)\r
{\r
case "None":\r
deinterlace = "";\r
break;\r
- case "Origional (Fast)":\r
- deinterlace = " --deinterlace=1";\r
+ case "Original (Fast)":\r
+ deinterlace = " --deinterlace=" + '"' + "-1" + '"';\r
break;\r
case "yadif (Slow)":\r
deinterlace = " --deinterlace=" + '"' + "0" + '"';\r
string denoise = "";\r
string CRF = CheckCRF.CheckState.ToString();\r
\r
-\r
- if ((CRF == "Checked"))\r
+ if (CRF == "Checked")\r
CRF = " -Q ";\r
else\r
CRF = "";\r
break;\r
}\r
\r
- string queryVideoSettings = videoBitrate + videoFilesize + vidQSetting + twoPassEncoding + videoFramerate + turboH264 + largeFile + deblock + detelecine + denoise;\r
+ string queryVideoSettings = videoBitrate + videoFilesize + vidQSetting + CRF + twoPassEncoding + videoFramerate + turboH264 + largeFile + deblock + detelecine + denoise;\r
// ----------------------------------------------------------------------\r
\r
// Audio Settings Tab\r
Mixdown = "6ch";\r
break;\r
default:\r
- Mixdown = "stero";\r
+ Mixdown = "";\r
break;\r
}\r
\r
\r
#endregion\r
\r
+\r
+\r
+ private Functions.QueryParser thisQuery;\r
+ private void button1_Click(object sender, EventArgs e)\r
+ {\r
+ String query = "";\r
+ if (QueryEditorText.Text == "")\r
+ {\r
+ query = GenerateTheQuery();\r
+ }\r
+ else\r
+ {\r
+ query = QueryEditorText.Text;\r
+ }\r
+ thisQuery = Functions.QueryParser.Parse(query);\r
+ MessageBox.Show(thisQuery.DeTelecine.ToString());\r
+ }\r
+\r
+\r
+\r
+\r
// This is the END of the road ------------------------------------------------------------------------------\r
}\r
}\r