OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 27 Sep 2008 21:46:14 +0000 (21:46 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 27 Sep 2008 21:46:14 +0000 (21:46 +0000)
- Improved some of the messagebox error messages. Removed a few redundant error messages.
- the x264 tooltips got lost at some point. They've been re-added. Changed one or 2 other tooltips.

git-svn-id: svn://localhost/HandBrake/trunk@1779 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.Designer.cs
win/C#/frmMain.cs
win/C#/frmMain.resx
win/C#/frmReadDVD.cs

index 75f2ed8..66c4458 100644 (file)
@@ -363,7 +363,8 @@ namespace Handbrake
             this.drp_dvdtitle.Size = new System.Drawing.Size(119, 21);\r
             this.drp_dvdtitle.TabIndex = 7;\r
             this.drp_dvdtitle.Text = "Automatic";\r
-            this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.");\r
+            this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.\r\nThe longest title is selected by default af" +\r
+                    "ter you have scanned a source.");\r
             this.drp_dvdtitle.SelectedIndexChanged += new System.EventHandler(this.drp_dvdtitle_SelectedIndexChanged);\r
             this.drp_dvdtitle.Click += new System.EventHandler(this.drp_dvdtitle_Click);\r
             // \r
@@ -375,7 +376,7 @@ namespace Handbrake
             this.text_source.Size = new System.Drawing.Size(584, 21);\r
             this.text_source.TabIndex = 1;\r
             this.text_source.Text = "Click \'Source\' to continue";\r
-            this.ToolTip.SetToolTip(this.text_source, "The input source location.");\r
+            this.ToolTip.SetToolTip(this.text_source, "Location of the source input file, folder or dvd.");\r
             // \r
             // text_destination\r
             // \r
@@ -454,8 +455,8 @@ namespace Handbrake
             this.check_largeFile.Size = new System.Drawing.Size(105, 17);\r
             this.check_largeFile.TabIndex = 4;\r
             this.check_largeFile.Text = "Large file size";\r
-            this.ToolTip.SetToolTip(this.check_largeFile, "Allows creation of MP4 files greater than 4GB.\r\nWarning: Breaks iPod, Apple TV (V" +\r
-                    "ersion 1 only) and PS3 compatibility.\r\nRequires .mp4/.m4v file extension");\r
+            this.ToolTip.SetToolTip(this.check_largeFile, "Caution: This option will likely break device compatibility with all but the Appl" +\r
+                    "eTV Take 2.\r\nChecking this box enables a 64bit mp4 file which can be over 4GB.");\r
             this.check_largeFile.UseVisualStyleBackColor = false;\r
             // \r
             // check_turbo\r
@@ -601,7 +602,7 @@ namespace Handbrake
             this.check_optimiseMP4.AutoSize = true;\r
             this.check_optimiseMP4.BackColor = System.Drawing.Color.Transparent;\r
             this.check_optimiseMP4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_optimiseMP4.Location = new System.Drawing.Point(304, 21);\r
+            this.check_optimiseMP4.Location = new System.Drawing.Point(304, 22);\r
             this.check_optimiseMP4.Name = "check_optimiseMP4";\r
             this.check_optimiseMP4.Size = new System.Drawing.Size(110, 17);\r
             this.check_optimiseMP4.TabIndex = 25;\r
@@ -616,13 +617,13 @@ namespace Handbrake
             this.check_iPodAtom.AutoSize = true;\r
             this.check_iPodAtom.BackColor = System.Drawing.Color.Transparent;\r
             this.check_iPodAtom.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_iPodAtom.Location = new System.Drawing.Point(420, 20);\r
+            this.check_iPodAtom.Location = new System.Drawing.Point(420, 22);\r
             this.check_iPodAtom.Name = "check_iPodAtom";\r
             this.check_iPodAtom.Size = new System.Drawing.Size(117, 17);\r
             this.check_iPodAtom.TabIndex = 26;\r
             this.check_iPodAtom.Text = "iPod 5G support";\r
