this.File_Open = new System.Windows.Forms.OpenFileDialog();\r
this.ISO_Open = new System.Windows.Forms.OpenFileDialog();\r
this.FileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
- this.mnu_open = new System.Windows.Forms.ToolStripMenuItem();\r
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();\r
this.mnu_exit = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_open3 = new System.Windows.Forms.ToolStripMenuItem();\r
this.ToolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
- this.mnu_encode = new System.Windows.Forms.ToolStripMenuItem();\r
- this.mnu_viewDVDdata = new System.Windows.Forms.ToolStripMenuItem();\r
this.ToolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();\r
- this.mnu_options = new System.Windows.Forms.ToolStripMenuItem();\r
this.PresetsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_presetReset = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_delete_preset = new System.Windows.Forms.ToolStripMenuItem();\r
this.check_mixedReferences = new System.Windows.Forms.CheckBox();\r
this.tabPage4 = new System.Windows.Forms.TabPage();\r
this.btn_clear = new System.Windows.Forms.Button();\r
- this.btn_copy2C = new System.Windows.Forms.Button();\r
this.label34 = new System.Windows.Forms.Label();\r
this.btn_generate_Query = new System.Windows.Forms.Button();\r
this.label33 = new System.Windows.Forms.Label();\r
this.groupBox2 = new System.Windows.Forms.GroupBox();\r
this.treeView_presets = new System.Windows.Forms.TreeView();\r
this.toolStrip1 = new System.Windows.Forms.ToolStrip();\r
+ this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();\r
+ this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();\r
+ this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();\r
+ this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();\r
+ this.lbl_encode = new System.Windows.Forms.ToolStripLabel();\r
+ this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);\r
+ this.drop_format = new System.Windows.Forms.ComboBox();\r
+ this.label5 = new System.Windows.Forms.Label();\r
this.btn_source = new System.Windows.Forms.ToolStripDropDownButton();\r
- this.btn_dvd_source = new System.Windows.Forms.ToolStripMenuItem();\r
this.btn_file_source = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.btn_dvd_source = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();\r
this.mnu_dvd_drive = new System.Windows.Forms.ToolStripMenuItem();\r
- this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();\r
this.btn_start = new System.Windows.Forms.ToolStripButton();\r
this.btn_add2Queue = new System.Windows.Forms.ToolStripButton();\r
this.btn_showQueue = new System.Windows.Forms.ToolStripButton();\r
- this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();\r
this.btn_ActivityWindow = new System.Windows.Forms.ToolStripButton();\r
- this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();\r
this.btn_minimize = new System.Windows.Forms.ToolStripButton();\r
- this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();\r
- this.lbl_encode = new System.Windows.Forms.ToolStripLabel();\r
- this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);\r
+ this.mnu_open = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.mnu_encode = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.mnu_encodeLog = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.mnu_viewDVDdata = new System.Windows.Forms.ToolStripMenuItem();\r
+ this.mnu_options = new System.Windows.Forms.ToolStripMenuItem();\r
Label38 = new System.Windows.Forms.Label();\r
notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);\r
notifyIconMenu.SuspendLayout();\r
Label38.AutoSize = true;\r
Label38.BackColor = System.Drawing.Color.Transparent;\r
Label38.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- Label38.Location = new System.Drawing.Point(304, 65);\r
+ Label38.Location = new System.Drawing.Point(334, 38);\r
Label38.Name = "Label38";\r
Label38.Size = new System.Drawing.Size(108, 13);\r
Label38.TabIndex = 11;\r
"MPEG-4 (XviD)",\r
"H.264 (x264)",\r
"VP3 (Theora)"});\r
- this.drp_videoEncoder.Location = new System.Drawing.Point(99, 20);\r
+ this.drp_videoEncoder.Location = new System.Drawing.Point(125, 35);\r
this.drp_videoEncoder.Name = "drp_videoEncoder";\r
- this.drp_videoEncoder.Size = new System.Drawing.Size(156, 21);\r
+ this.drp_videoEncoder.Size = new System.Drawing.Size(126, 21);\r
this.drp_videoEncoder.TabIndex = 1;\r
this.ToolTip.SetToolTip(this.drp_videoEncoder, "Select a video encoder");\r
this.drp_videoEncoder.SelectedIndexChanged += new System.EventHandler(this.drp_videoEncoder_SelectedIndexChanged);\r
this.check_largeFile.AutoSize = true;\r
this.check_largeFile.BackColor = System.Drawing.Color.Transparent;\r
this.check_largeFile.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.check_largeFile.Location = new System.Drawing.Point(261, 23);\r
+ this.check_largeFile.Location = new System.Drawing.Point(193, 22);\r
this.check_largeFile.Name = "check_largeFile";\r
this.check_largeFile.Size = new System.Drawing.Size(82, 17);\r
this.check_largeFile.TabIndex = 4;\r
this.check_turbo.BackColor = System.Drawing.Color.Transparent;\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, 151);\r
+ this.check_turbo.Location = new System.Drawing.Point(37, 184);\r
this.check_turbo.Name = "check_turbo";\r
this.check_turbo.Size = new System.Drawing.Size(115, 17);\r
this.check_turbo.TabIndex = 7;\r
"24",\r
"25",\r
"29.97"});\r
- this.drp_videoFramerate.Location = new System.Drawing.Point(125, 35);\r
+ this.drp_videoFramerate.Location = new System.Drawing.Point(125, 68);\r
this.drp_videoFramerate.Name = "drp_videoFramerate";\r
this.drp_videoFramerate.Size = new System.Drawing.Size(126, 21);\r
this.drp_videoFramerate.TabIndex = 2;\r
// \r
// slider_videoQuality\r
// \r
- this.slider_videoQuality.Location = new System.Drawing.Point(435, 90);\r
+ this.slider_videoQuality.Location = new System.Drawing.Point(468, 91);\r
this.slider_videoQuality.Maximum = 100;\r
this.slider_videoQuality.Name = "slider_videoQuality";\r
this.slider_videoQuality.Size = new System.Drawing.Size(167, 42);\r
// text_filesize\r
// \r
this.text_filesize.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.text_filesize.Location = new System.Drawing.Point(446, 63);\r
+ this.text_filesize.Location = new System.Drawing.Point(476, 36);\r
this.text_filesize.Name = "text_filesize";\r
this.text_filesize.Size = new System.Drawing.Size(81, 21);\r
this.text_filesize.TabIndex = 12;\r
// text_bitrate\r
// \r
this.text_bitrate.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.text_bitrate.Location = new System.Drawing.Point(446, 36);\r
+ this.text_bitrate.Location = new System.Drawing.Point(476, 63);\r
this.text_bitrate.Name = "text_bitrate";\r
this.text_bitrate.Size = new System.Drawing.Size(81, 21);\r
this.text_bitrate.TabIndex = 10;\r
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(349, 23);\r
+ this.check_optimiseMP4.Location = new System.Drawing.Point(281, 22);\r
this.check_optimiseMP4.Name = "check_optimiseMP4";\r
this.check_optimiseMP4.Size = new System.Drawing.Size(143, 17);\r
this.check_optimiseMP4.TabIndex = 25;\r
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(498, 23);\r
+ this.check_iPodAtom.Location = new System.Drawing.Point(430, 22);\r
this.check_iPodAtom.Name = "check_iPodAtom";\r
this.check_iPodAtom.Size = new System.Drawing.Size(122, 17);\r
this.check_iPodAtom.TabIndex = 26;\r
this.FileToolStripMenuItem.Size = new System.Drawing.Size(38, 20);\r
this.FileToolStripMenuItem.Text = "&File";\r
// \r
- // mnu_open\r
- // \r
- this.mnu_open.Image = ((System.Drawing.Image)(resources.GetObject("mnu_open.Image")));\r
- this.mnu_open.ImageTransparentColor = System.Drawing.Color.Magenta;\r
- this.mnu_open.Name = "mnu_open";\r
- this.mnu_open.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));\r
- this.mnu_open.Size = new System.Drawing.Size(210, 22);\r
- this.mnu_open.Text = "&Import Preset";\r
- this.mnu_open.Click += new System.EventHandler(this.mnu_open_Click);\r
- // \r
// toolStripSeparator2\r
// \r
this.toolStripSeparator2.Name = "toolStripSeparator2";\r
// \r
this.ToolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
this.mnu_encode,\r
+ this.mnu_encodeLog,\r
this.mnu_viewDVDdata,\r
this.ToolStripSeparator5,\r
this.mnu_options});\r
this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(49, 20);\r
this.ToolsToolStripMenuItem.Text = "&Tools";\r
// \r
- // mnu_encode\r
- // \r
- this.mnu_encode.Image = global::Handbrake.Properties.Resources.Queue_Small;\r
- this.mnu_encode.Name = "mnu_encode";\r
- this.mnu_encode.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));\r
- this.mnu_encode.Size = new System.Drawing.Size(217, 22);\r
- this.mnu_encode.Text = "Show Queue";\r
- this.mnu_encode.Click += new System.EventHandler(this.mnu_encode_Click);\r
- // \r
- // mnu_viewDVDdata\r
- // \r
- this.mnu_viewDVDdata.Image = global::Handbrake.Properties.Resources.Movies_Small;\r
- this.mnu_viewDVDdata.Name = "mnu_viewDVDdata";\r
- this.mnu_viewDVDdata.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));\r
- this.mnu_viewDVDdata.Size = new System.Drawing.Size(217, 22);\r
- this.mnu_viewDVDdata.Text = "View DVD data";\r
- this.mnu_viewDVDdata.Click += new System.EventHandler(this.mnu_viewDVDdata_Click);\r
- // \r
// ToolStripSeparator5\r
// \r
this.ToolStripSeparator5.Name = "ToolStripSeparator5";\r
- this.ToolStripSeparator5.Size = new System.Drawing.Size(214, 6);\r
- // \r
- // mnu_options\r
- // \r
- this.mnu_options.Image = global::Handbrake.Properties.Resources.Pref_Small;\r
- this.mnu_options.Name = "mnu_options";\r
- this.mnu_options.Size = new System.Drawing.Size(217, 22);\r
- this.mnu_options.Text = "Options";\r
- this.mnu_options.Click += new System.EventHandler(this.mnu_options_Click);\r
+ this.ToolStripSeparator5.Size = new System.Drawing.Size(248, 6);\r
// \r
// PresetsToolStripMenuItem\r
// \r
// \r
// groupBox_output\r
// \r
- this.groupBox_output.Controls.Add(this.drp_videoEncoder);\r
- this.groupBox_output.Controls.Add(this.Label47);\r
+ this.groupBox_output.Controls.Add(this.drop_format);\r
+ this.groupBox_output.Controls.Add(this.label5);\r
this.groupBox_output.Controls.Add(this.check_largeFile);\r
this.groupBox_output.Controls.Add(this.check_iPodAtom);\r
this.groupBox_output.Controls.Add(this.check_optimiseMP4);\r
this.Label47.AutoSize = true;\r
this.Label47.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.Label47.ForeColor = System.Drawing.Color.Black;\r
- this.Label47.Location = new System.Drawing.Point(17, 24);\r
+ this.Label47.Location = new System.Drawing.Point(13, 39);\r
this.Label47.Name = "Label47";\r
- this.Label47.Size = new System.Drawing.Size(62, 13);\r
+ this.Label47.Size = new System.Drawing.Size(84, 13);\r
this.Label47.TabIndex = 0;\r
- this.Label47.Text = "Encoder: ";\r
+ this.Label47.Text = "Video Codec:";\r
// \r
// Label3\r
// \r
// TabPage3\r
// \r
this.TabPage3.BackColor = System.Drawing.Color.Transparent;\r
+ this.TabPage3.Controls.Add(this.drp_videoEncoder);\r
+ this.TabPage3.Controls.Add(this.Label47);\r
this.TabPage3.Controls.Add(this.label25);\r
this.TabPage3.Controls.Add(this.lbl_vfr);\r
this.TabPage3.Controls.Add(this.check_grayscale);\r
this.label25.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.label25.Location = new System.Drawing.Point(13, 13);\r
this.label25.Name = "label25";\r
- this.label25.Size = new System.Drawing.Size(76, 13);\r
+ this.label25.Size = new System.Drawing.Size(43, 13);\r
this.label25.TabIndex = 0;\r
- this.label25.Text = "Framerate";\r
+ this.label25.Text = "Video";\r
// \r
// lbl_vfr\r
// \r
this.lbl_vfr.AutoSize = true;\r
this.lbl_vfr.BackColor = System.Drawing.Color.Transparent;\r
this.lbl_vfr.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.lbl_vfr.Location = new System.Drawing.Point(123, 64);\r
+ this.lbl_vfr.Location = new System.Drawing.Point(123, 97);\r
this.lbl_vfr.Name = "lbl_vfr";\r
this.lbl_vfr.Size = new System.Drawing.Size(52, 12);\r
this.lbl_vfr.TabIndex = 3;\r
this.check_grayscale.AutoSize = true;\r
this.check_grayscale.BackColor = System.Drawing.Color.Transparent;\r
this.check_grayscale.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.check_grayscale.Location = new System.Drawing.Point(16, 105);\r
+ this.check_grayscale.Location = new System.Drawing.Point(16, 138);\r
this.check_grayscale.Name = "check_grayscale";\r
this.check_grayscale.Size = new System.Drawing.Size(138, 17);\r
this.check_grayscale.TabIndex = 5;\r
this.Label22.AutoSize = true;\r
this.Label22.BackColor = System.Drawing.Color.Transparent;\r
this.Label22.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label22.Location = new System.Drawing.Point(13, 85);\r
+ this.Label22.Location = new System.Drawing.Point(13, 118);\r
this.Label22.Name = "Label22";\r
this.Label22.Size = new System.Drawing.Size(191, 13);\r
this.Label22.TabIndex = 4;\r
this.check_2PassEncode.AutoSize = true;\r
this.check_2PassEncode.BackColor = System.Drawing.Color.Transparent;\r
this.check_2PassEncode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.check_2PassEncode.Location = new System.Drawing.Point(16, 128);\r
+ this.check_2PassEncode.Location = new System.Drawing.Point(16, 161);\r
this.check_2PassEncode.Name = "check_2PassEncode";\r
this.check_2PassEncode.Size = new System.Drawing.Size(119, 17);\r
this.check_2PassEncode.TabIndex = 6;\r
this.Label2.AutoSize = true;\r
this.Label2.BackColor = System.Drawing.Color.Transparent;\r
this.Label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label2.Location = new System.Drawing.Point(304, 13);\r
+ this.Label2.Location = new System.Drawing.Point(334, 13);\r
this.Label2.Name = "Label2";\r
this.Label2.Size = new System.Drawing.Size(53, 13);\r
this.Label2.TabIndex = 8;\r
this.Label42.AutoSize = true;\r
this.Label42.BackColor = System.Drawing.Color.Transparent;\r
this.Label42.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label42.Location = new System.Drawing.Point(304, 38);\r
+ this.Label42.Location = new System.Drawing.Point(334, 65);\r
this.Label42.Name = "Label42";\r
this.Label42.Size = new System.Drawing.Size(117, 13);\r
this.Label42.TabIndex = 9;\r
this.SliderValue.AutoSize = true;\r
this.SliderValue.BackColor = System.Drawing.Color.Transparent;\r
this.SliderValue.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.SliderValue.Location = new System.Drawing.Point(599, 96);\r
+ this.SliderValue.Location = new System.Drawing.Point(641, 100);\r
this.SliderValue.Name = "SliderValue";\r
this.SliderValue.Size = new System.Drawing.Size(23, 12);\r
this.SliderValue.TabIndex = 15;\r
this.Label46.AutoSize = true;\r
this.Label46.BackColor = System.Drawing.Color.Transparent;\r
this.Label46.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label46.Location = new System.Drawing.Point(13, 38);\r
+ this.Label46.Location = new System.Drawing.Point(13, 71);\r
this.Label46.Name = "Label46";\r
this.Label46.Size = new System.Drawing.Size(106, 13);\r
this.Label46.TabIndex = 1;\r
this.Label40.AutoSize = true;\r
this.Label40.BackColor = System.Drawing.Color.Transparent;\r
this.Label40.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label40.Location = new System.Drawing.Point(304, 95);\r
+ this.Label40.Location = new System.Drawing.Point(334, 99);\r
this.Label40.Name = "Label40";\r
this.Label40.Size = new System.Drawing.Size(107, 13);\r
this.Label40.TabIndex = 13;\r
// tabPage4\r
// \r
this.tabPage4.Controls.Add(this.btn_clear);\r
- this.tabPage4.Controls.Add(this.btn_copy2C);\r
this.tabPage4.Controls.Add(this.label34);\r
this.tabPage4.Controls.Add(this.btn_generate_Query);\r
this.tabPage4.Controls.Add(this.label33);\r
this.btn_clear.UseVisualStyleBackColor = true;\r
this.btn_clear.Click += new System.EventHandler(this.btn_clear_Click);\r
// \r
- // btn_copy2C\r
- // \r
- this.btn_copy2C.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
- this.btn_copy2C.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.btn_copy2C.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
- this.btn_copy2C.Location = new System.Drawing.Point(148, 75);\r
- this.btn_copy2C.Name = "btn_copy2C";\r
- this.btn_copy2C.Size = new System.Drawing.Size(136, 22);\r
- this.btn_copy2C.TabIndex = 3;\r
- this.btn_copy2C.Text = "Copy to clipboard";\r
- this.btn_copy2C.UseVisualStyleBackColor = true;\r
- this.btn_copy2C.Click += new System.EventHandler(this.btn_copy2C_Click);\r
- // \r
// label34\r
// \r
this.label34.AutoSize = true;\r
this.toolStrip1.TabIndex = 0;\r
this.toolStrip1.Text = "toolStrip1";\r
// \r
+ // toolStripSeparator10\r
+ // \r
+ this.toolStripSeparator10.Name = "toolStripSeparator10";\r
+ this.toolStripSeparator10.Size = new System.Drawing.Size(6, 39);\r
+ // \r
+ // toolStripSeparator4\r
+ // \r
+ this.toolStripSeparator4.Name = "toolStripSeparator4";\r
+ this.toolStripSeparator4.Size = new System.Drawing.Size(6, 39);\r
+ // \r
+ // toolStripSeparator8\r
+ // \r
+ this.toolStripSeparator8.Name = "toolStripSeparator8";\r
+ this.toolStripSeparator8.Size = new System.Drawing.Size(6, 39);\r
+ // \r
+ // toolStripSeparator9\r
+ // \r
+ this.toolStripSeparator9.Name = "toolStripSeparator9";\r
+ this.toolStripSeparator9.Size = new System.Drawing.Size(6, 39);\r
+ // \r
+ // lbl_encode\r
+ // \r
+ this.lbl_encode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.lbl_encode.Name = "lbl_encode";\r
+ this.lbl_encode.Size = new System.Drawing.Size(148, 36);\r
+ this.lbl_encode.Text = "Encoding: Not Started";\r
+ // \r
+ // notifyIcon\r
+ // \r
+ this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;\r
+ this.notifyIcon.BalloonTipText = "HandBrake Status Here";\r
+ this.notifyIcon.BalloonTipTitle = "HandBrake";\r
+ this.notifyIcon.ContextMenuStrip = notifyIconMenu;\r
+ this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));\r
+ this.notifyIcon.Text = "HandBrake";\r
+ this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);\r
+ // \r
+ // drop_format\r
+ // \r
+ this.drop_format.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+ this.drop_format.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.drop_format.FormattingEnabled = true;\r
+ this.drop_format.Items.AddRange(new object[] {\r
+ "MP4 File",\r
+ "M4V File",\r
+ "MKV File",\r
+ "AVI File",\r
+ "OGM File"});\r
+ this.drop_format.Location = new System.Drawing.Point(75, 19);\r
+ 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.drop_format.SelectedIndexChanged += new System.EventHandler(this.drop_format_SelectedIndexChanged);\r
+ // \r
+ // label5\r
+ // \r
+ this.label5.AutoSize = true;\r
+ this.label5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.label5.ForeColor = System.Drawing.Color.Black;\r
+ this.label5.Location = new System.Drawing.Point(17, 23);\r
+ this.label5.Name = "label5";\r
+ this.label5.Size = new System.Drawing.Size(52, 13);\r
+ this.label5.TabIndex = 27;\r
+ this.label5.Text = "Format:";\r
+ // \r
// btn_source\r
// \r
this.btn_source.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
- this.btn_dvd_source,\r
this.btn_file_source,\r
+ this.btn_dvd_source,\r
+ this.toolStripSeparator1,\r
this.mnu_dvd_drive});\r
this.btn_source.Image = global::Handbrake.Properties.Resources.Movies;\r
this.btn_source.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.btn_source.Text = "Source";\r
this.btn_source.Click += new System.EventHandler(this.btn_source_Click);\r
// \r
+ // btn_file_source\r
+ // \r
+ this.btn_file_source.Image = global::Handbrake.Properties.Resources.Movies_Small;\r
+ this.btn_file_source.Name = "btn_file_source";\r
+ this.btn_file_source.Size = new System.Drawing.Size(194, 22);\r
+ this.btn_file_source.Text = "Video File";\r
+ this.btn_file_source.Click += new System.EventHandler(this.btn_file_source_Click);\r
+ // \r
// btn_dvd_source\r
// \r
+ this.btn_dvd_source.Image = ((System.Drawing.Image)(resources.GetObject("btn_dvd_source.Image")));\r
+ this.btn_dvd_source.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.btn_dvd_source.Name = "btn_dvd_source";\r
- this.btn_dvd_source.Size = new System.Drawing.Size(197, 22);\r
- this.btn_dvd_source.Text = "DVD / VIDEO_TS Folder";\r
+ this.btn_dvd_source.Size = new System.Drawing.Size(194, 22);\r
+ this.btn_dvd_source.Text = "DVD/ VIDEO_TS Folder";\r
this.btn_dvd_source.Click += new System.EventHandler(this.btn_dvd_source_Click);\r
// \r
- // btn_file_source\r
+ // toolStripSeparator1\r
// \r
- this.btn_file_source.Name = "btn_file_source";\r
- this.btn_file_source.Size = new System.Drawing.Size(197, 22);\r
- this.btn_file_source.Text = "Video File";\r
- this.btn_file_source.Click += new System.EventHandler(this.btn_file_source_Click);\r
+ this.toolStripSeparator1.Name = "toolStripSeparator1";\r
+ this.toolStripSeparator1.Size = new System.Drawing.Size(191, 6);\r
// \r
// mnu_dvd_drive\r
// \r
- this.mnu_dvd_drive.Image = global::Handbrake.Properties.Resources.Disc;\r
+ this.mnu_dvd_drive.Image = global::Handbrake.Properties.Resources.disc_small;\r
this.mnu_dvd_drive.Name = "mnu_dvd_drive";\r
- this.mnu_dvd_drive.Size = new System.Drawing.Size(197, 22);\r
+ this.mnu_dvd_drive.Size = new System.Drawing.Size(194, 22);\r
this.mnu_dvd_drive.Text = "[No DVD Drive Ready]";\r
this.mnu_dvd_drive.Visible = false;\r
this.mnu_dvd_drive.Click += new System.EventHandler(this.mnu_dvd_drive_Click);\r
// \r
- // toolStripSeparator10\r
- // \r
- this.toolStripSeparator10.Name = "toolStripSeparator10";\r
- this.toolStripSeparator10.Size = new System.Drawing.Size(6, 39);\r
- // \r
// btn_start\r
// \r
this.btn_start.Image = global::Handbrake.Properties.Resources.Play;\r
this.btn_showQueue.Text = "Show Queue";\r
this.btn_showQueue.Click += new System.EventHandler(this.btn_showQueue_Click);\r
// \r
- // toolStripSeparator4\r
- // \r
- this.toolStripSeparator4.Name = "toolStripSeparator4";\r
- this.toolStripSeparator4.Size = new System.Drawing.Size(6, 39);\r
- // \r
// btn_ActivityWindow\r
// \r
this.btn_ActivityWindow.Image = global::Handbrake.Properties.Resources.ActivityWindow;\r
"ently running encode.";\r
this.btn_ActivityWindow.Click += new System.EventHandler(this.btn_ActivityWindow_Click);\r
// \r
- // toolStripSeparator8\r
- // \r
- this.toolStripSeparator8.Name = "toolStripSeparator8";\r
- this.toolStripSeparator8.Size = new System.Drawing.Size(6, 39);\r
- // \r
// btn_minimize\r
// \r
this.btn_minimize.Image = ((System.Drawing.Image)(resources.GetObject("btn_minimize.Image")));\r
this.btn_minimize.Text = "Minimize To Taskbar";\r
this.btn_minimize.Click += new System.EventHandler(this.btn_minimize_Click);\r
// \r
- // toolStripSeparator9\r
+ // mnu_open\r
// \r
- this.toolStripSeparator9.Name = "toolStripSeparator9";\r
- this.toolStripSeparator9.Size = new System.Drawing.Size(6, 39);\r
+ this.mnu_open.Image = ((System.Drawing.Image)(resources.GetObject("mnu_open.Image")));\r
+ this.mnu_open.ImageTransparentColor = System.Drawing.Color.Magenta;\r
+ this.mnu_open.Name = "mnu_open";\r
+ this.mnu_open.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));\r
+ this.mnu_open.Size = new System.Drawing.Size(210, 22);\r
+ this.mnu_open.Text = "&Import Preset";\r
+ this.mnu_open.Click += new System.EventHandler(this.mnu_open_Click);\r
// \r
- // lbl_encode\r
+ // mnu_encode\r
// \r
- this.lbl_encode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.lbl_encode.Name = "lbl_encode";\r
- this.lbl_encode.Size = new System.Drawing.Size(148, 36);\r
- this.lbl_encode.Text = "Encoding: Not Started";\r
+ this.mnu_encode.Image = global::Handbrake.Properties.Resources.Queue_Small;\r
+ this.mnu_encode.Name = "mnu_encode";\r
+ this.mnu_encode.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));\r
+ this.mnu_encode.Size = new System.Drawing.Size(251, 22);\r
+ this.mnu_encode.Text = "Show Queue";\r
+ this.mnu_encode.Click += new System.EventHandler(this.mnu_encode_Click);\r
// \r
- // notifyIcon\r
+ // mnu_encodeLog\r
// \r
- this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;\r
- this.notifyIcon.BalloonTipText = "HandBrake Status Here";\r
- this.notifyIcon.BalloonTipTitle = "HandBrake";\r
- this.notifyIcon.ContextMenuStrip = notifyIconMenu;\r
- this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));\r
- this.notifyIcon.Text = "HandBrake";\r
- this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);\r
+ this.mnu_encodeLog.Image = global::Handbrake.Properties.Resources.ActivityWindow_small;\r
+ this.mnu_encodeLog.Name = "mnu_encodeLog";\r
+ this.mnu_encodeLog.Size = new System.Drawing.Size(251, 22);\r
+ this.mnu_encodeLog.Text = "Activity Window (Encode log)";\r
+ this.mnu_encodeLog.Click += new System.EventHandler(this.mnu_encodeLog_Click);\r
+ // \r
+ // mnu_viewDVDdata\r
+ // \r
+ this.mnu_viewDVDdata.Image = global::Handbrake.Properties.Resources.Movies_Small;\r
+ this.mnu_viewDVDdata.Name = "mnu_viewDVDdata";\r
+ this.mnu_viewDVDdata.Size = new System.Drawing.Size(251, 22);\r
+ this.mnu_viewDVDdata.Text = "Activity Window (Scan log)";\r
+ this.mnu_viewDVDdata.Click += new System.EventHandler(this.mnu_viewDVDdata_Click);\r
+ // \r
+ // mnu_options\r
+ // \r
+ this.mnu_options.Image = global::Handbrake.Properties.Resources.Pref_Small;\r
+ this.mnu_options.Name = "mnu_options";\r
+ this.mnu_options.Size = new System.Drawing.Size(251, 22);\r
+ this.mnu_options.Text = "Options";\r
+ this.mnu_options.Click += new System.EventHandler(this.mnu_options_Click);\r
// \r
// frmMain\r
// \r
internal System.Windows.Forms.Button btn_generate_Query;\r
internal System.Windows.Forms.Label label33;\r
internal System.Windows.Forms.Button btn_clear;\r
- internal System.Windows.Forms.Button btn_copy2C;\r
private System.Windows.Forms.ToolStrip toolStrip1;\r
private System.Windows.Forms.ToolStripButton btn_start;\r
private System.Windows.Forms.ToolStripButton btn_add2Queue;\r
internal System.Windows.Forms.Label lbl_duration;\r
internal System.Windows.Forms.Label label_duration;\r
private System.Windows.Forms.ToolStripSeparator toolStripSeparator10;\r
- private System.Windows.Forms.ToolStripMenuItem btn_dvd_source;\r
private System.Windows.Forms.ToolStripMenuItem btn_file_source;\r
private System.Windows.Forms.ToolStripLabel lbl_encode;\r
private System.Windows.Forms.ToolStripMenuItem mnu_delete_preset;\r
private System.Windows.Forms.ToolStripMenuItem mnu_user_guide;\r
private System.Windows.Forms.ToolStripMenuItem mnu_dvd_drive;\r
private System.Windows.Forms.ToolStripDropDownButton btn_source;\r
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;\r
+ private System.Windows.Forms.ToolStripMenuItem btn_dvd_source;\r
+ internal System.Windows.Forms.ComboBox drop_format;\r
+ internal System.Windows.Forms.Label label5;\r
+ internal System.Windows.Forms.ToolStripMenuItem mnu_encodeLog;\r
\r
}\r
}
\ No newline at end of file
// Declarations *******************************************************\r
Functions.Common hb_common_func = new Functions.Common();\r
Functions.x264Panel x264PanelFunctions = new Functions.x264Panel();\r
- Functions.CLI cliObj = new Functions.CLI();\r
+ Functions.Encode cliObj = new Functions.Encode();\r
Functions.Queue encodeQueue = new Functions.Queue();\r
Parsing.Title selectedTitle;\r
Functions.Presets presetHandler = new Functions.Presets();\r
\r
InitializeComponent();\r
\r
+ // Update the users config file with the CLI version data.\r
+ lblStatus.Text = "Setting Version Data ...";\r
+ Application.DoEvents();\r
+ ArrayList x = hb_common_func.getCliVersionData();\r
+ if (x != null)\r
+ {\r
+ try\r
+ {\r
+ Properties.Settings.Default.hb_build = int.Parse(x[1].ToString());\r
+ Properties.Settings.Default.hb_version = x[0].ToString();\r
+ }\r
+ catch (Exception) { /* Do Nothing */ }\r
+ }\r
+\r
// show the form, but leave disabled until preloading is complete then show the main form\r
this.Enabled = false;\r
this.Show();\r
Thread.Sleep(100);\r
}\r
\r
- //H264 Panel Loading\r
- lblStatus.Text = "Loading H264 Panel ...";\r
- Application.DoEvents();\r
- setupH264Panel();\r
- Thread.Sleep(100);\r
-\r
- // Load the presets\r
- // Set some defaults for the dropdown menus. Just incase the normal or user presets dont load.\r
- lblStatus.Text = "Loading Presets Bar ...";\r
- Application.DoEvents();\r
- drp_crop.SelectedIndex = 0;\r
- loadPresetPanel();\r
- Thread.Sleep(200);\r
-\r
- // Now load the users default if required. (Will overide the above setting)\r
- lblStatus.Text = "Loading Preset Settings ...";\r
+ // Setup the GUI components\r
+ lblStatus.Text = "Setting up the GUI ...";\r
Application.DoEvents();\r
+ setupH264Panel(); // Initalize the H.264 Panel\r
+ drp_crop.SelectedIndex = 0; // Set the default Cropping Option\r
+ loadPresetPanel(); // Load the Preset Panel\r
+ // Load the user's default settings or Normal Preset\r
if (Properties.Settings.Default.defaultSettings == "Checked")\r
loadUserDefaults();\r
else\r
loadNormalPreset();\r
- Thread.Sleep(100);\r
-\r
- // Enable or disable tooltips\r
+ // Enabled GUI tooltip's if Required\r
if (Properties.Settings.Default.tooltipEnable == "Checked")\r
- {\r
- lblStatus.Text = "Loading Tooltips ...";\r
- Application.DoEvents();\r
ToolTip.Active = true;\r
- Thread.Sleep(100);\r
- }\r
+ Thread.Sleep(400);\r
+\r
\r
//Finished Loading\r
lblStatus.Text = "Loading Complete!";\r
// Turn the interface back to the user\r
this.Enabled = true;\r
\r
- // Some event Handlers.\r
+ // Some event Handlers. Used for minimize to taskbar\r
this.Resize += new EventHandler(frmMain_Resize);\r
-\r
}\r
\r
// Startup Functions\r
queueWindow.setQueue(encodeQueue);\r
queueWindow.Show();\r
}\r
+ private void mnu_encodeLog_Click(object sender, EventArgs e)\r
+ {\r
+ frmActivityWindow dvdInfoWindow = new frmActivityWindow("hb_encode_log.dat", this, queueWindow);\r
+ dvdInfoWindow.Show();\r
+ }\r
private void mnu_viewDVDdata_Click(object sender, EventArgs e)\r
{\r
frmActivityWindow dvdInfoWindow = new frmActivityWindow("dvdinfo.dat", this, queueWindow);\r
\r
private void mnu_presetReset_Click(object sender, EventArgs e)\r
{\r
- cliObj.grabCLIPresets();\r
+ hb_common_func.grabCLIPresets();\r
loadPresetPanel();\r
if (treeView_presets.Nodes.Count == 0)\r
MessageBox.Show("Unable to load the presets.dat file. Please select \"Update Built-in Presets\" from the Presets Menu \nMake sure you are running the program in Admin mode if running on Vista. See Windows FAQ for details!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
{\r
setAudioByContainer(text_destination.Text);\r
setVideoByContainer(text_destination.Text);\r
+ string path = text_destination.Text;\r
+ if (path.EndsWith(".mp4"))\r
+ drop_format.SelectedIndex = 0;\r
+ else if (path.EndsWith(".m4v"))\r
+ drop_format.SelectedIndex = 1;\r
+ else if (path.EndsWith(".mkv"))\r
+ drop_format.SelectedIndex = 2;\r
+ else if (path.EndsWith(".avi"))\r
+ drop_format.SelectedIndex = 3;\r
+ else if (path.EndsWith(".ogm"))\r
+ drop_format.SelectedIndex = 4;\r
+\r
}\r
\r
// Output Settings\r
+ private void drop_format_SelectedIndexChanged(object sender, EventArgs e)\r
+ {\r
+ \r
+ if (drop_format.SelectedIndex == 0)\r
+ setExtension(".mp4");\r
+ else if (drop_format.SelectedIndex == 1)\r
+ setExtension(".m4v");\r
+ else if (drop_format.SelectedIndex == 2)\r
+ setExtension(".mkv");\r
+ else if (drop_format.SelectedIndex == 3)\r
+ setExtension(".avi");\r
+ else if (drop_format.SelectedIndex == 4)\r
+ setExtension(".ogm");\r
+ }\r
+\r
+ //Video Tab\r
private void drp_videoEncoder_SelectedIndexChanged(object sender, EventArgs e)\r
{\r
if ((text_destination.Text.Contains(".mp4")) || (text_destination.Text.Contains(".m4v")))\r
}\r
\r
}\r
-\r
- //Video Tab\r
private void text_bitrate_TextChanged(object sender, EventArgs e)\r
{\r
text_filesize.Text = "";\r
{\r
rtf_query.Clear();\r
}\r
- private void btn_copy2C_Click(object sender, EventArgs e)\r
- {\r
- if (rtf_query.Text != "")\r
- Clipboard.SetText(rtf_query.Text, TextDataFormat.Text);\r
- }\r
\r
// Presets\r
private void btn_addPreset_Click(object sender, EventArgs e)\r
#endregion\r
\r
#region Functions\r
+ // Replace File extenstion.\r
+ public void setExtension(string newExtension)\r
+ {\r
+ text_destination.Text = text_destination.Text.Replace(".mp4", newExtension);\r
+ text_destination.Text = text_destination.Text.Replace(".m4v", newExtension);\r
+ text_destination.Text = text_destination.Text.Replace(".mkv", newExtension);\r
+ text_destination.Text = text_destination.Text.Replace(".avi", newExtension);\r
+ text_destination.Text = text_destination.Text.Replace(".ogm", newExtension);\r
+ }\r
+\r
// DVD Parsing\r
public void setStreamReader(Parsing.DVD dvd)\r
{\r
MessageBox.Show("Drive Detection Error. \n Error Information: \n\n " + exc.ToString());\r
}\r
}\r
+\r
#endregion\r
\r
#region Encoding and Queue\r
else\r
{\r
hbProc = cliObj.runCli(this, (string)state);\r
+\r
hbProc.WaitForExit();\r
+ //MessageBox.Show(hbProc.ExitCode.ToString());\r
\r
setEncodeLabelFinished();\r
hbProc = null;\r
}\r
\r
#endregion\r
- \r
+\r
+\r
+\r
// This is the END of the road ------------------------------------------------------------------------------\r
}\r
}
\ No newline at end of file