-            this.ToolTip.SetToolTip(this.check_iPodAtom, "Required for 5th and 6th Generation iPods.\r\nEncodes will not sync if this is not " +\r
-                    "enabled for H.264 encodes");\r
+            this.ToolTip.SetToolTip(this.check_iPodAtom, "Support for legacy 5th Generation iPods.\r\nEncodes will not sync if this option is" +\r
+                    " not enabled for H.264 encodes.");\r
             this.check_iPodAtom.UseVisualStyleBackColor = false;\r
             // \r
             // data_chpt\r
@@ -954,7 +955,7 @@ namespace Handbrake
             this.drop_format.Name = "drop_format";\r
             this.drop_format.Size = new System.Drawing.Size(106, 21);\r
             this.drop_format.TabIndex = 28;\r
-            this.ToolTip.SetToolTip(this.drop_format, "Select a video encoder");\r
+            this.ToolTip.SetToolTip(this.drop_format, "Select the file container format.");\r
             this.drop_format.SelectedIndexChanged += new System.EventHandler(this.drop_format_SelectedIndexChanged);\r
             // \r
             // lbl_src_res\r
@@ -1893,6 +1894,7 @@ namespace Handbrake
             this.check_customCrop.Size = new System.Drawing.Size(74, 17);\r
             this.check_customCrop.TabIndex = 34;\r
             this.check_customCrop.Text = "Custom:";\r
+            this.ToolTip.SetToolTip(this.check_customCrop, "Set some custom cropping values.");\r
             this.check_customCrop.UseVisualStyleBackColor = true;\r
             this.check_customCrop.CheckedChanged += new System.EventHandler(this.check_customCrop_CheckedChanged);\r
             // \r
@@ -1906,6 +1908,7 @@ namespace Handbrake
             this.check_autoCrop.TabIndex = 33;\r
             this.check_autoCrop.TabStop = true;\r
             this.check_autoCrop.Text = "Automatic";\r
+            this.ToolTip.SetToolTip(this.check_autoCrop, "Automatically set cropping values.");\r
             this.check_autoCrop.UseVisualStyleBackColor = true;\r
             this.check_autoCrop.CheckedChanged += new System.EventHandler(this.check_autoCrop_CheckedChanged);\r
             // \r
@@ -2329,6 +2332,7 @@ namespace Handbrake
             this.check_Cabac.TabIndex = 40;\r
             this.check_Cabac.Text = "CABAC Entropy Coding:";\r
             this.check_Cabac.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_Cabac, resources.GetString("check_Cabac.ToolTip"));\r
             this.check_Cabac.UseVisualStyleBackColor = true;\r
             this.check_Cabac.CheckStateChanged += new System.EventHandler(this.check_Cabac_CheckedChanged);\r
             // \r
@@ -2344,6 +2348,8 @@ namespace Handbrake
             this.check_noDCTDecimate.TabIndex = 39;\r
             this.check_noDCTDecimate.Text = "No DCT-Decimate:";\r
             this.check_noDCTDecimate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_noDCTDecimate, "Only use this with constant quality encoding. \r\nIt increases quality but also bit" +\r
+                    "rate/file size.");\r
             this.check_noDCTDecimate.UseVisualStyleBackColor = true;\r
             this.check_noDCTDecimate.CheckStateChanged += new System.EventHandler(this.check_noDCTDecimate_CheckedChanged);\r
             // \r
@@ -2359,6 +2365,8 @@ namespace Handbrake
             this.check_noFastPSkip.TabIndex = 38;\r
             this.check_noFastPSkip.Text = "No Fast-P-Skip:";\r
             this.check_noFastPSkip.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_noFastPSkip, "This can help with blocking on solid colors like blue skies, \r\nbut it also slows " +\r
+                    "down the encode.");\r
             this.check_noFastPSkip.UseVisualStyleBackColor = true;\r
             this.check_noFastPSkip.CheckStateChanged += new System.EventHandler(this.check_noFastPSkip_CheckedChanged);\r
             // \r
@@ -2386,6 +2394,9 @@ namespace Handbrake
             this.drop_trellis.Name = "drop_trellis";\r
             this.drop_trellis.Size = new System.Drawing.Size(143, 20);\r
             this.drop_trellis.TabIndex = 37;\r
+            this.ToolTip.SetToolTip(this.drop_trellis, "Trellis fine-tunes how bitrate is doled out, so it can reduce file size/bitrate o" +\r
+                    "r increase quality. \r\nA value of 2 forces it to be used more often than a value " +\r
+                    "of 1.");\r
             this.drop_trellis.SelectedIndexChanged += new System.EventHandler(this.drop_trellis_SelectedIndexChanged);\r
             // \r
             // drop_deblockBeta\r
@@ -2412,6 +2423,7 @@ namespace Handbrake
             this.drop_deblockBeta.Name = "drop_deblockBeta";\r
             this.drop_deblockBeta.Size = new System.Drawing.Size(69, 20);\r
             this.drop_deblockBeta.TabIndex = 36;\r
+            this.ToolTip.SetToolTip(this.drop_deblockBeta, resources.GetString("drop_deblockBeta.ToolTip"));\r
             this.drop_deblockBeta.SelectedIndexChanged += new System.EventHandler(this.drop_deblockBeta_SelectedIndexChanged);\r
             // \r
             // label41\r
@@ -2448,6 +2460,7 @@ namespace Handbrake
             this.drop_deblockAlpha.Name = "drop_deblockAlpha";\r
             this.drop_deblockAlpha.Size = new System.Drawing.Size(68, 20);\r
             this.drop_deblockAlpha.TabIndex = 35;\r
+            this.ToolTip.SetToolTip(this.drop_deblockAlpha, resources.GetString("drop_deblockAlpha.ToolTip"));\r
             this.drop_deblockAlpha.SelectedIndexChanged += new System.EventHandler(this.drop_deblockAlpha_SelectedIndexChanged);\r
             // \r
             // panel3\r
@@ -2489,6 +2502,7 @@ namespace Handbrake
             this.check_8x8DCT.TabIndex = 34;\r
             this.check_8x8DCT.Text = "8x8 DCT:";\r
             this.check_8x8DCT.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_8x8DCT, resources.GetString("check_8x8DCT.ToolTip"));\r
             this.check_8x8DCT.UseVisualStyleBackColor = true;\r
             this.check_8x8DCT.CheckStateChanged += new System.EventHandler(this.check_8x8DCT_CheckedChanged);\r
             // \r
@@ -2515,6 +2529,7 @@ namespace Handbrake
             this.drop_analysis.Name = "drop_analysis";\r
             this.drop_analysis.Size = new System.Drawing.Size(63, 20);\r
             this.drop_analysis.TabIndex = 33;\r
+            this.ToolTip.SetToolTip(this.drop_analysis, resources.GetString("drop_analysis.ToolTip"));\r
             this.drop_analysis.SelectedIndexChanged += new System.EventHandler(this.drop_analysis_SelectedIndexChanged);\r
             // \r
             // label48\r
@@ -2546,6 +2561,7 @@ namespace Handbrake
             this.drop_subpixelMotionEstimation.Name = "drop_subpixelMotionEstimation";\r
             this.drop_subpixelMotionEstimation.Size = new System.Drawing.Size(139, 20);\r
             this.drop_subpixelMotionEstimation.TabIndex = 32;\r
+            this.ToolTip.SetToolTip(this.drop_subpixelMotionEstimation, resources.GetString("drop_subpixelMotionEstimation.ToolTip"));\r
             this.drop_subpixelMotionEstimation.SelectedIndexChanged += new System.EventHandler(this.drop_subpixelMotionEstimation_SelectedIndexChanged);\r
             // \r
             // label49\r
@@ -2630,6 +2646,7 @@ namespace Handbrake
             this.drop_MotionEstimationRange.Name = "drop_MotionEstimationRange";\r
             this.drop_MotionEstimationRange.Size = new System.Drawing.Size(139, 20);\r
             this.drop_MotionEstimationRange.TabIndex = 31;\r
+            this.ToolTip.SetToolTip(this.drop_MotionEstimationRange, resources.GetString("drop_MotionEstimationRange.ToolTip"));\r
             this.drop_MotionEstimationRange.SelectedIndexChanged += new System.EventHandler(this.drop_MotionEstimationRange_SelectedIndexChanged);\r
             // \r
             // label54\r
@@ -2658,6 +2675,7 @@ namespace Handbrake
             this.drop_MotionEstimationMethod.Name = "drop_MotionEstimationMethod";\r
             this.drop_MotionEstimationMethod.Size = new System.Drawing.Size(139, 20);\r
             this.drop_MotionEstimationMethod.TabIndex = 30;\r
+            this.ToolTip.SetToolTip(this.drop_MotionEstimationMethod, resources.GetString("drop_MotionEstimationMethod.ToolTip"));\r
             this.drop_MotionEstimationMethod.SelectedIndexChanged += new System.EventHandler(this.drop_MotionEstimationMethod_SelectedIndexChanged);\r
             // \r
             // check_pyrmidalBFrames\r
@@ -2672,6 +2690,7 @@ namespace Handbrake
             this.check_pyrmidalBFrames.TabIndex = 17;\r
             this.check_pyrmidalBFrames.Text = "Pyrmidal B-Frames:";\r
             this.check_pyrmidalBFrames.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_pyrmidalBFrames, resources.GetString("check_pyrmidalBFrames.ToolTip"));\r
             this.check_pyrmidalBFrames.UseVisualStyleBackColor = true;\r
             this.check_pyrmidalBFrames.CheckStateChanged += new System.EventHandler(this.check_pyrmidalBFrames_CheckedChanged);\r
             // \r
@@ -2687,6 +2706,7 @@ namespace Handbrake
             this.check_BidirectionalRefinement.TabIndex = 16;\r
             this.check_BidirectionalRefinement.Text = "Bidirectional Refinement:";\r
             this.check_BidirectionalRefinement.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_BidirectionalRefinement, resources.GetString("check_BidirectionalRefinement.ToolTip"));\r
             this.check_BidirectionalRefinement.UseVisualStyleBackColor = true;\r
             this.check_BidirectionalRefinement.CheckStateChanged += new System.EventHandler(this.check_BidirectionalRefinement_CheckedChanged);\r
             // \r
@@ -2702,6 +2722,7 @@ namespace Handbrake
             this.check_bFrameRateDistortion.TabIndex = 15;\r
             this.check_bFrameRateDistortion.Text = "B-Frame Rate Distortion:";\r
             this.check_bFrameRateDistortion.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_bFrameRateDistortion, resources.GetString("check_bFrameRateDistortion.ToolTip"));\r
             this.check_bFrameRateDistortion.UseVisualStyleBackColor = true;\r
             this.check_bFrameRateDistortion.CheckStateChanged += new System.EventHandler(this.check_bFrameDistortion_CheckedChanged);\r
             // \r
@@ -2716,6 +2737,7 @@ namespace Handbrake
             this.check_weightedBFrames.Size = new System.Drawing.Size(123, 16);\r
             this.check_weightedBFrames.TabIndex = 14;\r
             this.check_weightedBFrames.Text = "Weighted B-Frames:";\r
+            this.ToolTip.SetToolTip(this.check_weightedBFrames, resources.GetString("check_weightedBFrames.ToolTip"));\r
             this.check_weightedBFrames.UseVisualStyleBackColor = true;\r
             this.check_weightedBFrames.CheckStateChanged += new System.EventHandler(this.check_weightedBFrames_CheckedChanged);\r
             // \r
@@ -2744,6 +2766,7 @@ namespace Handbrake
             this.drop_directPrediction.Name = "drop_directPrediction";\r
             this.drop_directPrediction.Size = new System.Drawing.Size(121, 20);\r
             this.drop_directPrediction.TabIndex = 13;\r
+            this.ToolTip.SetToolTip(this.drop_directPrediction, resources.GetString("drop_directPrediction.ToolTip"));\r
             this.drop_directPrediction.SelectedIndexChanged += new System.EventHandler(this.drop_directPrediction_SelectedIndexChanged);\r
             // \r
             // label62\r
@@ -2784,6 +2807,9 @@ namespace Handbrake
             this.drop_bFrames.Name = "drop_bFrames";\r
             this.drop_bFrames.Size = new System.Drawing.Size(121, 20);\r
             this.drop_bFrames.TabIndex = 12;\r
+            this.ToolTip.SetToolTip(this.drop_bFrames, "Sane values are 1-6. \r\nB-Frames are smaller than other frames, so they let you pa" +\r
+                    "ck in more quality at the same bitrate. \r\nUse more of them with animated materia" +\r
+                    "l: 9-16. ");\r
             this.drop_bFrames.SelectedIndexChanged += new System.EventHandler(this.drop_bFrames_SelectedIndexChanged);\r
             // \r
             // label64\r
@@ -2824,6 +2850,8 @@ namespace Handbrake
             this.drop_refFrames.Name = "drop_refFrames";\r
             this.drop_refFrames.Size = new System.Drawing.Size(121, 20);\r
             this.drop_refFrames.TabIndex = 10;\r
+            this.ToolTip.SetToolTip(this.drop_refFrames, "Sane values are 1-6. The more you add, the higher the quality \97 but the slower th" +\r
+                    "e encode. ");\r
             this.drop_refFrames.SelectedIndexChanged += new System.EventHandler(this.drop_refFrames_SelectedIndexChanged);\r
             // \r
             // check_mixedReferences\r
@@ -2838,6 +2866,8 @@ namespace Handbrake
             this.check_mixedReferences.TabIndex = 11;\r
             this.check_mixedReferences.Text = "Mixed References:";\r
             this.check_mixedReferences.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
+            this.ToolTip.SetToolTip(this.check_mixedReferences, "With this on, different parts of a frame will refer back to different prior frame" +\r
+                    "s, \r\ndepending on what\'s best for that part of the image. ");\r
             this.check_mixedReferences.UseVisualStyleBackColor = true;\r
             this.check_mixedReferences.CheckStateChanged += new System.EventHandler(this.check_mixedReferences_CheckedChanged);\r
             // \r
@@ -2997,6 +3027,7 @@ namespace Handbrake
             this.btn_source.Name = "btn_source";\r
             this.btn_source.Size = new System.Drawing.Size(90, 36);\r
             this.btn_source.Text = "Source";\r
+            this.btn_source.ToolTipText = "Open a new source file or folder.";\r
             this.btn_source.Click += new System.EventHandler(this.btn_source_Click);\r
             // \r
             // btn_file_source\r
index df78634..88f2685 100644 (file)
@@ -371,7 +371,7 @@ namespace Handbrake
 \r
                 // If there are no titles in the dropdown menu then the scan has obviously failed. Display an error message explaining to the user.\r
                 if (drp_dvdtitle.Items.Count == 0)\r
-                    MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source. Please refer to the FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
+                    MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source.\nYour Source may be copy protected, badly mastered or a format which HandBrake does not support. \nPlease refer to the Documentation and FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
 \r
                 lbl_encode.Text = "";\r
             }\r
@@ -400,7 +400,7 @@ namespace Handbrake
 \r
                 // If there are no titles in the dropdown menu then the scan has obviously failed. Display an error message explaining to the user.\r
                 if (drp_dvdtitle.Items.Count == 0)\r
-                    MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source. Please refer to the FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
+                    MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source.\nYour Source may be copy protected, badly mastered or a format which HandBrake does not support. \nPlease refer to the Documentation and FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
 \r
                 lbl_encode.Text = "";\r
             }\r
@@ -420,7 +420,7 @@ namespace Handbrake
 \r
             // If there are no titles in the dropdown menu then the scan has obviously failed. Display an error message explaining to the user.\r
             if (drp_dvdtitle.Items.Count == 0)\r
-                MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source. Please refer to the FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
+                MessageBox.Show("No Title(s) found. Please make sure you have selected a valid, non-copy protected source.\nYour Source may be copy protected, badly mastered or a format which HandBrake does not support. \nPlease refer to the Documentation and FAQ (see Help Menu).", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
 \r
             lbl_encode.Text = "";\r
         }\r
@@ -428,7 +428,7 @@ namespace Handbrake
         private void drp_dvdtitle_Click(object sender, EventArgs e)\r
         {\r
             if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "Automatic"))\r
-                MessageBox.Show("There are no titles to select. Please scan the DVD by clicking the 'Source' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);\r
+                MessageBox.Show("There are no titles to select. Please load a source file by clicking the 'Source' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);\r
         }\r
         private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)\r
         {\r
@@ -917,9 +917,6 @@ namespace Handbrake
         }\r
         private void drp_audmix_2_SelectedIndexChanged(object sender, EventArgs e)\r
         {\r
-            if (drp_audmix_1.Text == "Automatic")\r
-                MessageBox.Show("Please select a mixdown for the previous track(s).", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
-\r
             if ((drp_audenc_2.Text == "AAC") && (drp_audmix_2.Text == "6 Channel Discrete"))\r
                 setBitrateSelections384(drp_audbit_2);\r
             else if ((drp_audenc_2.Text == "AAC") && (drp_audmix_2.Text != "6 Channel Discrete"))\r
@@ -930,9 +927,6 @@ namespace Handbrake
         }\r
         private void drp_audmix_3_SelectedIndexChanged(object sender, EventArgs e)\r
         {\r
-            if (drp_audmix_2.Text == "Automatic")\r
-                MessageBox.Show("Please select a mixdown for the previous track(s).", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
-\r
             if ((drp_audenc_3.Text == "AAC") && (drp_audmix_3.Text == "6 Channel Discrete"))\r
                 setBitrateSelections384(drp_audbit_3);\r
             else if ((drp_audenc_3.Text == "AAC") && (drp_audmix_3.Text != "6 Channel Discrete"))\r
@@ -943,9 +937,6 @@ namespace Handbrake
         }\r
         private void drp_audmix_4_SelectedIndexChanged(object sender, EventArgs e)\r
         {\r
-            if (drp_audmix_3.Text == "Automatic")\r
-                MessageBox.Show("Please select a mixdown for the previous track(s).", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
-\r
             if ((drp_audenc_4.Text == "AAC") && (drp_audmix_4.Text == "6 Channel Discrete"))\r
                 setBitrateSelections384(drp_audbit_4);\r
             else if ((drp_audenc_4.Text == "AAC") && (drp_audmix_4.Text != "6 Channel Discrete"))\r
@@ -1791,9 +1782,9 @@ namespace Handbrake
                 if (foundDrive == false)\r
                     mnu_dvd_drive.Text = "[No DVD Drive Ready]";\r
             }\r
-            catch (Exception exc)\r
+            catch (Exception)\r
             {\r
-                MessageBox.Show("Drive Detection Error. \n Error Information: \n\n " + exc.ToString());\r
+                mnu_dvd_drive.Text = "[No DVD Drive Ready / Found]";\r
             }\r
         }\r
 \r
index 5bc2f65..be7f794 100644 (file)
@@ -173,6 +173,102 @@ Note: Do not change any of the chapter numbers!</value>
   <metadata name="frmMainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
     <value>106, 15</value>\r
   </metadata>\r
+  <data name="check_Cabac.ToolTip" xml:space="preserve">\r
+    <value>CABAC, or context adaptive binary arithmetic coding, is used by x264 to reduce the bitrate needed for a given quality by 15%. \r
+This makes it very cool and very useful, and it should be left on whenever possible. However, it is incompatible with the iPod 5.5G, and makes the AppleTV struggle. \r
+So turn it off for those. CABAC is a kind of entropy coding, which means that it compresses data by making shorthand symbols to represent long streams of data. \r
+The "entropy" part means that the symbols it uses the most often are the smallest. \r
+When you disable CABAC, another entropy coding scheme gets enabled, called CAVLC (context adaptive variable-length coding). \r
+CAVLC is a lot less efficient, which is why it needs 15% more bitrate to achieve the same quality as CABAC.</value>\r
+  </data>\r
+  <data name="drop_deblockBeta.ToolTip" xml:space="preserve">\r
+    <value>x264 includes an in-loop deblocking filter. \r
+What this means is that blocky compression artifacts are smoothed away when you play back the video. \r
+It has two settings: strength and threshold, just like a simple filter in Photoshop. \r
+Strength controls the amount of deblocking applied to the whole frame. \r
+If you drop down below 0, you reduce the amount of blurring.\r
+Go too negative, and you'll get an effect somewhat like oversharpening an image. \r
+Go into positive values, and the image may become too soft. \r
+Threshold controls how sensitive the filter is to whether something in a block is detail that needs to be preserved: lower numbers blur details less. \r
+The default deblocking values are 0 and 0. This does not mean zero deblocking. \r
+It means x264 will apply the regular deblocking strength and thresholds the codec authors have selected as working the best in most cases. \r
+While many, many people stick with the default deblocking values of 0,0, other people disagree. \r
+Some prefer a slightly less blurred image for live action material, and use values like -2,-1 or -2,-2. Others will raise it to 1,1 or even 3,3 for animation. \r
+While the values for each setting extend from -6 to 6, the consensus is that going below -3 or above 3 is worthless.\r
+</value>\r
+  </data>\r
+  <data name="drop_deblockAlpha.ToolTip" xml:space="preserve">\r
+    <value>x264 includes an in-loop deblocking filter. \r
+What this means is that blocky compression artifacts are smoothed away when you play back the video. \r
+It has two settings: strength and threshold, just like a simple filter in Photoshop. \r
+Strength controls the amount of deblocking applied to the whole frame. \r
+If you drop down below 0, you reduce the amount of blurring.\r
+Go too negative, and you'll get an effect somewhat like oversharpening an image. \r
+Go into positive values, and the image may become too soft. \r
+Threshold controls how sensitive the filter is to whether something in a block is detail that needs to be preserved: lower numbers blur details less. \r
+The default deblocking values are 0 and 0. This does not mean zero deblocking. \r
+It means x264 will apply the regular deblocking strength and thresholds the codec authors have selected as working the best in most cases. \r
+While many, many people stick with the default deblocking values of 0,0, other people disagree. \r
+Some prefer a slightly less blurred image for live action material, and use values like -2,-1 or -2,-2. Others will raise it to 1,1 or even 3,3 for animation. \r
+While the values for each setting extend from -6 to 6, the consensus is that going below -3 or above 3 is worthless.</value>\r
+  </data>\r
+  <data name="check_8x8DCT.ToolTip" xml:space="preserve">\r
+    <value>When Analysis is set to "all," checking this box lets x264 break key frames down into 8x8 blocks of pixels for analysis. \r
+This is a high profile feature of H.264, which makes it less compatible. It should slightly decrease bitrate or improve quality.</value>\r
+  </data>\r
+  <data name="drop_analysis.ToolTip" xml:space="preserve">\r
+    <value>Analysis controls how finely x264 divides up a frame to capture detail. \r
+Full macroblocks are 16x16 pixels, but x264 can go down all the way to 4x4 blocks if it judges it necessary. \r
+By default it only breaks up key frames that much. \r
+To give x264 the freedom to make the best decisions for all frames, use "all" analysis. \r
+If you want to create a high profile H.264 video (which is less compatible with the world at large than main profile), \r
+also check the "8x8 DCT blocks" box to add yet another block size for analysis.</value>\r
+  </data>\r
+  <data name="drop_subpixelMotionEstimation.ToolTip" xml:space="preserve">\r
+    <value>This setting is finer-grained than the motion estimation settings above. \r
+Instead of dealing with whole pixels, it deals with fractional pixels. 4, HandBrake's default, means looking at quarter pixels (qpel). \r
+Higher levels increase quality by dividing the pixel more, but take longer to encode. \r
+Using 6 or 7 turns unlocks the ability to turn on more advanced features like B-Frame rate distortion.</value>\r
+  </data>\r
+  <data name="drop_MotionEstimationRange.ToolTip" xml:space="preserve">\r
+    <value>This range is the radius, in pixels, x264 should use for motion estimation searches. \r
+It only has an effect when you use Uneven Multi-Hexagonal or Exhaustive searching. \r
+24, 32, and 64 are good values.</value>\r
+  </data>\r
+  <data name="drop_MotionEstimationMethod.ToolTip" xml:space="preserve">\r
+    <value>This sets the shape of the area x264 searches when estimating motion. \r
+Your choices are a diamond, a hexagon, a more complex hexagonal shape, or searching the entire frame. \r
+You are best off using Uneven Multi-Hexagonal searching.</value>\r
+  </data>\r
+  <data name="check_pyrmidalBFrames.ToolTip" xml:space="preserve">\r
+    <value>B-frame pyramids are a High Profile feature. \r
+This means that if you enable it, YOUR VIDEO WILL NOT PLAY IN QUICKTIME. \r
+Pyramidal B-frames mean that B-frames don't just reference surrounding reference frames — \r
+ instead, it also treats a previous B-frame as a reference, improving quality/lowering bitrate at the expense of complexity. \r
+Logically, to reference an earlier B-frame, you must tell x264 to use at least 2 B-frames.</value>\r
+  </data>\r
+  <data name="check_BidirectionalRefinement.ToolTip" xml:space="preserve">\r
+    <value>When bidrectional motion estimation refinement is activated, x264 will optimize motion vectors both forwards and backwards in time. \r
+This improves quality, and while it slows down encoding, it does not make playback any more difficult. </value>\r
+  </data>\r
+  <data name="check_bFrameRateDistortion.ToolTip" xml:space="preserve">\r
+    <value>When B-frame rate distortion optimization is enabled, x264 tries several different methods of compression for each part of a frame, \r
+and chooses the one that looks the best. \r
+You need to use a subpixel motion estimation refinement level of 6 or 7 for this to work. </value>\r
+  </data>\r
+  <data name="check_weightedBFrames.ToolTip" xml:space="preserve">\r
+    <value>With weighted B-frame prediction enabled, x264 will consider how far away the previous and next P-frames are, \r
+before deciding to make a frame a B-frame. \r
+The effect is that x264 will use fewer B-frames when they'd look bad — when it can't accurately predict motion. \r
+Obviously, this only works when you tell x264 to use more than 1 B-frame.  </value>\r
+  </data>\r
+  <data name="drop_directPrediction.ToolTip" xml:space="preserve">\r
+    <value>Direct prediction tells x264 what method to use when guessing motion for certain parts of a B-frame. \r
+It can either look at other parts of the current frame (spatial) or compare against the preceding frame (temporal). \r
+You're best off setting this to automatic, so x264 decides which method is best on its own. \r
+Don't select none assuming it will be faster; instead it will take longer and look worse. \r
+If you're going to choose between spatial and temporal, spatial is usually better. </value>\r
+  </data>\r
   <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
     <value>731, 18</value>\r
   </metadata>\r
index f4fc30c..ec9b318 100644 (file)
@@ -135,7 +135,7 @@ namespace Handbrake
             }\r
             catch (Exception exc)\r
             {\r
-                MessageBox.Show("frmReadDVD.cs - closeWindowAfterError - Unable to recover from a serious error. \n\n Error Information: \n " + exc.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+                MessageBox.Show("frmReadDVD.cs - closeWindowAfterError - Unable to recover from a serious error. \nYou may need to restart HandBrake. \n\n Error Information: \n " + exc.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
             }\r
         }\r
 \r
@@ -162,7 +162,7 @@ namespace Handbrake
             }\r
             catch (Exception ex)\r
             {\r
-                MessageBox.Show("Unable to kill HandBrakeCLI.exe \n\nError Information: \n" + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+                MessageBox.Show("Unable to kill HandBrakeCLI.exe \nYou may need to manually kill HandBrakeCLI.exe using the Windows Task Manager if it does not close automatically within the next few minutes. \n\nError Information: \n" + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
             }\r
         }\r
     }\r