/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.btResume = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.label28 = new System.Windows.Forms.Label(); this.cbUseBestVideoInputFormat = new System.Windows.Forms.CheckBox(); this.label18 = new System.Windows.Forms.Label(); this.cbVideoFrameRate = new System.Windows.Forms.ComboBox(); this.cbVideoInputFormat = new System.Windows.Forms.ComboBox(); this.cbVideoInputDevice = new System.Windows.Forms.ComboBox(); this.label13 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.cbUseBestAudioInputFormat = new System.Windows.Forms.CheckBox(); this.cbUseAudioInputFromVideoCaptureDevice = new System.Windows.Forms.CheckBox(); this.cbAudioInputLine = new System.Windows.Forms.ComboBox(); this.cbAudioInputFormat = new System.Windows.Forms.ComboBox(); this.cbAudioInputDevice = new System.Windows.Forms.ComboBox(); this.label14 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.cbTelemetry = new System.Windows.Forms.CheckBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.CustomRedist_Enabled = false; this.VideoCapture1.CustomRedist_Path = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Debug_Telemetry = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(401, 12); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.OSD_Enabled = false; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = TimeSpan.Zero; this.VideoCapture1.Size = new System.Drawing.Size(402, 301); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 0; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; this.VideoCapture1.Video_Effects_GPU_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = true; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired); // // btResume // this.btResume.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btResume.Location = new System.Drawing.Point(335, 290); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(55, 23); this.btResume.TabIndex = 76; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btPause // this.btPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btPause.Location = new System.Drawing.Point(274, 290); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(55, 23); this.btPause.TabIndex = 75; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btStop // this.btStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(77, 290); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 74; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(12, 290); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 73; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(12, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(383, 272); this.tabControl1.TabIndex = 77; // // tabPage1 // this.tabPage1.Controls.Add(this.label28); this.tabPage1.Controls.Add(this.cbUseBestVideoInputFormat); this.tabPage1.Controls.Add(this.label18); this.tabPage1.Controls.Add(this.cbVideoFrameRate); this.tabPage1.Controls.Add(this.cbVideoInputFormat); this.tabPage1.Controls.Add(this.cbVideoInputDevice); this.tabPage1.Controls.Add(this.label13); this.tabPage1.Controls.Add(this.label11); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(375, 246); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Video input"; this.tabPage1.UseVisualStyleBackColor = true; // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(301, 88); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(21, 13); this.label28.TabIndex = 127; this.label28.Text = "fps"; // // cbUseBestVideoInputFormat // this.cbUseBestVideoInputFormat.AutoSize = true; this.cbUseBestVideoInputFormat.Location = new System.Drawing.Point(156, 68); this.cbUseBestVideoInputFormat.Name = "cbUseBestVideoInputFormat"; this.cbUseBestVideoInputFormat.Size = new System.Drawing.Size(68, 17); this.cbUseBestVideoInputFormat.TabIndex = 126; this.cbUseBestVideoInputFormat.Text = "Use best"; this.cbUseBestVideoInputFormat.UseVisualStyleBackColor = true; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(227, 69); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(57, 13); this.label18.TabIndex = 125; this.label18.Text = "Frame rate"; // // cbVideoFrameRate // this.cbVideoFrameRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoFrameRate.FormattingEnabled = true; this.cbVideoFrameRate.Location = new System.Drawing.Point(230, 85); this.cbVideoFrameRate.Name = "cbVideoFrameRate"; this.cbVideoFrameRate.Size = new System.Drawing.Size(65, 21); this.cbVideoFrameRate.TabIndex = 124; // // cbVideoInputFormat // this.cbVideoInputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoInputFormat.FormattingEnabled = true; this.cbVideoInputFormat.Location = new System.Drawing.Point(19, 85); this.cbVideoInputFormat.Name = "cbVideoInputFormat"; this.cbVideoInputFormat.Size = new System.Drawing.Size(205, 21); this.cbVideoInputFormat.TabIndex = 123; // // cbVideoInputDevice // this.cbVideoInputDevice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoInputDevice.FormattingEnabled = true; this.cbVideoInputDevice.Location = new System.Drawing.Point(19, 32); this.cbVideoInputDevice.Name = "cbVideoInputDevice"; this.cbVideoInputDevice.Size = new System.Drawing.Size(205, 21); this.cbVideoInputDevice.TabIndex = 122; this.cbVideoInputDevice.SelectedIndexChanged += new System.EventHandler(this.cbVideoInputDevice_SelectedIndexChanged); // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(16, 69); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(63, 13); this.label13.TabIndex = 121; this.label13.Text = "Input format"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(16, 16); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(66, 13); this.label11.TabIndex = 120; this.label11.Text = "Input device"; // // tabPage2 // this.tabPage2.Controls.Add(this.cbUseBestAudioInputFormat); this.tabPage2.Controls.Add(this.cbUseAudioInputFromVideoCaptureDevice); this.tabPage2.Controls.Add(this.cbAudioInputLine); this.tabPage2.Controls.Add(this.cbAudioInputFormat); this.tabPage2.Controls.Add(this.cbAudioInputDevice); this.tabPage2.Controls.Add(this.label14); this.tabPage2.Controls.Add(this.label12); this.tabPage2.Controls.Add(this.label10); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(375, 246); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Audio input"; this.tabPage2.UseVisualStyleBackColor = true; // // cbUseBestAudioInputFormat // this.cbUseBestAudioInputFormat.AutoSize = true; this.cbUseBestAudioInputFormat.Location = new System.Drawing.Point(296, 68); this.cbUseBestAudioInputFormat.Name = "cbUseBestAudioInputFormat"; this.cbUseBestAudioInputFormat.Size = new System.Drawing.Size(68, 17); this.cbUseBestAudioInputFormat.TabIndex = 101; this.cbUseBestAudioInputFormat.Text = "Use best"; this.cbUseBestAudioInputFormat.UseVisualStyleBackColor = true; // // cbUseAudioInputFromVideoCaptureDevice // this.cbUseAudioInputFromVideoCaptureDevice.AutoSize = true; this.cbUseAudioInputFromVideoCaptureDevice.Location = new System.Drawing.Point(177, 15); this.cbUseAudioInputFromVideoCaptureDevice.Name = "cbUseAudioInputFromVideoCaptureDevice"; this.cbUseAudioInputFromVideoCaptureDevice.Size = new System.Drawing.Size(187, 17); this.cbUseAudioInputFromVideoCaptureDevice.TabIndex = 100; this.cbUseAudioInputFromVideoCaptureDevice.Text = "Use audio input from video source"; this.cbUseAudioInputFromVideoCaptureDevice.UseVisualStyleBackColor = true; this.cbUseAudioInputFromVideoCaptureDevice.CheckedChanged += new System.EventHandler(this.cbUseAudioInputFromVideoCaptureDevice_CheckedChanged); // // cbAudioInputLine // this.cbAudioInputLine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputLine.FormattingEnabled = true; this.cbAudioInputLine.Location = new System.Drawing.Point(19, 85); this.cbAudioInputLine.Name = "cbAudioInputLine"; this.cbAudioInputLine.Size = new System.Drawing.Size(168, 21); this.cbAudioInputLine.TabIndex = 99; // // cbAudioInputFormat // this.cbAudioInputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputFormat.FormattingEnabled = true; this.cbAudioInputFormat.Location = new System.Drawing.Point(196, 85); this.cbAudioInputFormat.Name = "cbAudioInputFormat"; this.cbAudioInputFormat.Size = new System.Drawing.Size(168, 21); this.cbAudioInputFormat.TabIndex = 98; // // cbAudioInputDevice // this.cbAudioInputDevice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputDevice.FormattingEnabled = true; this.cbAudioInputDevice.Location = new System.Drawing.Point(19, 32); this.cbAudioInputDevice.Name = "cbAudioInputDevice"; this.cbAudioInputDevice.Size = new System.Drawing.Size(345, 21); this.cbAudioInputDevice.TabIndex = 97; this.cbAudioInputDevice.SelectedIndexChanged += new System.EventHandler(this.cbAudioInputDevice_SelectedIndexChanged); // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(16, 69); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(50, 13); this.label14.TabIndex = 96; this.label14.Text = "Input line"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(16, 16); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(66, 13); this.label12.TabIndex = 95; this.label12.Text = "Input device"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(193, 69); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(63, 13); this.label10.TabIndex = 94; this.label10.Text = "Input format"; // // tabPage3 // this.tabPage3.Controls.Add(this.cbTelemetry); this.tabPage3.Controls.Add(this.cbDebugMode); this.tabPage3.Controls.Add(this.mmLog); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(375, 246); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Debug/Log"; this.tabPage3.UseVisualStyleBackColor = true; // // cbTelemetry // this.cbTelemetry.AutoSize = true; this.cbTelemetry.Checked = true; this.cbTelemetry.CheckState = System.Windows.Forms.CheckState.Checked; this.cbTelemetry.Location = new System.Drawing.Point(76, 14); this.cbTelemetry.Name = "cbTelemetry"; this.cbTelemetry.Size = new System.Drawing.Size(72, 17); this.cbTelemetry.TabIndex = 81; this.cbTelemetry.Text = "Telemetry"; this.cbTelemetry.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(12, 14); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(58, 17); this.cbDebugMode.TabIndex = 79; this.cbDebugMode.Text = "Debug"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Location = new System.Drawing.Point(12, 37); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(352, 200); this.mmLog.TabIndex = 78; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(813, 325); this.Controls.Add(this.tabControl1); this.Controls.Add(this.btResume); this.Controls.Add(this.btPause); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.VideoCapture1); this.Name = "Form1"; this.Text = "WebCam Preview Code Snippet"; this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.btSelectFile = new System.Windows.Forms.Button(); this.edFilename = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cbLoop = new System.Windows.Forms.CheckBox(); this.btNextFrame = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btResume = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tbSpeed = new System.Windows.Forms.TrackBar(); this.label16 = new System.Windows.Forms.Label(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label7 = new System.Windows.Forms.Label(); this.tbBalance1 = new System.Windows.Forms.TrackBar(); this.label6 = new System.Windows.Forms.Label(); this.tbVolume1 = new System.Windows.Forms.TrackBar(); this.label1 = new System.Windows.Forms.Label(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbBalance1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbVolume1)).BeginInit(); this.SuspendLayout(); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(321, 11); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(110, 13); this.linkLabel1.TabIndex = 19; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Watch video tutorials!"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // btSelectFile // this.btSelectFile.Location = new System.Drawing.Point(408, 28); this.btSelectFile.Name = "btSelectFile"; this.btSelectFile.Size = new System.Drawing.Size(23, 23); this.btSelectFile.TabIndex = 18; this.btSelectFile.Text = "..."; this.btSelectFile.UseVisualStyleBackColor = true; this.btSelectFile.Click += new System.EventHandler(this.btSelectFile_Click); // // edFilename // this.edFilename.Location = new System.Drawing.Point(15, 30); this.edFilename.Name = "edFilename"; this.edFilename.Size = new System.Drawing.Size(387, 20); this.edFilename.TabIndex = 17; this.edFilename.Text = "c:\\1.avi"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(12, 14); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(52, 13); this.label14.TabIndex = 16; this.label14.Text = "File name"; // // groupBox2 // this.groupBox2.Controls.Add(this.cbLoop); this.groupBox2.Controls.Add(this.btNextFrame); this.groupBox2.Controls.Add(this.btStop); this.groupBox2.Controls.Add(this.btPause); this.groupBox2.Controls.Add(this.btResume); this.groupBox2.Controls.Add(this.btStart); this.groupBox2.Controls.Add(this.tbSpeed); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.lbTime); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Location = new System.Drawing.Point(15, 57); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(416, 90); this.groupBox2.TabIndex = 20; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // cbLoop // this.cbLoop.AutoSize = true; this.cbLoop.Location = new System.Drawing.Point(330, 62); this.cbLoop.Name = "cbLoop"; this.cbLoop.Size = new System.Drawing.Size(50, 17); this.cbLoop.TabIndex = 9; this.cbLoop.Text = "Loop"; this.cbLoop.UseVisualStyleBackColor = true; // // btNextFrame // this.btNextFrame.Location = new System.Drawing.Point(249, 58); this.btNextFrame.Name = "btNextFrame"; this.btNextFrame.Size = new System.Drawing.Size(75, 23); this.btNextFrame.TabIndex = 8; this.btNextFrame.Text = "Next frame"; this.btNextFrame.UseVisualStyleBackColor = true; this.btNextFrame.Click += new System.EventHandler(this.btNextFrame_Click); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(180, 58); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(46, 23); this.btStop.TabIndex = 7; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(122, 58); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(52, 23); this.btPause.TabIndex = 6; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btResume // this.btResume.Location = new System.Drawing.Point(55, 58); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(61, 23); this.btResume.TabIndex = 5; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(6, 58); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(43, 23); this.btStart.TabIndex = 4; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tbSpeed // this.tbSpeed.Location = new System.Drawing.Point(321, 27); this.tbSpeed.Maximum = 25; this.tbSpeed.Minimum = 5; this.tbSpeed.Name = "tbSpeed"; this.tbSpeed.Size = new System.Drawing.Size(89, 45); this.tbSpeed.TabIndex = 3; this.tbSpeed.Value = 10; this.tbSpeed.Scroll += new System.EventHandler(this.tbSpeed_Scroll); // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(322, 11); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(38, 13); this.label16.TabIndex = 2; this.label16.Text = "Speed"; // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(219, 27); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 1; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 19); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(207, 45); this.tbTimeline.TabIndex = 0; this.tbTimeline.Scroll += new System.EventHandler(this.tbTimeline_Scroll); // // groupBox4 // this.groupBox4.Controls.Add(this.label7); this.groupBox4.Controls.Add(this.tbBalance1); this.groupBox4.Controls.Add(this.label6); this.groupBox4.Controls.Add(this.tbVolume1); this.groupBox4.Location = new System.Drawing.Point(15, 153); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(416, 107); this.groupBox4.TabIndex = 34; this.groupBox4.TabStop = false; this.groupBox4.Text = "Audio output"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(109, 28); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(46, 13); this.label7.TabIndex = 11; this.label7.Text = "Balance"; // // tbBalance1 // this.tbBalance1.BackColor = System.Drawing.SystemColors.Window; this.tbBalance1.Location = new System.Drawing.Point(112, 44); this.tbBalance1.Maximum = 100; this.tbBalance1.Minimum = -100; this.tbBalance1.Name = "tbBalance1"; this.tbBalance1.Size = new System.Drawing.Size(85, 45); this.tbBalance1.TabIndex = 10; this.tbBalance1.Scroll += new System.EventHandler(this.tbBalance1_Scroll); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(16, 28); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(42, 13); this.label6.TabIndex = 9; this.label6.Text = "Volume"; // // tbVolume1 // this.tbVolume1.BackColor = System.Drawing.SystemColors.Window; this.tbVolume1.Location = new System.Drawing.Point(19, 44); this.tbVolume1.Maximum = 100; this.tbVolume1.Minimum = 20; this.tbVolume1.Name = "tbVolume1"; this.tbVolume1.Size = new System.Drawing.Size(85, 45); this.tbVolume1.TabIndex = 8; this.tbVolume1.Value = 80; this.tbVolume1.Scroll += new System.EventHandler(this.tbVolume1_Scroll); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.Location = new System.Drawing.Point(550, 374); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(244, 13); this.label1.TabIndex = 35; this.label1.Text = "Much more features shown in Main Demo!"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // MediaPlayer1 // this.MediaPlayer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = false; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(437, 14); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(464, 350); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.Play_DelayEnabled = false; this.MediaPlayer1.TabIndex = 36; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = false; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); this.MediaPlayer1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.MediaPlayer1_OnLicenseRequired); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(915, 396); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.btSelectFile); this.Controls.Add(this.edFilename); this.Controls.Add(this.label14); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Media Player SDK - Two Windows Demo - Window 1"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbBalance1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbVolume1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.btStart = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.edURL = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.mmLog = new System.Windows.Forms.TextBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.btReadFormats = new System.Windows.Forms.Button(); this.cbFormat = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.SuspendLayout(); // // btStart // this.btStart.Location = new System.Drawing.Point(116, 51); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(75, 23); this.btStart.TabIndex = 0; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.BtStart_Click); // // btStop // this.btStop.Location = new System.Drawing.Point(197, 51); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(75, 23); this.btStop.TabIndex = 1; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.BtStop_Click); // // edURL // this.edURL.Location = new System.Drawing.Point(15, 25); this.edURL.Name = "edURL"; this.edURL.Size = new System.Drawing.Size(545, 20); this.edURL.TabIndex = 2; this.edURL.Text = "https://www.youtube.com/watch?v=qStFzmQGQNw"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 13); this.label1.TabIndex = 3; this.label1.Text = "URL"; // // MediaPlayer1 // this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = false; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.CustomRedist_Enabled = false; this.MediaPlayer1.CustomRedist_Path = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Debug_Telemetry = true; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.Info_UseLibMediaInfo = true; this.MediaPlayer1.Location = new System.Drawing.Point(15, 121); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.Play_DelayEnabled = false; this.MediaPlayer1.Play_PauseAtFirstFrame = false; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(545, 407); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.TabIndex = 4; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = false; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); this.MediaPlayer1.OnYouTubeVideoPlayback += new System.EventHandler <VisioForge.Types.YouTubeVideoPlaybackEventArgs>(this.MediaPlayer1_OnYouTubeVideoPlayback); // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(464, 64); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 6; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(302, 51); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(156, 45); this.tbTimeline.TabIndex = 5; // // mmLog // this.mmLog.Location = new System.Drawing.Point(15, 565); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.mmLog.Size = new System.Drawing.Size(545, 61); this.mmLog.TabIndex = 8; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(15, 542); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 7; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 86); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(81, 13); this.label2.TabIndex = 9; this.label2.Text = "Selected format"; // // btReadFormats // this.btReadFormats.Location = new System.Drawing.Point(15, 51); this.btReadFormats.Name = "btReadFormats"; this.btReadFormats.Size = new System.Drawing.Size(95, 23); this.btReadFormats.TabIndex = 11; this.btReadFormats.Text = "Read formats"; this.btReadFormats.UseVisualStyleBackColor = true; this.btReadFormats.Click += new System.EventHandler(this.BtReadFormats_Click); // // cbFormat // this.cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbFormat.FormattingEnabled = true; this.cbFormat.Location = new System.Drawing.Point(116, 83); this.cbFormat.Name = "cbFormat"; this.cbFormat.Size = new System.Drawing.Size(444, 21); this.cbFormat.TabIndex = 12; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(575, 642); this.Controls.Add(this.cbFormat); this.Controls.Add(this.btReadFormats); this.Controls.Add(this.label2); this.Controls.Add(this.mmLog); this.Controls.Add(this.cbDebugMode); this.Controls.Add(this.lbTime); this.Controls.Add(this.tbTimeline); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.label1); this.Controls.Add(this.edURL); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Name = "Form1"; this.Text = "YouTube Player Code Snippet"; ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.videoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.btStart = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.SuspendLayout(); // // videoCapture1 // this.videoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.videoCapture1.Audio_CaptureDevice = ""; this.videoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.videoCapture1.Audio_CaptureDevice_Format = ""; this.videoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.videoCapture1.Audio_CaptureDevice_Line = ""; this.videoCapture1.Audio_CaptureDevice_MasterDevice = null; this.videoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.videoCapture1.Audio_CaptureDevice_Path = null; this.videoCapture1.Audio_CaptureSourceFilter = null; this.videoCapture1.Audio_Channel_Mapper = null; this.videoCapture1.Audio_Decoder = null; this.videoCapture1.Audio_Effects_Enabled = false; this.videoCapture1.Audio_Effects_UseLegacyEffects = false; this.videoCapture1.Audio_Enhancer_Enabled = false; this.videoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.videoCapture1.Audio_PCM_Converter = null; this.videoCapture1.Audio_PlayAudio = true; this.videoCapture1.Audio_RecordAudio = true; this.videoCapture1.Audio_Sample_Grabber_Enabled = false; this.videoCapture1.Audio_VUMeter_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Volume = 100; this.videoCapture1.BackColor = System.Drawing.Color.Black; this.videoCapture1.Barcode_Reader_Enabled = false; this.videoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.videoCapture1.BDA_Source = null; this.videoCapture1.ChromaKey = null; this.videoCapture1.Custom_Source = null; this.videoCapture1.CustomRedist_Enabled = false; this.videoCapture1.CustomRedist_Path = null; this.videoCapture1.Debug_Dir = ""; this.videoCapture1.Debug_Mode = false; this.videoCapture1.Debug_Telemetry = false; this.videoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.videoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.videoCapture1.Decklink_Input_IREUSA = false; this.videoCapture1.Decklink_Input_SMPTE = false; this.videoCapture1.Decklink_Output = null; this.videoCapture1.Decklink_Source = null; this.videoCapture1.DirectCapture_Muxer = null; this.videoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.videoCapture1.Face_Tracking = null; this.videoCapture1.IP_Camera_Source = null; this.videoCapture1.Location = new System.Drawing.Point(12, 38); this.videoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.videoCapture1.Motion_Detection = null; this.videoCapture1.Motion_DetectionEx = null; this.videoCapture1.MPEG_Audio_Decoder = ""; this.videoCapture1.MPEG_Demuxer = null; this.videoCapture1.MPEG_Video_Decoder = ""; this.videoCapture1.MultiScreen_Enabled = false; this.videoCapture1.Name = "videoCapture1"; this.videoCapture1.Network_Streaming_Audio_Enabled = false; this.videoCapture1.Network_Streaming_Enabled = false; this.videoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.videoCapture1.Network_Streaming_Network_Port = 100; this.videoCapture1.Network_Streaming_Output = null; this.videoCapture1.Network_Streaming_URL = ""; this.videoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.videoCapture1.OSD_Enabled = false; this.videoCapture1.Output_Filename = "C:\\Users\\HP\\Documents\\VisioForge\\output.avi"; this.videoCapture1.Output_Format = null; this.videoCapture1.PIP_AddSampleGrabbers = false; this.videoCapture1.PIP_ChromaKeySettings = null; this.videoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.videoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.videoCapture1.Push_Source = null; this.videoCapture1.Screen_Capture_Source = null; this.videoCapture1.SeparateCapture_AutostartCapture = false; this.videoCapture1.SeparateCapture_Enabled = false; this.videoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.videoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.videoCapture1.SeparateCapture_GMFMode = true; this.videoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.videoCapture1.SeparateCapture_TimeThreshold = System.TimeSpan.Parse("00:00:00"); this.videoCapture1.Size = new System.Drawing.Size(588, 380); this.videoCapture1.Start_DelayEnabled = false; this.videoCapture1.TabIndex = 0; this.videoCapture1.Tags = null; this.videoCapture1.Timeshift_Settings = null; this.videoCapture1.TVTuner_Channel = 0; this.videoCapture1.TVTuner_Country = ""; this.videoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.videoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.videoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.videoCapture1.TVTuner_Frequency = 0; this.videoCapture1.TVTuner_InputType = ""; this.videoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.videoCapture1.TVTuner_Name = ""; this.videoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.videoCapture1.Video_CaptureDevice = ""; this.videoCapture1.Video_CaptureDevice_Format = ""; this.videoCapture1.Video_CaptureDevice_Format_UseBest = true; this.videoCapture1.Video_CaptureDevice_FrameRate = 25D; this.videoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.videoCapture1.Video_CaptureDevice_IsAudioSource = false; this.videoCapture1.Video_CaptureDevice_Path = null; this.videoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.videoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.videoCapture1.Video_Crop = null; this.videoCapture1.Video_Decoder = null; this.videoCapture1.Video_Effects_AllowMultipleStreams = false; this.videoCapture1.Video_Effects_Enabled = false; this.videoCapture1.Video_Effects_GPU_Enabled = false; this.videoCapture1.Video_Effects_GPU_Engine = VisioForge.Types.VFGPUEffectsEngine.DirectX11; this.videoCapture1.Video_Effects_MergeImageLogos = false; this.videoCapture1.Video_Effects_MergeTextLogos = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.videoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.videoCapture1.Video_Resize = null; this.videoCapture1.Video_ResizeOrCrop_Enabled = false; this.videoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.videoCapture1.Video_Sample_Grabber_Enabled = true; this.videoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.videoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.videoCapture1.Virtual_Camera_Output_Enabled = false; this.videoCapture1.Virtual_Camera_Output_LicenseKey = null; this.videoCapture1.VLC_Path = null; // // btStart // this.btStart.Location = new System.Drawing.Point(646, 162); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(114, 39); this.btStart.TabIndex = 1; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // btStop // this.btStop.Location = new System.Drawing.Point(646, 291); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(113, 39); this.btStop.TabIndex = 2; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.videoCapture1); this.Name = "Form1"; this.Text = "Video Capture Sample App"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinCam)); this.videoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.StartButton = new System.Windows.Forms.Button(); this.StopButton = new System.Windows.Forms.Button(); this.ExitButton = new System.Windows.Forms.Button(); this.ipLabel = new System.Windows.Forms.Label(); this.ipAddressTextBox = new System.Windows.Forms.TextBox(); this.SetButton = new System.Windows.Forms.Button(); this.AddNewIpButton = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // videoCapture1 // this.videoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.videoCapture1.Audio_CaptureDevice = ""; this.videoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.videoCapture1.Audio_CaptureDevice_Format = ""; this.videoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.videoCapture1.Audio_CaptureDevice_Line = ""; this.videoCapture1.Audio_CaptureDevice_MasterDevice = null; this.videoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.videoCapture1.Audio_CaptureDevice_Path = null; this.videoCapture1.Audio_CaptureSourceFilter = null; this.videoCapture1.Audio_Channel_Mapper = null; this.videoCapture1.Audio_Decoder = null; this.videoCapture1.Audio_Effects_Enabled = false; this.videoCapture1.Audio_Effects_UseLegacyEffects = false; this.videoCapture1.Audio_Enhancer_Enabled = false; this.videoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.videoCapture1.Audio_PCM_Converter = null; this.videoCapture1.Audio_PlayAudio = true; this.videoCapture1.Audio_RecordAudio = true; this.videoCapture1.Audio_Sample_Grabber_Enabled = false; this.videoCapture1.Audio_VUMeter_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Volume = 100; this.videoCapture1.BackColor = System.Drawing.Color.Black; this.videoCapture1.Barcode_Reader_Enabled = false; this.videoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.videoCapture1.BDA_Source = null; this.videoCapture1.ChromaKey = null; this.videoCapture1.Custom_Source = null; this.videoCapture1.CustomRedist_Enabled = false; this.videoCapture1.CustomRedist_Path = null; this.videoCapture1.Debug_Dir = ""; this.videoCapture1.Debug_Mode = false; this.videoCapture1.Debug_Telemetry = false; this.videoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.videoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.videoCapture1.Decklink_Input_IREUSA = false; this.videoCapture1.Decklink_Input_SMPTE = false; this.videoCapture1.Decklink_Output = null; this.videoCapture1.Decklink_Source = null; this.videoCapture1.DirectCapture_Muxer = null; this.videoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.videoCapture1.Face_Tracking = null; this.videoCapture1.IP_Camera_Source = null; this.videoCapture1.Location = new System.Drawing.Point(36, 81); this.videoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.videoCapture1.Motion_Detection = null; this.videoCapture1.Motion_DetectionEx = null; this.videoCapture1.MPEG_Audio_Decoder = ""; this.videoCapture1.MPEG_Demuxer = null; this.videoCapture1.MPEG_Video_Decoder = ""; this.videoCapture1.MultiScreen_Enabled = false; this.videoCapture1.Name = "videoCapture1"; this.videoCapture1.Network_Streaming_Audio_Enabled = false; this.videoCapture1.Network_Streaming_Enabled = false; this.videoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.videoCapture1.Network_Streaming_Network_Port = 100; this.videoCapture1.Network_Streaming_Output = null; this.videoCapture1.Network_Streaming_URL = ""; this.videoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.videoCapture1.Output_Filename = "C:\\Users\\Sefat\\Documents\\VisioForge\\output.avi"; this.videoCapture1.Output_Format = null; this.videoCapture1.PIP_AddSampleGrabbers = false; this.videoCapture1.PIP_ChromaKeySettings = null; this.videoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.videoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.videoCapture1.Push_Source = null; this.videoCapture1.Screen_Capture_Source = null; this.videoCapture1.SeparateCapture_AutostartCapture = false; this.videoCapture1.SeparateCapture_Enabled = false; this.videoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.videoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.videoCapture1.SeparateCapture_GMFMode = true; this.videoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.videoCapture1.SeparateCapture_TimeThreshold = ((long)(0)); this.videoCapture1.Size = new System.Drawing.Size(882, 433); this.videoCapture1.Start_DelayEnabled = false; this.videoCapture1.TabIndex = 0; this.videoCapture1.Tags = null; this.videoCapture1.Timeshift_Settings = null; this.videoCapture1.TVTuner_Channel = 0; this.videoCapture1.TVTuner_Country = ""; this.videoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.videoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.videoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.videoCapture1.TVTuner_Frequency = 0; this.videoCapture1.TVTuner_InputType = ""; this.videoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.videoCapture1.TVTuner_Name = ""; this.videoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.videoCapture1.Video_CaptureDevice = ""; this.videoCapture1.Video_CaptureDevice_Format = ""; this.videoCapture1.Video_CaptureDevice_Format_UseBest = true; this.videoCapture1.Video_CaptureDevice_FrameRate = 25D; this.videoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.videoCapture1.Video_CaptureDevice_IsAudioSource = false; this.videoCapture1.Video_CaptureDevice_Path = null; this.videoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.videoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.videoCapture1.Video_Crop = null; this.videoCapture1.Video_Decoder = null; this.videoCapture1.Video_Effects_AllowMultipleStreams = false; this.videoCapture1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.videoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.videoCapture1.Video_Resize = null; this.videoCapture1.Video_ResizeOrCrop_Enabled = false; this.videoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.videoCapture1.Video_Sample_Grabber_Enabled = true; this.videoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.videoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.videoCapture1.Virtual_Camera_Output_Enabled = false; this.videoCapture1.Virtual_Camera_Output_LicenseKey = null; this.videoCapture1.VLC_Path = null; // // StartButton // this.StartButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.StartButton.ForeColor = System.Drawing.Color.SteelBlue; this.StartButton.Location = new System.Drawing.Point(321, 537); this.StartButton.Name = "StartButton"; this.StartButton.Size = new System.Drawing.Size(97, 41); this.StartButton.TabIndex = 1; this.StartButton.Text = "Start"; this.StartButton.UseVisualStyleBackColor = true; this.StartButton.Click += new System.EventHandler(this.StartButton_Click); // // StopButton // this.StopButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.StopButton.ForeColor = System.Drawing.Color.SteelBlue; this.StopButton.Location = new System.Drawing.Point(438, 537); this.StopButton.Name = "StopButton"; this.StopButton.Size = new System.Drawing.Size(85, 41); this.StopButton.TabIndex = 2; this.StopButton.Text = "Stop"; this.StopButton.UseVisualStyleBackColor = true; this.StopButton.Click += new System.EventHandler(this.StopButton_Click); // // ExitButton // this.ExitButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ExitButton.ForeColor = System.Drawing.Color.Red; this.ExitButton.Location = new System.Drawing.Point(545, 537); this.ExitButton.Name = "ExitButton"; this.ExitButton.Size = new System.Drawing.Size(85, 41); this.ExitButton.TabIndex = 2; this.ExitButton.Text = "Exit"; this.ExitButton.UseVisualStyleBackColor = true; this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click); // // ipLabel // this.ipLabel.AutoSize = true; this.ipLabel.BackColor = System.Drawing.Color.Transparent; this.ipLabel.Font = new System.Drawing.Font("Microsoft YaHei UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ipLabel.ForeColor = System.Drawing.SystemColors.HighlightText; this.ipLabel.Location = new System.Drawing.Point(98, 40); this.ipLabel.Name = "ipLabel"; this.ipLabel.Size = new System.Drawing.Size(136, 20); this.ipLabel.TabIndex = 3; this.ipLabel.Text = "Enter IP Address :"; // // ipAddressTextBox // this.ipAddressTextBox.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ipAddressTextBox.Location = new System.Drawing.Point(240, 38); this.ipAddressTextBox.Name = "ipAddressTextBox"; this.ipAddressTextBox.Size = new System.Drawing.Size(482, 24); this.ipAddressTextBox.TabIndex = 4; // // SetButton // this.SetButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SetButton.ForeColor = System.Drawing.Color.SteelBlue; this.SetButton.Location = new System.Drawing.Point(728, 36); this.SetButton.Name = "SetButton"; this.SetButton.Size = new System.Drawing.Size(75, 26); this.SetButton.TabIndex = 5; this.SetButton.Text = "Set"; this.SetButton.UseVisualStyleBackColor = true; this.SetButton.Click += new System.EventHandler(this.SetButton_Click); // // AddNewIpButton // this.AddNewIpButton.Font = new System.Drawing.Font("Microsoft YaHei UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AddNewIpButton.ForeColor = System.Drawing.Color.SteelBlue; this.AddNewIpButton.Location = new System.Drawing.Point(839, 19); this.AddNewIpButton.Name = "AddNewIpButton"; this.AddNewIpButton.Size = new System.Drawing.Size(103, 32); this.AddNewIpButton.TabIndex = 5; this.AddNewIpButton.Text = "Add New IP"; this.AddNewIpButton.UseVisualStyleBackColor = true; this.AddNewIpButton.Click += new System.EventHandler(this.AddNewIpButton_Click); // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.Transparent; this.groupBox1.Controls.Add(this.AddNewIpButton); this.groupBox1.Controls.Add(this.SetButton); this.groupBox1.Controls.Add(this.ipAddressTextBox); this.groupBox1.Controls.Add(this.ipLabel); this.groupBox1.Controls.Add(this.ExitButton); this.groupBox1.Controls.Add(this.StopButton); this.groupBox1.Controls.Add(this.StartButton); this.groupBox1.Controls.Add(this.videoCapture1); this.groupBox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.AliceBlue; this.groupBox1.Location = new System.Drawing.Point(12, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(948, 599); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Broadcast Your IP/WebCam"; // // WinCam // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ButtonFace; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.ClientSize = new System.Drawing.Size(977, 632); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "WinCam"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "WinCam"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.lbInfo = new System.Windows.Forms.Label(); this.btConfigure = new System.Windows.Forms.Button(); this.btSelectOutput = new System.Windows.Forms.Button(); this.label15 = new System.Windows.Forms.Label(); this.cbOutputVideoFormat = new System.Windows.Forms.ComboBox(); this.label9 = new System.Windows.Forms.Label(); this.cbTelemetry = new System.Windows.Forms.CheckBox(); this.edOutput = new System.Windows.Forms.TextBox(); this.cbLicensing = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.ProgressBar1 = new System.Windows.Forms.ProgressBar(); this.btClearList = new System.Windows.Forms.Button(); this.btAddInputFile = new System.Windows.Forms.Button(); this.lbFiles = new System.Windows.Forms.ListBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.label10 = new System.Windows.Forms.Label(); this.VideoEdit1 = new VisioForge.Controls.UI.WinForms.VideoEdit(); this.OpenDialog1 = new System.Windows.Forms.OpenFileDialog(); this.SaveDialog1 = new System.Windows.Forms.SaveFileDialog(); this.cbFrameRate = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.edHeight = new System.Windows.Forms.TextBox(); this.edWidth = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.cbResize = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // lbInfo // this.lbInfo.AutoSize = true; this.lbInfo.Location = new System.Drawing.Point(11, 209); this.lbInfo.Name = "lbInfo"; this.lbInfo.Size = new System.Drawing.Size(267, 13); this.lbInfo.TabIndex = 99; this.lbInfo.Text = "You can use dialog or code to configure format settings"; // // btConfigure // this.btConfigure.Location = new System.Drawing.Point(344, 177); this.btConfigure.Name = "btConfigure"; this.btConfigure.Size = new System.Drawing.Size(61, 23); this.btConfigure.TabIndex = 95; this.btConfigure.Text = "Configure"; this.btConfigure.UseVisualStyleBackColor = true; this.btConfigure.Click += new System.EventHandler(this.BtConfigure_Click); // // btSelectOutput // this.btSelectOutput.Location = new System.Drawing.Point(379, 259); this.btSelectOutput.Name = "btSelectOutput"; this.btSelectOutput.Size = new System.Drawing.Size(26, 23); this.btSelectOutput.TabIndex = 94; this.btSelectOutput.Text = "..."; this.btSelectOutput.UseVisualStyleBackColor = true; this.btSelectOutput.Click += new System.EventHandler(this.BtSelectOutput_Click); // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(11, 243); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(52, 13); this.label15.TabIndex = 92; this.label15.Text = "File name"; // // cbOutputVideoFormat // this.cbOutputVideoFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbOutputVideoFormat.FormattingEnabled = true; this.cbOutputVideoFormat.Items.AddRange(new object[] { "AVI", "MKV (Matroska)", "WMV (Windows Media Video)", "DV", "PCM/ACM", "MP3", "M4A (AAC)", "WMA (Windows Media Audio)", "Ogg Vorbis", "FLAC", "Speex", "Custom format", "WebM", "FFMPEG (DLL)", "FFMPEG (external exe) (BETA)", "MP4 v8/v10", "MP4 v11", "Animated GIF", "Encrypted video" }); this.cbOutputVideoFormat.Location = new System.Drawing.Point(14, 179); this.cbOutputVideoFormat.Name = "cbOutputVideoFormat"; this.cbOutputVideoFormat.Size = new System.Drawing.Size(321, 21); this.cbOutputVideoFormat.TabIndex = 91; this.cbOutputVideoFormat.SelectedIndexChanged += new System.EventHandler(this.CbOutputVideoFormat_SelectedIndexChanged); // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(11, 161); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(71, 13); this.label9.TabIndex = 90; this.label9.Text = "Output format"; // // cbTelemetry // this.cbTelemetry.AutoSize = true; this.cbTelemetry.Checked = true; this.cbTelemetry.CheckState = System.Windows.Forms.CheckState.Checked; this.cbTelemetry.Location = new System.Drawing.Point(155, 301); this.cbTelemetry.Name = "cbTelemetry"; this.cbTelemetry.Size = new System.Drawing.Size(72, 17); this.cbTelemetry.TabIndex = 104; this.cbTelemetry.Text = "Telemetry"; this.cbTelemetry.UseVisualStyleBackColor = true; // // edOutput // this.edOutput.Location = new System.Drawing.Point(14, 261); this.edOutput.Name = "edOutput"; this.edOutput.Size = new System.Drawing.Size(359, 20); this.edOutput.TabIndex = 93; this.edOutput.Text = "c:\\vf\\video_edit_output.avi"; // // cbLicensing // this.cbLicensing.AutoSize = true; this.cbLicensing.Location = new System.Drawing.Point(78, 301); this.cbLicensing.Name = "cbLicensing"; this.cbLicensing.Size = new System.Drawing.Size(71, 17); this.cbLicensing.TabIndex = 103; this.cbLicensing.Text = "Licensing"; this.cbLicensing.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Location = new System.Drawing.Point(14, 324); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.mmLog.Size = new System.Drawing.Size(391, 45); this.mmLog.TabIndex = 101; // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(796, 337); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(58, 23); this.btStop.TabIndex = 89; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.BtStop_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(729, 337); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(58, 23); this.btStart.TabIndex = 88; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.BtStart_Click); // // ProgressBar1 // this.ProgressBar1.Location = new System.Drawing.Point(422, 337); this.ProgressBar1.Name = "ProgressBar1"; this.ProgressBar1.Size = new System.Drawing.Size(301, 22); this.ProgressBar1.TabIndex = 87; // // btClearList // this.btClearList.Location = new System.Drawing.Point(341, 59); this.btClearList.Name = "btClearList"; this.btClearList.Size = new System.Drawing.Size(64, 23); this.btClearList.TabIndex = 100; this.btClearList.Text = "Clear"; this.btClearList.UseVisualStyleBackColor = true; this.btClearList.Click += new System.EventHandler(this.BtClearList_Click); // // btAddInputFile // this.btAddInputFile.Location = new System.Drawing.Point(341, 30); this.btAddInputFile.Name = "btAddInputFile"; this.btAddInputFile.Size = new System.Drawing.Size(64, 23); this.btAddInputFile.TabIndex = 98; this.btAddInputFile.Text = "Add"; this.btAddInputFile.UseVisualStyleBackColor = true; this.btAddInputFile.Click += new System.EventHandler(this.BtAddInputFile_Click); // // lbFiles // this.lbFiles.FormattingEnabled = true; this.lbFiles.Location = new System.Drawing.Point(14, 30); this.lbFiles.Name = "lbFiles"; this.lbFiles.Size = new System.Drawing.Size(321, 56); this.lbFiles.TabIndex = 97; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(14, 301); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(58, 17); this.cbDebugMode.TabIndex = 102; this.cbDebugMode.Text = "Debug"; this.cbDebugMode.UseVisualStyleBackColor = true; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(11, 12); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(52, 13); this.label10.TabIndex = 96; this.label10.Text = "Input files"; // // VideoEdit1 // this.VideoEdit1.Audio_Channel_Mapper = null; this.VideoEdit1.Audio_Effects_Enabled = false; this.VideoEdit1.Audio_Effects_UseLegacyEffects = false; this.VideoEdit1.Audio_Enhancer_Enabled = false; this.VideoEdit1.Audio_Preview_Enabled = false; this.VideoEdit1.Audio_VUMeter_Enabled = false; this.VideoEdit1.Audio_VUMeter_Pro_Enabled = false; this.VideoEdit1.Audio_VUMeter_Pro_Volume = 0; this.VideoEdit1.BackColor = System.Drawing.Color.Black; this.VideoEdit1.Barcode_Reader_Enabled = false; this.VideoEdit1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoEdit1.ChromaKey = null; this.VideoEdit1.CustomRedist_Auto = true; this.VideoEdit1.CustomRedist_Enabled = false; this.VideoEdit1.CustomRedist_Path = null; this.VideoEdit1.Debug_Dir = ""; this.VideoEdit1.Debug_Mode = false; this.VideoEdit1.Debug_Telemetry = false; this.VideoEdit1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoEdit1.Decklink_Output = null; this.VideoEdit1.Dynamic_Reconnection = false; this.VideoEdit1.Location = new System.Drawing.Point(422, 12); this.VideoEdit1.Loop = false; this.VideoEdit1.Mode = VisioForge.Types.VFVideoEditMode.Convert; this.VideoEdit1.Motion_Detection = null; this.VideoEdit1.Motion_DetectionEx = null; this.VideoEdit1.Name = "VideoEdit1"; this.VideoEdit1.Network_Streaming_Audio_Enabled = false; this.VideoEdit1.Network_Streaming_Enabled = false; this.VideoEdit1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoEdit1.Network_Streaming_Network_Port = 0; this.VideoEdit1.Network_Streaming_Output = null; this.VideoEdit1.Network_Streaming_URL = null; this.VideoEdit1.Network_Streaming_WMV_Maximum_Clients = 0; this.VideoEdit1.Output_Filename = "c:\\output.avi"; this.VideoEdit1.Output_Format = null; this.VideoEdit1.Size = new System.Drawing.Size(433, 319); this.VideoEdit1.Start_DelayEnabled = false; this.VideoEdit1.TabIndex = 105; this.VideoEdit1.Tags = null; this.VideoEdit1.UseLibMediaInfo = false; this.VideoEdit1.Video_Crop = null; this.VideoEdit1.Video_Custom_Resizer_CLSID = new System.Guid("00000000-0000-0000-0000-000000000000"); this.VideoEdit1.Video_Effects_AllowMultipleStreams = false; this.VideoEdit1.Video_Effects_Enabled = false; this.VideoEdit1.Video_Effects_GPU_Enabled = false; this.VideoEdit1.Video_FrameRate = 25D; this.VideoEdit1.Video_Preview_Enabled = true; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Empty; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = false; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoEdit1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoEdit1.Video_Resize = false; this.VideoEdit1.Video_Resize_Height = 480; this.VideoEdit1.Video_Resize_Width = 640; this.VideoEdit1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoEdit1.Video_Subtitles = null; this.VideoEdit1.Virtual_Camera_Output_Enabled = false; this.VideoEdit1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoEdit1_OnError); this.VideoEdit1.OnProgress += new System.EventHandler <VisioForge.Types.ProgressEventArgs>(this.VideoEdit1_OnProgress); this.VideoEdit1.OnStop += new System.EventHandler <VisioForge.Types.VideoEditStopEventArgs>(this.VideoEdit1_OnStop); // // OpenDialog1 // this.OpenDialog1.Filter = resources.GetString("OpenDialog1.Filter"); // // SaveDialog1 // this.SaveDialog1.Filter = "AVI (*.avi) | *.avi|Windows Media Video (*.wmv)| *.wmv|Matroska (*.mkv)| *.mkv|" + "All files (*.*)| *.*"; // // cbFrameRate // this.cbFrameRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbFrameRate.FormattingEnabled = true; this.cbFrameRate.Items.AddRange(new object[] { "0", "1", "2", "5", "10", "12", "15", "20", "25", "30" }); this.cbFrameRate.Location = new System.Drawing.Point(309, 126); this.cbFrameRate.Name = "cbFrameRate"; this.cbFrameRate.Size = new System.Drawing.Size(96, 21); this.cbFrameRate.TabIndex = 169; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 129); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(278, 13); this.label3.TabIndex = 168; this.label3.Text = "Frame rate (Use 0 to have original, set before adding files)"; // // edHeight // this.edHeight.Location = new System.Drawing.Point(160, 96); this.edHeight.Name = "edHeight"; this.edHeight.Size = new System.Drawing.Size(48, 20); this.edHeight.TabIndex = 167; this.edHeight.Text = "576"; // // edWidth // this.edWidth.Location = new System.Drawing.Point(88, 96); this.edWidth.Name = "edWidth"; this.edWidth.Size = new System.Drawing.Size(48, 20); this.edWidth.TabIndex = 166; this.edWidth.Text = "768"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(142, 98); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(12, 13); this.label2.TabIndex = 165; this.label2.Text = "x"; // // cbResize // this.cbResize.AutoSize = true; this.cbResize.Location = new System.Drawing.Point(15, 98); this.cbResize.Name = "cbResize"; this.cbResize.Size = new System.Drawing.Size(58, 17); this.cbResize.TabIndex = 164; this.cbResize.Text = "Resize"; this.cbResize.UseVisualStyleBackColor = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(866, 379); this.Controls.Add(this.cbFrameRate); this.Controls.Add(this.label3); this.Controls.Add(this.edHeight); this.Controls.Add(this.edWidth); this.Controls.Add(this.label2); this.Controls.Add(this.cbResize); this.Controls.Add(this.VideoEdit1); this.Controls.Add(this.lbInfo); this.Controls.Add(this.btConfigure); this.Controls.Add(this.btSelectOutput); this.Controls.Add(this.label15); this.Controls.Add(this.cbOutputVideoFormat); this.Controls.Add(this.label9); this.Controls.Add(this.cbTelemetry); this.Controls.Add(this.edOutput); this.Controls.Add(this.cbLicensing); this.Controls.Add(this.mmLog); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.ProgressBar1); this.Controls.Add(this.btClearList); this.Controls.Add(this.btAddInputFile); this.Controls.Add(this.lbFiles); this.Controls.Add(this.cbDebugMode); this.Controls.Add(this.label10); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "VisioForge Video Edit SDK .Net - Video Join Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.btSelectFile = new System.Windows.Forms.Button(); this.edFilenameOrURL = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btNextFrame = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btResume = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.pnScreen1 = new System.Windows.Forms.Panel(); this.pnScreen3 = new System.Windows.Forms.Panel(); this.pnScreen2 = new System.Windows.Forms.Panel(); this.pnScreen4 = new System.Windows.Forms.Panel(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.mmLog = new System.Windows.Forms.TextBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.SuspendLayout(); // // btSelectFile // this.btSelectFile.Location = new System.Drawing.Point(406, 23); this.btSelectFile.Name = "btSelectFile"; this.btSelectFile.Size = new System.Drawing.Size(23, 23); this.btSelectFile.TabIndex = 7; this.btSelectFile.Text = "..."; this.btSelectFile.UseVisualStyleBackColor = true; this.btSelectFile.Click += new System.EventHandler(this.btSelectFile_Click); // // edFilenameOrURL // this.edFilenameOrURL.Location = new System.Drawing.Point(15, 25); this.edFilenameOrURL.Name = "edFilenameOrURL"; this.edFilenameOrURL.Size = new System.Drawing.Size(385, 20); this.edFilenameOrURL.TabIndex = 6; this.edFilenameOrURL.Text = "c:\\Samples\\3_video_streams.asf"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(12, 9); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(251, 13); this.label14.TabIndex = 5; this.label14.Text = "File name (file should contain several video streams)"; // // groupBox2 // this.groupBox2.Controls.Add(this.btNextFrame); this.groupBox2.Controls.Add(this.btStop); this.groupBox2.Controls.Add(this.btPause); this.groupBox2.Controls.Add(this.btResume); this.groupBox2.Controls.Add(this.btStart); this.groupBox2.Controls.Add(this.lbTime); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Location = new System.Drawing.Point(15, 338); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(414, 90); this.groupBox2.TabIndex = 8; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // btNextFrame // this.btNextFrame.Location = new System.Drawing.Point(249, 58); this.btNextFrame.Name = "btNextFrame"; this.btNextFrame.Size = new System.Drawing.Size(75, 23); this.btNextFrame.TabIndex = 8; this.btNextFrame.Text = "Next frame"; this.btNextFrame.UseVisualStyleBackColor = true; this.btNextFrame.Click += new System.EventHandler(this.btNextFrame_Click); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(180, 58); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(46, 23); this.btStop.TabIndex = 7; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(122, 58); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(52, 23); this.btPause.TabIndex = 6; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btResume // this.btResume.Location = new System.Drawing.Point(55, 58); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(61, 23); this.btResume.TabIndex = 5; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(6, 58); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(43, 23); this.btStart.TabIndex = 4; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(219, 27); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 1; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 19); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(207, 45); this.tbTimeline.TabIndex = 0; this.tbTimeline.Scroll += new System.EventHandler(this.tbTimeline_Scroll); // // MediaPlayer1 // this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = false; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer1.FilenamesOrURL"))); this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(15, 52); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(414, 280); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.Start_DelayEnabled = false; this.MediaPlayer1.TabIndex = 9; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; // TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = true; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); this.MediaPlayer1.OnStop += new System.EventHandler <VisioForge.Types.MediaPlayerStopEventArgs>(this.MediaPlayer1_OnStop); // // pnScreen1 // this.pnScreen1.BackColor = System.Drawing.Color.Black; this.pnScreen1.Location = new System.Drawing.Point(468, 25); this.pnScreen1.Name = "pnScreen1"; this.pnScreen1.Size = new System.Drawing.Size(320, 240); this.pnScreen1.TabIndex = 10; // // pnScreen3 // this.pnScreen3.BackColor = System.Drawing.Color.Black; this.pnScreen3.Location = new System.Drawing.Point(468, 271); this.pnScreen3.Name = "pnScreen3"; this.pnScreen3.Size = new System.Drawing.Size(320, 240); this.pnScreen3.TabIndex = 11; // // pnScreen2 // this.pnScreen2.BackColor = System.Drawing.Color.Black; this.pnScreen2.Location = new System.Drawing.Point(794, 25); this.pnScreen2.Name = "pnScreen2"; this.pnScreen2.Size = new System.Drawing.Size(320, 240); this.pnScreen2.TabIndex = 12; // // pnScreen4 // this.pnScreen4.BackColor = System.Drawing.Color.Black; this.pnScreen4.Location = new System.Drawing.Point(794, 271); this.pnScreen4.Name = "pnScreen4"; this.pnScreen4.Size = new System.Drawing.Size(320, 240); this.pnScreen4.TabIndex = 13; // // mmLog // this.mmLog.Location = new System.Drawing.Point(15, 457); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.mmLog.Size = new System.Drawing.Size(414, 54); this.mmLog.TabIndex = 15; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(15, 434); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 14; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1129, 527); this.Controls.Add(this.mmLog); this.Controls.Add(this.cbDebugMode); this.Controls.Add(this.pnScreen4); this.Controls.Add(this.pnScreen2); this.Controls.Add(this.pnScreen3); this.Controls.Add(this.pnScreen1); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btSelectFile); this.Controls.Add(this.edFilenameOrURL); this.Controls.Add(this.label14); this.Name = "Form1"; this.Text = "Multiple Video Streams Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.label34 = new System.Windows.Forms.Label(); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tcMain = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.lbScreenSourceWindowText = new System.Windows.Forms.Label(); this.btScreenSourceWindowSelect = new System.Windows.Forms.Button(); this.label79 = new System.Windows.Forms.Label(); this.edScreenFrameRate = new System.Windows.Forms.TextBox(); this.label43 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btSelectOutput = new System.Windows.Forms.Button(); this.edOutput = new System.Windows.Forms.TextBox(); this.lbInfo = new System.Windows.Forms.Label(); this.btOutputConfigure = new System.Windows.Forms.Button(); this.cbOutputFormat = new System.Windows.Forms.ComboBox(); this.label9 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.tcMain.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage4.SuspendLayout(); this.SuspendLayout(); // // label34 // this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label34.AutoSize = true; this.label34.Location = new System.Drawing.Point(235, 12); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(214, 13); this.label34.TabIndex = 114; this.label34.Text = "Much more features available in Main Demo"; // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.CustomRedist_Auto = true; this.VideoCapture1.CustomRedist_Enabled = false; this.VideoCapture1.CustomRedist_Path = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_DisableMessageDialogs = false; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Debug_Telemetry = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(308, 33); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoCapture; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 10; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.OSD_Enabled = false; this.VideoCapture1.Output_Filename = ""; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = System.TimeSpan.Parse("00:00:00"); this.VideoCapture1.Size = new System.Drawing.Size(180, 131); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 113; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 0D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; this.VideoCapture1.Video_Effects_GPU_Enabled = false; this.VideoCapture1.Video_Effects_MergeImageLogos = false; this.VideoCapture1.Video_Effects_MergeTextLogos = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = false; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = false; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(401, 181); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 111; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(336, 181); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 110; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tcMain // this.tcMain.Controls.Add(this.tabPage1); this.tcMain.Controls.Add(this.tabPage2); this.tcMain.Controls.Add(this.tabPage4); this.tcMain.Location = new System.Drawing.Point(12, 12); this.tcMain.Name = "tcMain"; this.tcMain.SelectedIndex = 0; this.tcMain.Size = new System.Drawing.Size(290, 199); this.tcMain.TabIndex = 109; // // tabPage1 // this.tabPage1.Controls.Add(this.lbScreenSourceWindowText); this.tabPage1.Controls.Add(this.btScreenSourceWindowSelect); this.tabPage1.Controls.Add(this.label79); this.tabPage1.Controls.Add(this.edScreenFrameRate); this.tabPage1.Controls.Add(this.label43); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(282, 173); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Input"; this.tabPage1.UseVisualStyleBackColor = true; // // lbScreenSourceWindowText // this.lbScreenSourceWindowText.AutoSize = true; this.lbScreenSourceWindowText.Location = new System.Drawing.Point(85, 148); this.lbScreenSourceWindowText.Name = "lbScreenSourceWindowText"; this.lbScreenSourceWindowText.Size = new System.Drawing.Size(107, 13); this.lbScreenSourceWindowText.TabIndex = 94; this.lbScreenSourceWindowText.Text = "(no window selected)"; // // btScreenSourceWindowSelect // this.btScreenSourceWindowSelect.Location = new System.Drawing.Point(67, 122); this.btScreenSourceWindowSelect.Name = "btScreenSourceWindowSelect"; this.btScreenSourceWindowSelect.Size = new System.Drawing.Size(138, 23); this.btScreenSourceWindowSelect.TabIndex = 93; this.btScreenSourceWindowSelect.Text = "Select capture window"; this.btScreenSourceWindowSelect.UseVisualStyleBackColor = true; this.btScreenSourceWindowSelect.Click += new System.EventHandler(this.btScreenSourceWindowSelect_Click); // // label79 // this.label79.AutoSize = true; this.label79.Location = new System.Drawing.Point(139, 21); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(21, 13); this.label79.TabIndex = 60; this.label79.Text = "fps"; // // edScreenFrameRate // this.edScreenFrameRate.Location = new System.Drawing.Point(88, 18); this.edScreenFrameRate.Name = "edScreenFrameRate"; this.edScreenFrameRate.Size = new System.Drawing.Size(45, 20); this.edScreenFrameRate.TabIndex = 59; this.edScreenFrameRate.Text = "15"; // // label43 // this.label43.AutoSize = true; this.label43.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label43.Location = new System.Drawing.Point(15, 21); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(67, 13); this.label43.TabIndex = 58; this.label43.Text = "Frame rate"; // // tabPage2 // this.tabPage2.Controls.Add(this.btSelectOutput); this.tabPage2.Controls.Add(this.edOutput); this.tabPage2.Controls.Add(this.lbInfo); this.tabPage2.Controls.Add(this.btOutputConfigure); this.tabPage2.Controls.Add(this.cbOutputFormat); this.tabPage2.Controls.Add(this.label9); this.tabPage2.Controls.Add(this.label27); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(282, 173); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Output"; this.tabPage2.UseVisualStyleBackColor = true; // // btSelectOutput // this.btSelectOutput.Location = new System.Drawing.Point(251, 136); this.btSelectOutput.Name = "btSelectOutput"; this.btSelectOutput.Size = new System.Drawing.Size(24, 23); this.btSelectOutput.TabIndex = 127; this.btSelectOutput.Text = "..."; this.btSelectOutput.UseVisualStyleBackColor = true; this.btSelectOutput.Click += new System.EventHandler(this.btSelectOutput_Click); // // edOutput // this.edOutput.Location = new System.Drawing.Point(11, 138); this.edOutput.Name = "edOutput"; this.edOutput.Size = new System.Drawing.Size(235, 20); this.edOutput.TabIndex = 126; this.edOutput.Text = "c:\\capture.avi"; // // lbInfo // this.lbInfo.AutoSize = true; this.lbInfo.Location = new System.Drawing.Point(8, 57); this.lbInfo.Name = "lbInfo"; this.lbInfo.Size = new System.Drawing.Size(267, 13); this.lbInfo.TabIndex = 125; this.lbInfo.Text = "You can use dialog or code to configure format settings"; // // btOutputConfigure // this.btOutputConfigure.Location = new System.Drawing.Point(11, 73); this.btOutputConfigure.Name = "btOutputConfigure"; this.btOutputConfigure.Size = new System.Drawing.Size(75, 23); this.btOutputConfigure.TabIndex = 124; this.btOutputConfigure.Text = "Configure"; this.btOutputConfigure.UseVisualStyleBackColor = true; this.btOutputConfigure.Click += new System.EventHandler(this.btOutputConfigure_Click); // // cbOutputFormat // this.cbOutputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbOutputFormat.FormattingEnabled = true; this.cbOutputFormat.Items.AddRange(new object[] { "AVI", "WMV (Windows Media Video)", "MP4 (v10 engine)", "MP4 (v11 engine, CPU/GPU)", "Animated GIF", "MPEG-TS", "MOV" }); this.cbOutputFormat.Location = new System.Drawing.Point(11, 29); this.cbOutputFormat.Name = "cbOutputFormat"; this.cbOutputFormat.Size = new System.Drawing.Size(264, 21); this.cbOutputFormat.TabIndex = 123; this.cbOutputFormat.SelectedIndexChanged += new System.EventHandler(this.cbOutputFormat_SelectedIndexChanged); // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(8, 122); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(52, 13); this.label9.TabIndex = 122; this.label9.Text = "File name"; // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(8, 12); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(39, 13); this.label27.TabIndex = 121; this.label27.Text = "Format"; // // tabPage4 // this.tabPage4.Controls.Add(this.cbDebugMode); this.tabPage4.Controls.Add(this.mmLog); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); this.tabPage4.Size = new System.Drawing.Size(282, 173); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Log"; this.tabPage4.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(11, 11); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 81; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.mmLog.Location = new System.Drawing.Point(11, 34); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(262, 130); this.mmLog.TabIndex = 80; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(497, 216); this.Controls.Add(this.label34); this.Controls.Add(this.VideoCapture1); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.tcMain); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Form1"; this.Text = "Video Capture SDK .Net - Window Capture Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.tcMain.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.btStart = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.edVideoWidth = new System.Windows.Forms.TextBox(); this.edVideoHeight = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.edVideoFrameRate = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.edInputFolder = new System.Windows.Forms.TextBox(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.btSelectFolder = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.edOutputFile = new System.Windows.Forms.TextBox(); this.btSelectOutputFile = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.label6 = new System.Windows.Forms.Label(); this.edLog = new System.Windows.Forms.TextBox(); this.cbDebug = new System.Windows.Forms.CheckBox(); this.label7 = new System.Windows.Forms.Label(); this.edImageDuration = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.CustomRedist_Enabled = false; this.VideoCapture1.CustomRedist_Path = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Debug_Telemetry = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(300, 12); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.OSD_Enabled = false; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = TimeSpan.Zero; this.VideoCapture1.Size = new System.Drawing.Size(640, 360); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 0; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; this.VideoCapture1.Video_Effects_GPU_Enabled = false; this.VideoCapture1.Video_Effects_MergeImageLogos = false; this.VideoCapture1.Video_Effects_MergeTextLogos = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = true; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnVideoFrameBitmap += new System.EventHandler <VisioForge.Types.VideoFrameBitmapEventArgs>(this.VideoCapture1_OnVideoFrameBitmap); // // btStart // this.btStart.Location = new System.Drawing.Point(15, 349); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(75, 23); this.btStart.TabIndex = 1; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // btStop // this.btStop.Location = new System.Drawing.Point(96, 349); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(75, 23); this.btStop.TabIndex = 2; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(153, 13); this.label1.TabIndex = 3; this.label1.Text = "Video resolution and frame rate"; // // edVideoWidth // this.edVideoWidth.Location = new System.Drawing.Point(15, 28); this.edVideoWidth.Name = "edVideoWidth"; this.edVideoWidth.Size = new System.Drawing.Size(37, 20); this.edVideoWidth.TabIndex = 4; this.edVideoWidth.Text = "1280"; // // edVideoHeight // this.edVideoHeight.Location = new System.Drawing.Point(58, 28); this.edVideoHeight.Name = "edVideoHeight"; this.edVideoHeight.Size = new System.Drawing.Size(37, 20); this.edVideoHeight.TabIndex = 5; this.edVideoHeight.Text = "720"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(101, 31); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 13); this.label2.TabIndex = 6; this.label2.Text = "at"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(152, 31); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(21, 13); this.label3.TabIndex = 7; this.label3.Text = "fps"; // // edVideoFrameRate // this.edVideoFrameRate.Location = new System.Drawing.Point(123, 28); this.edVideoFrameRate.Name = "edVideoFrameRate"; this.edVideoFrameRate.Size = new System.Drawing.Size(23, 20); this.edVideoFrameRate.TabIndex = 8; this.edVideoFrameRate.Text = "25"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 66); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(282, 13); this.label4.TabIndex = 9; this.label4.Text = "Folder with images (*.jpg;*.jpeg;*.png;*.bmp will be loaded) "; // // edInputFolder // this.edInputFolder.Location = new System.Drawing.Point(15, 82); this.edInputFolder.Name = "edInputFolder"; this.edInputFolder.Size = new System.Drawing.Size(249, 20); this.edInputFolder.TabIndex = 10; this.edInputFolder.Text = "c:\\Samples\\pics\\"; // // btSelectFolder // this.btSelectFolder.Location = new System.Drawing.Point(270, 80); this.btSelectFolder.Name = "btSelectFolder"; this.btSelectFolder.Size = new System.Drawing.Size(22, 23); this.btSelectFolder.TabIndex = 11; this.btSelectFolder.Text = "..."; this.btSelectFolder.UseVisualStyleBackColor = true; this.btSelectFolder.Click += new System.EventHandler(this.btSelectFolder_Click); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(12, 118); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(176, 13); this.label5.TabIndex = 12; this.label5.Text = "Output file (MP4 format will be used)"; // // edOutputFile // this.edOutputFile.Location = new System.Drawing.Point(15, 134); this.edOutputFile.Name = "edOutputFile"; this.edOutputFile.Size = new System.Drawing.Size(249, 20); this.edOutputFile.TabIndex = 13; // // btSelectOutputFile // this.btSelectOutputFile.Location = new System.Drawing.Point(270, 132); this.btSelectOutputFile.Name = "btSelectOutputFile"; this.btSelectOutputFile.Size = new System.Drawing.Size(22, 23); this.btSelectOutputFile.TabIndex = 14; this.btSelectOutputFile.Text = "..."; this.btSelectOutputFile.UseVisualStyleBackColor = true; this.btSelectOutputFile.Click += new System.EventHandler(this.btSelectOutputFile_Click); // // saveFileDialog1 // this.saveFileDialog1.DefaultExt = "mp4"; this.saveFileDialog1.Filter = "*.mp4|MP4 file"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(12, 169); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(25, 13); this.label6.TabIndex = 15; this.label6.Text = "Log"; // // edLog // this.edLog.Location = new System.Drawing.Point(15, 185); this.edLog.Multiline = true; this.edLog.Name = "edLog"; this.edLog.Size = new System.Drawing.Size(277, 158); this.edLog.TabIndex = 16; // // cbDebug // this.cbDebug.AutoSize = true; this.cbDebug.Location = new System.Drawing.Point(231, 168); this.cbDebug.Name = "cbDebug"; this.cbDebug.Size = new System.Drawing.Size(61, 17); this.cbDebug.TabIndex = 17; this.cbDebug.Text = "Debug "; this.cbDebug.UseVisualStyleBackColor = true; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(200, 12); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(77, 13); this.label7.TabIndex = 18; this.label7.Text = "Image duration"; // // edImageDuration // this.edImageDuration.Location = new System.Drawing.Point(203, 28); this.edImageDuration.Name = "edImageDuration"; this.edImageDuration.Size = new System.Drawing.Size(35, 20); this.edImageDuration.TabIndex = 20; this.edImageDuration.Text = "1000"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(244, 31); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(20, 13); this.label8.TabIndex = 19; this.label8.Text = "ms"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(949, 386); this.Controls.Add(this.edImageDuration); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.cbDebug); this.Controls.Add(this.edLog); this.Controls.Add(this.label6); this.Controls.Add(this.btSelectOutputFile); this.Controls.Add(this.edOutputFile); this.Controls.Add(this.label5); this.Controls.Add(this.btSelectFolder); this.Controls.Add(this.edInputFolder); this.Controls.Add(this.label4); this.Controls.Add(this.edVideoFrameRate); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.edVideoHeight); this.Controls.Add(this.edVideoWidth); this.Controls.Add(this.label1); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.VideoCapture1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Video From Images Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms2 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.btAddFileToPlaylist = new System.Windows.Forms.Button(); this.label30 = new System.Windows.Forms.Label(); this.lbSourceFiles = new System.Windows.Forms.ListBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cbLoop = new System.Windows.Forms.CheckBox(); this.btNextFrame = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btResume = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tbSpeed = new System.Windows.Forms.TrackBar(); this.label16 = new System.Windows.Forms.Label(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.btSelectFile = new System.Windows.Forms.Button(); this.edFilenameOrURL = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.mmLog = new System.Windows.Forms.TextBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.MediaPlayer2 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.SuspendLayout(); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(699, -17); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(110, 13); this.linkLabel1.TabIndex = 29; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Watch video tutorials!"; // // btAddFileToPlaylist // this.btAddFileToPlaylist.Location = new System.Drawing.Point(366, 31); this.btAddFileToPlaylist.Margin = new System.Windows.Forms.Padding(2); this.btAddFileToPlaylist.Name = "btAddFileToPlaylist"; this.btAddFileToPlaylist.Size = new System.Drawing.Size(38, 23); this.btAddFileToPlaylist.TabIndex = 28; this.btAddFileToPlaylist.Text = "Add"; this.btAddFileToPlaylist.UseVisualStyleBackColor = true; this.btAddFileToPlaylist.Click += new System.EventHandler(this.btAddFileToPlaylist_Click); // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(12, 53); this.label30.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(39, 13); this.label30.TabIndex = 27; this.label30.Text = "Playlist"; // // lbSourceFiles // this.lbSourceFiles.FormattingEnabled = true; this.lbSourceFiles.Location = new System.Drawing.Point(14, 69); this.lbSourceFiles.Margin = new System.Windows.Forms.Padding(2); this.lbSourceFiles.Name = "lbSourceFiles"; this.lbSourceFiles.Size = new System.Drawing.Size(418, 56); this.lbSourceFiles.TabIndex = 26; // // groupBox2 // this.groupBox2.Controls.Add(this.cbLoop); this.groupBox2.Controls.Add(this.btNextFrame); this.groupBox2.Controls.Add(this.btStop); this.groupBox2.Controls.Add(this.btPause); this.groupBox2.Controls.Add(this.btResume); this.groupBox2.Controls.Add(this.btStart); this.groupBox2.Controls.Add(this.tbSpeed); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.lbTime); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Location = new System.Drawing.Point(449, 16); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(414, 90); this.groupBox2.TabIndex = 24; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // cbLoop // this.cbLoop.AutoSize = true; this.cbLoop.Location = new System.Drawing.Point(330, 62); this.cbLoop.Name = "cbLoop"; this.cbLoop.Size = new System.Drawing.Size(50, 17); this.cbLoop.TabIndex = 9; this.cbLoop.Text = "Loop"; this.cbLoop.UseVisualStyleBackColor = true; // // btNextFrame // this.btNextFrame.Location = new System.Drawing.Point(249, 58); this.btNextFrame.Name = "btNextFrame"; this.btNextFrame.Size = new System.Drawing.Size(75, 23); this.btNextFrame.TabIndex = 8; this.btNextFrame.Text = "Next frame"; this.btNextFrame.UseVisualStyleBackColor = true; this.btNextFrame.Click += new System.EventHandler(this.btNextFrame_Click); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(180, 58); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(46, 23); this.btStop.TabIndex = 7; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(122, 58); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(52, 23); this.btPause.TabIndex = 6; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btResume // this.btResume.Location = new System.Drawing.Point(55, 58); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(61, 23); this.btResume.TabIndex = 5; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(6, 58); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(43, 23); this.btStart.TabIndex = 4; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tbSpeed // this.tbSpeed.Location = new System.Drawing.Point(321, 27); this.tbSpeed.Maximum = 25; this.tbSpeed.Minimum = -25; this.tbSpeed.Name = "tbSpeed"; this.tbSpeed.Size = new System.Drawing.Size(89, 45); this.tbSpeed.TabIndex = 3; this.tbSpeed.Value = 10; this.tbSpeed.Scroll += new System.EventHandler(this.tbSpeed_Scroll); // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(322, 11); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(38, 13); this.label16.TabIndex = 2; this.label16.Text = "Speed"; // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(219, 27); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 1; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 19); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(207, 45); this.tbTimeline.TabIndex = 0; this.tbTimeline.Scroll += new System.EventHandler(this.tbTimeline_Scroll); // // btSelectFile // this.btSelectFile.Location = new System.Drawing.Point(409, 31); this.btSelectFile.Name = "btSelectFile"; this.btSelectFile.Size = new System.Drawing.Size(23, 23); this.btSelectFile.TabIndex = 23; this.btSelectFile.Text = "..."; this.btSelectFile.UseVisualStyleBackColor = true; this.btSelectFile.Click += new System.EventHandler(this.btSelectFile_Click); // // edFilenameOrURL // this.edFilenameOrURL.Location = new System.Drawing.Point(14, 32); this.edFilenameOrURL.Name = "edFilenameOrURL"; this.edFilenameOrURL.Size = new System.Drawing.Size(348, 20); this.edFilenameOrURL.TabIndex = 22; this.edFilenameOrURL.Text = "c:\\Samples\\!video.avi"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(12, 16); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(89, 13); this.label14.TabIndex = 21; this.label14.Text = "File name or URL"; // // mmLog // this.mmLog.Location = new System.Drawing.Point(449, 379); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.mmLog.Size = new System.Drawing.Size(414, 78); this.mmLog.TabIndex = 32; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(449, 356); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 31; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // MediaPlayer1 // this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = true; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = true; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer1.FilenamesOrURL"))); this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(14, 145); this.MediaPlayer1.Loop = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.Object_Detection = null; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(418, 312); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = false; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = false; this.MediaPlayer1.Start_DelayEnabled = false; this.MediaPlayer1.TabIndex = 30; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Empty; // TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = true; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnStop += new System.EventHandler <VisioForge.Types.StopEventArgs>(this.MediaPlayer1_OnStop); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // MediaPlayer2 // this.MediaPlayer2.Audio_Channel_Mapper = null; this.MediaPlayer2.Audio_Effects_Enabled = false; this.MediaPlayer2.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer2.Audio_Enhancer_Enabled = false; this.MediaPlayer2.Audio_OutputDevice = ""; this.MediaPlayer2.Audio_PlayAudio = true; this.MediaPlayer2.Audio_Sample_Grabber_Enabled = true; this.MediaPlayer2.Audio_VUMeter_Enabled = false; this.MediaPlayer2.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer2.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer2.BackColor = System.Drawing.Color.Black; this.MediaPlayer2.Barcode_Reader_Enabled = false; this.MediaPlayer2.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer2.ChromaKey = null; this.MediaPlayer2.Custom_Audio_Decoder = null; this.MediaPlayer2.Custom_Splitter = null; this.MediaPlayer2.Custom_Video_Decoder = null; this.MediaPlayer2.Debug_DeepCleanUp = false; this.MediaPlayer2.Debug_Dir = null; this.MediaPlayer2.Debug_Mode = false; this.MediaPlayer2.Encryption_Key = ""; this.MediaPlayer2.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer2.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer2.FilenamesOrURL"))); this.MediaPlayer2.Info_UseLibMediaInfo = false; this.MediaPlayer2.Location = new System.Drawing.Point(14, 145); this.MediaPlayer2.Loop = false; this.MediaPlayer2.MaximalSpeedPlayback = false; this.MediaPlayer2.Motion_Detection = null; this.MediaPlayer2.MultiScreen_Enabled = false; this.MediaPlayer2.Name = "MediaPlayer2"; this.MediaPlayer2.Object_Detection = null; this.MediaPlayer2.ReversePlayback_CacheSize = 0; this.MediaPlayer2.ReversePlayback_Enabled = false; this.MediaPlayer2.Selection_Active = false; this.MediaPlayer2.Selection_Start = 0; this.MediaPlayer2.Selection_Stop = 0; this.MediaPlayer2.Size = new System.Drawing.Size(418, 312); this.MediaPlayer2.Source_Custom_CLSID = null; this.MediaPlayer2.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer2.Source_Stream = null; this.MediaPlayer2.Source_Stream_AudioPresent = false; this.MediaPlayer2.Source_Stream_Size = ((long)(0)); this.MediaPlayer2.Source_Stream_VideoPresent = false; this.MediaPlayer2.Start_DelayEnabled = false; this.MediaPlayer2.TabIndex = 33; this.MediaPlayer2.Video_Effects_Enabled = false; videoRendererSettingsWinForms2.Aspect_Ratio_Override = false; videoRendererSettingsWinForms2.Aspect_Ratio_X = 0; videoRendererSettingsWinForms2.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms2.BackgroundColor = System.Drawing.Color.Empty; // TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. videoRendererSettingsWinForms2.Flip_Horizontal = false; videoRendererSettingsWinForms2.Flip_Vertical = false; videoRendererSettingsWinForms2.RotationAngle = 0; videoRendererSettingsWinForms2.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms2.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms2.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms2.Zoom_Ratio = 0; videoRendererSettingsWinForms2.Zoom_ShiftX = 0; videoRendererSettingsWinForms2.Zoom_ShiftY = 0; this.MediaPlayer2.Video_Renderer = videoRendererSettingsWinForms2; this.MediaPlayer2.Video_Sample_Grabber_UseForVideoEffects = true; this.MediaPlayer2.Video_Stream_Index = 0; this.MediaPlayer2.OnStop += new System.EventHandler <VisioForge.Types.StopEventArgs>(this.MediaPlayer2_OnStop); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(883, 470); this.Controls.Add(this.MediaPlayer2); this.Controls.Add(this.mmLog); this.Controls.Add(this.cbDebugMode); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.btAddFileToPlaylist); this.Controls.Add(this.label30); this.Controls.Add(this.lbSourceFiles); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btSelectFile); this.Controls.Add(this.edFilenameOrURL); this.Controls.Add(this.label14); this.Name = "Form1"; this.Text = "Seamless Playback Demo"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); this.Shown += new System.EventHandler(this.Form1_Shown); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.btAddFileToPlaylist = new System.Windows.Forms.Button(); this.label30 = new System.Windows.Forms.Label(); this.lbSourceFiles = new System.Windows.Forms.ListBox(); this.cbSourceMode = new System.Windows.Forms.ComboBox(); this.label29 = new System.Windows.Forms.Label(); this.tabControl3 = new System.Windows.Forms.TabControl(); this.tabPage10 = new System.Windows.Forms.TabPage(); this.cbLicensing = new System.Windows.Forms.CheckBox(); this.btTest = new System.Windows.Forms.Button(); this.mmLog = new System.Windows.Forms.TextBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.tabPage9 = new System.Windows.Forms.TabPage(); this.tabControl13 = new System.Windows.Forms.TabControl(); this.tabPage54 = new System.Windows.Forms.TabPage(); this.cbImageType = new System.Windows.Forms.ComboBox(); this.lbJPEGQuality = new System.Windows.Forms.Label(); this.label38 = new System.Windows.Forms.Label(); this.btSaveScreenshot = new System.Windows.Forms.Button(); this.btSelectScreenshotsFolder = new System.Windows.Forms.Button(); this.label63 = new System.Windows.Forms.Label(); this.edScreenshotsFolder = new System.Windows.Forms.TextBox(); this.tbJPEGQuality = new System.Windows.Forms.TrackBar(); this.tabPage55 = new System.Windows.Forms.TabPage(); this.edScreenshotHeight = new System.Windows.Forms.TextBox(); this.label176 = new System.Windows.Forms.Label(); this.edScreenshotWidth = new System.Windows.Forms.TextBox(); this.label177 = new System.Windows.Forms.Label(); this.cbScreenshotResize = new System.Windows.Forms.CheckBox(); this.tabPage25 = new System.Windows.Forms.TabPage(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btStop = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btResume = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tbSpeed = new System.Windows.Forms.TrackBar(); this.label16 = new System.Windows.Forms.Label(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.btSelectFile = new System.Windows.Forms.Button(); this.edFilenameOrURL = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.groupBox44 = new System.Windows.Forms.GroupBox(); this.edPIPFileHeight = new System.Windows.Forms.TextBox(); this.label321 = new System.Windows.Forms.Label(); this.edPIPFileWidth = new System.Windows.Forms.TextBox(); this.label322 = new System.Windows.Forms.Label(); this.edPIPFileTop = new System.Windows.Forms.TextBox(); this.label323 = new System.Windows.Forms.Label(); this.edPIPFileLeft = new System.Windows.Forms.TextBox(); this.label324 = new System.Windows.Forms.Label(); this.btUpdateRect = new System.Windows.Forms.Button(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.edZOrder = new System.Windows.Forms.TextBox(); this.tbStreamTransparency = new System.Windows.Forms.TrackBar(); this.label3 = new System.Windows.Forms.Label(); this.lbStreamTransparency = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.label4 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.tabControl3.SuspendLayout(); this.tabPage10.SuspendLayout(); this.tabPage9.SuspendLayout(); this.tabControl13.SuspendLayout(); this.tabPage54.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbJPEGQuality)).BeginInit(); this.tabPage55.SuspendLayout(); this.tabPage25.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.groupBox44.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbStreamTransparency)).BeginInit(); this.SuspendLayout(); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(634, 10); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(110, 13); this.linkLabel1.TabIndex = 31; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Watch video tutorials!"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // btAddFileToPlaylist // this.btAddFileToPlaylist.Location = new System.Drawing.Point(680, 28); this.btAddFileToPlaylist.Margin = new System.Windows.Forms.Padding(2); this.btAddFileToPlaylist.Name = "btAddFileToPlaylist"; this.btAddFileToPlaylist.Size = new System.Drawing.Size(38, 22); this.btAddFileToPlaylist.TabIndex = 30; this.btAddFileToPlaylist.Text = "Add"; this.btAddFileToPlaylist.UseVisualStyleBackColor = true; this.btAddFileToPlaylist.Click += new System.EventHandler(this.btAddFileToPlaylist_Click); // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(326, 50); this.label30.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(39, 13); this.label30.TabIndex = 29; this.label30.Text = "Playlist"; // // lbSourceFiles // this.lbSourceFiles.FormattingEnabled = true; this.lbSourceFiles.Location = new System.Drawing.Point(328, 66); this.lbSourceFiles.Margin = new System.Windows.Forms.Padding(2); this.lbSourceFiles.Name = "lbSourceFiles"; this.lbSourceFiles.Size = new System.Drawing.Size(416, 56); this.lbSourceFiles.TabIndex = 28; this.lbSourceFiles.SelectedIndexChanged += new System.EventHandler(this.lbSourceFiles_SelectedIndexChanged); // // cbSourceMode // this.cbSourceMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSourceMode.FormattingEnabled = true; this.cbSourceMode.Items.AddRange(new object[] { "File / Network stream (decode using LAV) ", "File (decode using FFMPEG)", "File (decode using DirectShow)", "File (decode using VLC)" }); this.cbSourceMode.Location = new System.Drawing.Point(430, 126); this.cbSourceMode.Margin = new System.Windows.Forms.Padding(2); this.cbSourceMode.Name = "cbSourceMode"; this.cbSourceMode.Size = new System.Drawing.Size(314, 21); this.cbSourceMode.TabIndex = 27; // // label29 // this.label29.AutoSize = true; this.label29.Location = new System.Drawing.Point(325, 129); this.label29.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(70, 13); this.label29.TabIndex = 26; this.label29.Text = "Source mode"; // // tabControl3 // this.tabControl3.Controls.Add(this.tabPage10); this.tabControl3.Controls.Add(this.tabPage9); this.tabControl3.Controls.Add(this.tabPage25); this.tabControl3.Location = new System.Drawing.Point(10, 479); this.tabControl3.Name = "tabControl3"; this.tabControl3.SelectedIndex = 0; this.tabControl3.Size = new System.Drawing.Size(309, 146); this.tabControl3.TabIndex = 25; // // tabPage10 // this.tabPage10.Controls.Add(this.cbLicensing); this.tabPage10.Controls.Add(this.btTest); this.tabPage10.Controls.Add(this.mmLog); this.tabPage10.Controls.Add(this.cbDebugMode); this.tabPage10.Location = new System.Drawing.Point(4, 22); this.tabPage10.Name = "tabPage10"; this.tabPage10.Padding = new System.Windows.Forms.Padding(3); this.tabPage10.Size = new System.Drawing.Size(301, 120); this.tabPage10.TabIndex = 2; this.tabPage10.Text = "Debug"; this.tabPage10.UseVisualStyleBackColor = true; // // cbLicensing // this.cbLicensing.AutoSize = true; this.cbLicensing.Location = new System.Drawing.Point(109, 13); this.cbLicensing.Name = "cbLicensing"; this.cbLicensing.Size = new System.Drawing.Size(91, 17); this.cbLicensing.TabIndex = 3; this.cbLicensing.Text = "Licensing info"; this.cbLicensing.UseVisualStyleBackColor = true; // // btTest // this.btTest.Location = new System.Drawing.Point(205, 9); this.btTest.Name = "btTest"; this.btTest.Size = new System.Drawing.Size(75, 21); this.btTest.TabIndex = 2; this.btTest.Text = "Test"; this.btTest.UseVisualStyleBackColor = true; this.btTest.Click += new System.EventHandler(this.btTest_Click); // // mmLog // this.mmLog.Location = new System.Drawing.Point(16, 36); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.mmLog.Size = new System.Drawing.Size(264, 78); this.mmLog.TabIndex = 1; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(16, 13); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 0; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // tabPage9 // this.tabPage9.Controls.Add(this.tabControl13); this.tabPage9.Location = new System.Drawing.Point(4, 22); this.tabPage9.Name = "tabPage9"; this.tabPage9.Padding = new System.Windows.Forms.Padding(3); this.tabPage9.Size = new System.Drawing.Size(301, 120); this.tabPage9.TabIndex = 1; this.tabPage9.Text = "Screenshot"; this.tabPage9.UseVisualStyleBackColor = true; // // tabControl13 // this.tabControl13.Controls.Add(this.tabPage54); this.tabControl13.Controls.Add(this.tabPage55); this.tabControl13.Location = new System.Drawing.Point(2, 2); this.tabControl13.Name = "tabControl13"; this.tabControl13.SelectedIndex = 0; this.tabControl13.Size = new System.Drawing.Size(293, 111); this.tabControl13.TabIndex = 27; // // tabPage54 // this.tabPage54.Controls.Add(this.cbImageType); this.tabPage54.Controls.Add(this.lbJPEGQuality); this.tabPage54.Controls.Add(this.label38); this.tabPage54.Controls.Add(this.btSaveScreenshot); this.tabPage54.Controls.Add(this.btSelectScreenshotsFolder); this.tabPage54.Controls.Add(this.label63); this.tabPage54.Controls.Add(this.edScreenshotsFolder); this.tabPage54.Controls.Add(this.tbJPEGQuality); this.tabPage54.Location = new System.Drawing.Point(4, 22); this.tabPage54.Name = "tabPage54"; this.tabPage54.Padding = new System.Windows.Forms.Padding(3); this.tabPage54.Size = new System.Drawing.Size(285, 85); this.tabPage54.TabIndex = 0; this.tabPage54.Text = "Main"; this.tabPage54.UseVisualStyleBackColor = true; // // cbImageType // this.cbImageType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbImageType.FormattingEnabled = true; this.cbImageType.Items.AddRange(new object[] { "BMP", "JPEG", "GIF", "PNG", "TIFF" }); this.cbImageType.Location = new System.Drawing.Point(11, 59); this.cbImageType.Name = "cbImageType"; this.cbImageType.Size = new System.Drawing.Size(73, 21); this.cbImageType.TabIndex = 33; // // lbJPEGQuality // this.lbJPEGQuality.AutoSize = true; this.lbJPEGQuality.Location = new System.Drawing.Point(261, 62); this.lbJPEGQuality.Name = "lbJPEGQuality"; this.lbJPEGQuality.Size = new System.Drawing.Size(19, 13); this.lbJPEGQuality.TabIndex = 32; this.lbJPEGQuality.Text = "85"; // // label38 // this.label38.AutoSize = true; this.label38.Location = new System.Drawing.Point(119, 62); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(67, 13); this.label38.TabIndex = 31; this.label38.Text = "JPEG quality"; // // btSaveScreenshot // this.btSaveScreenshot.Location = new System.Drawing.Point(227, 14); this.btSaveScreenshot.Name = "btSaveScreenshot"; this.btSaveScreenshot.Size = new System.Drawing.Size(56, 23); this.btSaveScreenshot.TabIndex = 29; this.btSaveScreenshot.Text = "Save"; this.btSaveScreenshot.UseVisualStyleBackColor = true; // // btSelectScreenshotsFolder // this.btSelectScreenshotsFolder.Location = new System.Drawing.Point(198, 14); this.btSelectScreenshotsFolder.Name = "btSelectScreenshotsFolder"; this.btSelectScreenshotsFolder.Size = new System.Drawing.Size(23, 23); this.btSelectScreenshotsFolder.TabIndex = 28; this.btSelectScreenshotsFolder.Text = "..."; this.btSelectScreenshotsFolder.UseVisualStyleBackColor = true; // // label63 // this.label63.AutoSize = true; this.label63.Location = new System.Drawing.Point(8, 19); this.label63.Name = "label63"; this.label63.Size = new System.Drawing.Size(36, 13); this.label63.TabIndex = 27; this.label63.Text = "Folder"; // // edScreenshotsFolder // this.edScreenshotsFolder.Location = new System.Drawing.Point(53, 16); this.edScreenshotsFolder.Name = "edScreenshotsFolder"; this.edScreenshotsFolder.Size = new System.Drawing.Size(139, 20); this.edScreenshotsFolder.TabIndex = 26; this.edScreenshotsFolder.Text = "c:\\"; // // tbJPEGQuality // this.tbJPEGQuality.BackColor = System.Drawing.SystemColors.Window; this.tbJPEGQuality.Location = new System.Drawing.Point(192, 48); this.tbJPEGQuality.Maximum = 100; this.tbJPEGQuality.Name = "tbJPEGQuality"; this.tbJPEGQuality.Size = new System.Drawing.Size(64, 45); this.tbJPEGQuality.TabIndex = 30; this.tbJPEGQuality.TickFrequency = 5; this.tbJPEGQuality.Value = 85; // // tabPage55 // this.tabPage55.Controls.Add(this.edScreenshotHeight); this.tabPage55.Controls.Add(this.label176); this.tabPage55.Controls.Add(this.edScreenshotWidth); this.tabPage55.Controls.Add(this.label177); this.tabPage55.Controls.Add(this.cbScreenshotResize); this.tabPage55.Location = new System.Drawing.Point(4, 22); this.tabPage55.Name = "tabPage55"; this.tabPage55.Padding = new System.Windows.Forms.Padding(3); this.tabPage55.Size = new System.Drawing.Size(285, 85); this.tabPage55.TabIndex = 1; this.tabPage55.Text = "Resize"; this.tabPage55.UseVisualStyleBackColor = true; // // edScreenshotHeight // this.edScreenshotHeight.Location = new System.Drawing.Point(163, 44); this.edScreenshotHeight.Name = "edScreenshotHeight"; this.edScreenshotHeight.Size = new System.Drawing.Size(36, 20); this.edScreenshotHeight.TabIndex = 128; this.edScreenshotHeight.Text = "576"; // // label176 // this.label176.AutoSize = true; this.label176.Location = new System.Drawing.Point(116, 47); this.label176.Name = "label176"; this.label176.Size = new System.Drawing.Size(38, 13); this.label176.TabIndex = 127; this.label176.Text = "Height"; // // edScreenshotWidth // this.edScreenshotWidth.Location = new System.Drawing.Point(74, 44); this.edScreenshotWidth.Name = "edScreenshotWidth"; this.edScreenshotWidth.Size = new System.Drawing.Size(36, 20); this.edScreenshotWidth.TabIndex = 126; this.edScreenshotWidth.Text = "768"; // // label177 // this.label177.AutoSize = true; this.label177.Location = new System.Drawing.Point(32, 47); this.label177.Name = "label177"; this.label177.Size = new System.Drawing.Size(35, 13); this.label177.TabIndex = 125; this.label177.Text = "Width"; // // cbScreenshotResize // this.cbScreenshotResize.AutoSize = true; this.cbScreenshotResize.Location = new System.Drawing.Point(16, 18); this.cbScreenshotResize.Name = "cbScreenshotResize"; this.cbScreenshotResize.Size = new System.Drawing.Size(65, 17); this.cbScreenshotResize.TabIndex = 0; this.cbScreenshotResize.Text = "Enabled"; this.cbScreenshotResize.UseVisualStyleBackColor = true; // // tabPage25 // this.tabPage25.Controls.Add(this.linkLabel2); this.tabPage25.Location = new System.Drawing.Point(4, 22); this.tabPage25.Name = "tabPage25"; this.tabPage25.Padding = new System.Windows.Forms.Padding(3); this.tabPage25.Size = new System.Drawing.Size(301, 120); this.tabPage25.TabIndex = 3; this.tabPage25.Text = "VLC engine"; this.tabPage25.UseVisualStyleBackColor = true; // // linkLabel2 // this.linkLabel2.AutoSize = true; this.linkLabel2.Location = new System.Drawing.Point(20, 17); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new System.Drawing.Size(264, 13); this.linkLabel2.TabIndex = 1; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "Please install VisioForge VLC redist to use VLC engine "; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.btStop); this.groupBox2.Controls.Add(this.btPause); this.groupBox2.Controls.Add(this.btResume); this.groupBox2.Controls.Add(this.btStart); this.groupBox2.Controls.Add(this.tbSpeed); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.lbTime); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Location = new System.Drawing.Point(328, 479); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(414, 90); this.groupBox2.TabIndex = 24; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(180, 58); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(46, 23); this.btStop.TabIndex = 7; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(122, 58); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(52, 23); this.btPause.TabIndex = 6; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btResume // this.btResume.Location = new System.Drawing.Point(55, 58); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(61, 23); this.btResume.TabIndex = 5; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(6, 58); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(43, 23); this.btStart.TabIndex = 4; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tbSpeed // this.tbSpeed.Location = new System.Drawing.Point(321, 27); this.tbSpeed.Maximum = 25; this.tbSpeed.Name = "tbSpeed"; this.tbSpeed.Size = new System.Drawing.Size(89, 45); this.tbSpeed.TabIndex = 3; this.tbSpeed.Value = 10; this.tbSpeed.Scroll += new System.EventHandler(this.tbSpeed_Scroll); // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(322, 11); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(38, 13); this.label16.TabIndex = 2; this.label16.Text = "Speed"; // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(219, 27); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 1; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 19); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(207, 45); this.tbTimeline.TabIndex = 0; this.tbTimeline.Scroll += new System.EventHandler(this.tbTimeline_Scroll); // // btSelectFile // this.btSelectFile.Location = new System.Drawing.Point(721, 27); this.btSelectFile.Name = "btSelectFile"; this.btSelectFile.Size = new System.Drawing.Size(23, 23); this.btSelectFile.TabIndex = 23; this.btSelectFile.Text = "..."; this.btSelectFile.UseVisualStyleBackColor = true; this.btSelectFile.Click += new System.EventHandler(this.btSelectFile_Click); // // edFilenameOrURL // this.edFilenameOrURL.Location = new System.Drawing.Point(328, 29); this.edFilenameOrURL.Name = "edFilenameOrURL"; this.edFilenameOrURL.Size = new System.Drawing.Size(348, 20); this.edFilenameOrURL.TabIndex = 22; this.edFilenameOrURL.Text = "c:\\Samples\\!video.avi"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(325, 13); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(89, 13); this.label14.TabIndex = 21; this.label14.Text = "File name or URL"; // // MediaPlayer1 // this.MediaPlayer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = false; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer1.FilenamesOrURL"))); this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(329, 158); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(414, 311); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.Play_DelayEnabled = false; this.MediaPlayer1.TabIndex = 32; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = false; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); this.MediaPlayer1.OnStop += new System.EventHandler <VisioForge.Types.MediaPlayerStopEventArgs>(this.MediaPlayer1_OnStop); // // groupBox44 // this.groupBox44.Controls.Add(this.edPIPFileHeight); this.groupBox44.Controls.Add(this.label321); this.groupBox44.Controls.Add(this.edPIPFileWidth); this.groupBox44.Controls.Add(this.label322); this.groupBox44.Controls.Add(this.edPIPFileTop); this.groupBox44.Controls.Add(this.label323); this.groupBox44.Controls.Add(this.edPIPFileLeft); this.groupBox44.Controls.Add(this.label324); this.groupBox44.Location = new System.Drawing.Point(14, 13); this.groupBox44.Name = "groupBox44"; this.groupBox44.Size = new System.Drawing.Size(204, 78); this.groupBox44.TabIndex = 65; this.groupBox44.TabStop = false; this.groupBox44.Text = "Position"; // // edPIPFileHeight // this.edPIPFileHeight.Location = new System.Drawing.Point(150, 45); this.edPIPFileHeight.Name = "edPIPFileHeight"; this.edPIPFileHeight.Size = new System.Drawing.Size(39, 20); this.edPIPFileHeight.TabIndex = 40; this.edPIPFileHeight.Text = "200"; this.edPIPFileHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label321 // this.label321.AutoSize = true; this.label321.Location = new System.Drawing.Point(112, 48); this.label321.Name = "label321"; this.label321.Size = new System.Drawing.Size(38, 13); this.label321.TabIndex = 39; this.label321.Text = "Height"; // // edPIPFileWidth // this.edPIPFileWidth.Location = new System.Drawing.Point(150, 19); this.edPIPFileWidth.Name = "edPIPFileWidth"; this.edPIPFileWidth.Size = new System.Drawing.Size(39, 20); this.edPIPFileWidth.TabIndex = 38; this.edPIPFileWidth.Text = "300"; this.edPIPFileWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label322 // this.label322.AutoSize = true; this.label322.Location = new System.Drawing.Point(112, 22); this.label322.Name = "label322"; this.label322.Size = new System.Drawing.Size(35, 13); this.label322.TabIndex = 37; this.label322.Text = "Width"; // // edPIPFileTop // this.edPIPFileTop.Location = new System.Drawing.Point(48, 45); this.edPIPFileTop.Name = "edPIPFileTop"; this.edPIPFileTop.Size = new System.Drawing.Size(39, 20); this.edPIPFileTop.TabIndex = 36; this.edPIPFileTop.Text = "0"; this.edPIPFileTop.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label323 // this.label323.AutoSize = true; this.label323.Location = new System.Drawing.Point(15, 48); this.label323.Name = "label323"; this.label323.Size = new System.Drawing.Size(26, 13); this.label323.TabIndex = 35; this.label323.Text = "Top"; // // edPIPFileLeft // this.edPIPFileLeft.Location = new System.Drawing.Point(48, 19); this.edPIPFileLeft.Name = "edPIPFileLeft"; this.edPIPFileLeft.Size = new System.Drawing.Size(39, 20); this.edPIPFileLeft.TabIndex = 34; this.edPIPFileLeft.Text = "0"; this.edPIPFileLeft.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label324 // this.label324.AutoSize = true; this.label324.Location = new System.Drawing.Point(15, 22); this.label324.Name = "label324"; this.label324.Size = new System.Drawing.Size(25, 13); this.label324.TabIndex = 33; this.label324.Text = "Left"; // // btUpdateRect // this.btUpdateRect.Location = new System.Drawing.Point(129, 209); this.btUpdateRect.Name = "btUpdateRect"; this.btUpdateRect.Size = new System.Drawing.Size(75, 23); this.btUpdateRect.TabIndex = 66; this.btUpdateRect.Text = "Update"; this.btUpdateRect.UseVisualStyleBackColor = true; this.btUpdateRect.Click += new System.EventHandler(this.btUpdateRect_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(46, 94); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(157, 13); this.label1.TabIndex = 67; this.label1.Text = "If all values are 0 - entire screen"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(244, 35); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(41, 13); this.label2.TabIndex = 68; this.label2.Text = "Z-order"; // // edZOrder // this.edZOrder.Location = new System.Drawing.Point(246, 58); this.edZOrder.Name = "edZOrder"; this.edZOrder.Size = new System.Drawing.Size(39, 20); this.edZOrder.TabIndex = 69; this.edZOrder.Text = "0"; this.edZOrder.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // tbStreamTransparency // this.tbStreamTransparency.Location = new System.Drawing.Point(17, 148); this.tbStreamTransparency.Maximum = 100; this.tbStreamTransparency.Name = "tbStreamTransparency"; this.tbStreamTransparency.Size = new System.Drawing.Size(201, 45); this.tbStreamTransparency.TabIndex = 70; this.tbStreamTransparency.Value = 100; this.tbStreamTransparency.Scroll += new System.EventHandler(this.tbStreamTransparency_Scroll); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(11, 132); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(104, 13); this.label3.TabIndex = 71; this.label3.Text = "Stream transparency"; // // lbStreamTransparency // this.lbStreamTransparency.AutoSize = true; this.lbStreamTransparency.Location = new System.Drawing.Point(183, 132); this.lbStreamTransparency.Name = "lbStreamTransparency"; this.lbStreamTransparency.Size = new System.Drawing.Size(25, 13); this.lbStreamTransparency.TabIndex = 72; this.lbStreamTransparency.Text = "100"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(11, 262); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(0, 13); this.label4.TabIndex = 73; // // textBox1 // this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.ForeColor = System.Drawing.Color.Transparent; this.textBox1.Location = new System.Drawing.Point(14, 242); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(305, 113); this.textBox1.TabIndex = 74; this.textBox1.Text = "First file will cover entire screen by default. You can set position for each str" + "eam independently."; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(755, 637); this.Controls.Add(this.textBox1); this.Controls.Add(this.label4); this.Controls.Add(this.lbStreamTransparency); this.Controls.Add(this.label3); this.Controls.Add(this.tbStreamTransparency); this.Controls.Add(this.edZOrder); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.btUpdateRect); this.Controls.Add(this.groupBox44); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.btAddFileToPlaylist); this.Controls.Add(this.label30); this.Controls.Add(this.lbSourceFiles); this.Controls.Add(this.cbSourceMode); this.Controls.Add(this.label29); this.Controls.Add(this.tabControl3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.btSelectFile); this.Controls.Add(this.edFilenameOrURL); this.Controls.Add(this.label14); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Media Player SDK .Net - Video Mixing Demo"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); this.Load += new System.EventHandler(this.Form1_Load); this.Shown += new System.EventHandler(this.Form1_Shown); this.tabControl3.ResumeLayout(false); this.tabPage10.ResumeLayout(false); this.tabPage10.PerformLayout(); this.tabPage9.ResumeLayout(false); this.tabControl13.ResumeLayout(false); this.tabPage54.ResumeLayout(false); this.tabPage54.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbJPEGQuality)).EndInit(); this.tabPage55.ResumeLayout(false); this.tabPage55.PerformLayout(); this.tabPage25.ResumeLayout(false); this.tabPage25.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbSpeed)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.groupBox44.ResumeLayout(false); this.groupBox44.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbStreamTransparency)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label7 = new System.Windows.Forms.Label(); this.tbBalance1 = new System.Windows.Forms.TrackBar(); this.label6 = new System.Windows.Forms.Label(); this.tbVolume1 = new System.Windows.Forms.TrackBar(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbLicensing = new System.Windows.Forms.CheckBox(); this.mmError = new System.Windows.Forms.TextBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btStop = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btResume = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.lbTime = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.btSelectFile = new System.Windows.Forms.Button(); this.edFilename = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.rbVRCubemap = new System.Windows.Forms.RadioButton(); this.rbVREquire = new System.Windows.Forms.RadioButton(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.bt360Right = new System.Windows.Forms.Button(); this.bt360Left = new System.Windows.Forms.Button(); this.bt360Down = new System.Windows.Forms.Button(); this.bt360Up = new System.Windows.Forms.Button(); this.btZoomOut = new System.Windows.Forms.Button(); this.btZoomIn = new System.Windows.Forms.Button(); this.tbRoll = new System.Windows.Forms.TrackBar(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbBalance1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbVolume1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbRoll)).BeginInit(); this.SuspendLayout(); // // groupBox4 // this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox4.Controls.Add(this.label7); this.groupBox4.Controls.Add(this.tbBalance1); this.groupBox4.Controls.Add(this.label6); this.groupBox4.Controls.Add(this.tbVolume1); this.groupBox4.Location = new System.Drawing.Point(435, 147); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(221, 107); this.groupBox4.TabIndex = 59; this.groupBox4.TabStop = false; this.groupBox4.Text = "Audio output"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(109, 28); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(46, 13); this.label7.TabIndex = 11; this.label7.Text = "Balance"; // // tbBalance1 // this.tbBalance1.BackColor = System.Drawing.SystemColors.Window; this.tbBalance1.Location = new System.Drawing.Point(112, 44); this.tbBalance1.Maximum = 100; this.tbBalance1.Minimum = -100; this.tbBalance1.Name = "tbBalance1"; this.tbBalance1.Size = new System.Drawing.Size(85, 45); this.tbBalance1.TabIndex = 10; this.tbBalance1.Scroll += new System.EventHandler(this.tbBalance1_Scroll); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(16, 28); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(42, 13); this.label6.TabIndex = 9; this.label6.Text = "Volume"; // // tbVolume1 // this.tbVolume1.BackColor = System.Drawing.SystemColors.Window; this.tbVolume1.Location = new System.Drawing.Point(19, 44); this.tbVolume1.Maximum = 100; this.tbVolume1.Name = "tbVolume1"; this.tbVolume1.Size = new System.Drawing.Size(85, 45); this.tbVolume1.TabIndex = 8; this.tbVolume1.Value = 80; this.tbVolume1.Scroll += new System.EventHandler(this.tbVolume1_Scroll); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.cbLicensing); this.groupBox1.Controls.Add(this.mmError); this.groupBox1.Controls.Add(this.cbDebugMode); this.groupBox1.Location = new System.Drawing.Point(435, 15); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(221, 126); this.groupBox1.TabIndex = 58; this.groupBox1.TabStop = false; this.groupBox1.Text = "Errors and warnings"; // // cbLicensing // this.cbLicensing.AutoSize = true; this.cbLicensing.Location = new System.Drawing.Point(99, 19); this.cbLicensing.Name = "cbLicensing"; this.cbLicensing.Size = new System.Drawing.Size(91, 17); this.cbLicensing.TabIndex = 4; this.cbLicensing.Text = "Licensing info"; this.cbLicensing.UseVisualStyleBackColor = true; // // mmError // this.mmError.Location = new System.Drawing.Point(6, 42); this.mmError.Multiline = true; this.mmError.Name = "mmError"; this.mmError.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.mmError.Size = new System.Drawing.Size(209, 78); this.mmError.TabIndex = 3; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(6, 19); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 2; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.Location = new System.Drawing.Point(84, 476); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(244, 13); this.label1.TabIndex = 57; this.label1.Text = "Much more features shown in Main Demo!"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.btStop); this.groupBox2.Controls.Add(this.btPause); this.groupBox2.Controls.Add(this.btResume); this.groupBox2.Controls.Add(this.btStart); this.groupBox2.Controls.Add(this.lbTime); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Location = new System.Drawing.Point(13, 369); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(416, 90); this.groupBox2.TabIndex = 56; this.groupBox2.TabStop = false; this.groupBox2.Text = "Controls"; // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(180, 58); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(46, 23); this.btStop.TabIndex = 7; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(122, 58); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(52, 23); this.btPause.TabIndex = 6; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btResume // this.btResume.Location = new System.Drawing.Point(55, 58); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(61, 23); this.btResume.TabIndex = 5; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(6, 58); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(43, 23); this.btStart.TabIndex = 4; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // lbTime // this.lbTime.AutoSize = true; this.lbTime.Location = new System.Drawing.Point(306, 32); this.lbTime.Name = "lbTime"; this.lbTime.Size = new System.Drawing.Size(96, 13); this.lbTime.TabIndex = 1; this.lbTime.Text = "00:00:00/00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 19); this.tbTimeline.Maximum = 100; this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(294, 45); this.tbTimeline.TabIndex = 0; this.tbTimeline.Scroll += new System.EventHandler(this.tbTimeline_Scroll); // // linkLabel1 // this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(319, 9); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(110, 13); this.linkLabel1.TabIndex = 55; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Watch video tutorials!"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // btSelectFile // this.btSelectFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btSelectFile.Location = new System.Drawing.Point(406, 26); this.btSelectFile.Name = "btSelectFile"; this.btSelectFile.Size = new System.Drawing.Size(23, 23); this.btSelectFile.TabIndex = 54; this.btSelectFile.Text = "..."; this.btSelectFile.UseVisualStyleBackColor = true; this.btSelectFile.Click += new System.EventHandler(this.btSelectFile_Click); // // edFilename // this.edFilename.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.edFilename.Location = new System.Drawing.Point(13, 28); this.edFilename.Name = "edFilename"; this.edFilename.Size = new System.Drawing.Size(387, 20); this.edFilename.TabIndex = 53; this.edFilename.Text = "C:\\samples\\!video.mp4"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(10, 12); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(52, 13); this.label14.TabIndex = 52; this.label14.Text = "File name"; // // MediaPlayer1 // this.MediaPlayer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = true; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.CustomParameters = ((System.Collections.Generic.Dictionary <string, string>)(resources.GetObject("MediaPlayer1.CustomParameters"))); this.MediaPlayer1.CustomRedist_Enabled = false; this.MediaPlayer1.CustomRedist_Path = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Debug_Telemetry = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer1.FilenamesOrURL"))); this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(13, 57); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.MIDI_Renderer = null; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.OSD_Enabled = false; this.MediaPlayer1.Play_DelayEnabled = false; this.MediaPlayer1.Play_PauseAtFirstFrame = false; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(416, 306); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_GPU_Mode = VisioForge.Types.VFMediaPlayerSourceGPUDecoder.nVidiaCUVID; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.TabIndex = 62; this.MediaPlayer1.Video_Effects_Enabled = false; this.MediaPlayer1.Video_Effects_GPU_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms1; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = false; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.Virtual_Camera_Output_Enabled = false; this.MediaPlayer1.Virtual_Camera_Output_LicenseKey = null; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); this.MediaPlayer1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.MediaPlayer1_OnLicenseRequired); this.MediaPlayer1.OnStop += new System.EventHandler <VisioForge.Types.MediaPlayerStopEventArgs>(this.MediaPlayer1_OnStop); // // groupBox3 // this.groupBox3.Controls.Add(this.rbVRCubemap); this.groupBox3.Controls.Add(this.rbVREquire); this.groupBox3.Location = new System.Drawing.Point(435, 263); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(221, 62); this.groupBox3.TabIndex = 63; this.groupBox3.TabStop = false; this.groupBox3.Text = "VR type"; // // rbVRCubemap // this.rbVRCubemap.AutoSize = true; this.rbVRCubemap.Location = new System.Drawing.Point(127, 26); this.rbVRCubemap.Name = "rbVRCubemap"; this.rbVRCubemap.Size = new System.Drawing.Size(70, 17); this.rbVRCubemap.TabIndex = 1; this.rbVRCubemap.Text = "Cubemap"; this.rbVRCubemap.UseVisualStyleBackColor = true; // // rbVREquire // this.rbVREquire.AutoSize = true; this.rbVREquire.Checked = true; this.rbVREquire.Location = new System.Drawing.Point(16, 26); this.rbVREquire.Name = "rbVREquire"; this.rbVREquire.Size = new System.Drawing.Size(99, 17); this.rbVREquire.TabIndex = 0; this.rbVREquire.TabStop = true; this.rbVREquire.Text = "Equirectangular"; this.rbVREquire.UseVisualStyleBackColor = true; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // bt360Right // this.bt360Right.Location = new System.Drawing.Point(569, 353); this.bt360Right.Name = "bt360Right"; this.bt360Right.Size = new System.Drawing.Size(21, 48); this.bt360Right.TabIndex = 67; this.bt360Right.Text = "R"; this.bt360Right.UseVisualStyleBackColor = true; this.bt360Right.Click += new System.EventHandler(this.bt360Right_Click); // // bt360Left // this.bt360Left.Location = new System.Drawing.Point(497, 352); this.bt360Left.Name = "bt360Left"; this.bt360Left.Size = new System.Drawing.Size(21, 48); this.bt360Left.TabIndex = 66; this.bt360Left.Text = "L"; this.bt360Left.UseVisualStyleBackColor = true; this.bt360Left.Click += new System.EventHandler(this.bt360Left_Click); // // bt360Down // this.bt360Down.Location = new System.Drawing.Point(518, 390); this.bt360Down.Name = "bt360Down"; this.bt360Down.Size = new System.Drawing.Size(51, 23); this.bt360Down.TabIndex = 65; this.bt360Down.Text = "Down"; this.bt360Down.UseVisualStyleBackColor = true; this.bt360Down.Click += new System.EventHandler(this.bt360Down_Click); // // bt360Up // this.bt360Up.Location = new System.Drawing.Point(518, 340); this.bt360Up.Name = "bt360Up"; this.bt360Up.Size = new System.Drawing.Size(51, 23); this.bt360Up.TabIndex = 64; this.bt360Up.Text = "Up"; this.bt360Up.UseVisualStyleBackColor = true; this.bt360Up.Click += new System.EventHandler(this.bt360Up_Click); // // btZoomOut // this.btZoomOut.Location = new System.Drawing.Point(546, 365); this.btZoomOut.Name = "btZoomOut"; this.btZoomOut.Size = new System.Drawing.Size(23, 23); this.btZoomOut.TabIndex = 69; this.btZoomOut.Text = "-"; this.btZoomOut.UseVisualStyleBackColor = true; this.btZoomOut.Click += new System.EventHandler(this.btZoomOut_Click); // // btZoomIn // this.btZoomIn.Location = new System.Drawing.Point(518, 365); this.btZoomIn.Name = "btZoomIn"; this.btZoomIn.Size = new System.Drawing.Size(22, 23); this.btZoomIn.TabIndex = 68; this.btZoomIn.Text = "+"; this.btZoomIn.UseVisualStyleBackColor = true; this.btZoomIn.Click += new System.EventHandler(this.btZoomIn_Click); // // tbRoll // this.tbRoll.Location = new System.Drawing.Point(497, 419); this.tbRoll.Maximum = 180; this.tbRoll.Minimum = -180; this.tbRoll.Name = "tbRoll"; this.tbRoll.Size = new System.Drawing.Size(93, 45); this.tbRoll.TabIndex = 70; this.tbRoll.Scroll += new System.EventHandler(this.tbRoll_Scroll); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(666, 499); this.Controls.Add(this.tbRoll); this.Controls.Add(this.btZoomOut); this.Controls.Add(this.btZoomIn); this.Controls.Add(this.bt360Right); this.Controls.Add(this.bt360Left); this.Controls.Add(this.bt360Down); this.Controls.Add(this.bt360Up); this.Controls.Add(this.groupBox3); this.Controls.Add(this.MediaPlayer1); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.btSelectFile); this.Controls.Add(this.edFilename); this.Controls.Add(this.label14); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Media Player SDK .Net - VR 360 Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbBalance1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbVolume1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbRoll)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Metoda wymagana do obsługi projektanta — nie należy modyfikować /// jej zawartości w edytorze kodu. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.videoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.btnStart = new System.Windows.Forms.Button(); this.btnStop = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.textBox7 = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.firebase = new System.Windows.Forms.Button(); this.delete = new System.Windows.Forms.Button(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.data_sales_save = new System.Windows.Forms.Label(); this.quantity_save = new System.Windows.Forms.Label(); this.user_name_save = new System.Windows.Forms.Label(); this.partia_save = new System.Windows.Forms.Label(); this.name_save = new System.Windows.Forms.Label(); this.textBox_data_sales_save = new System.Windows.Forms.TextBox(); this.textBox_quantity_save = new System.Windows.Forms.TextBox(); this.textBox_user_name_save = new System.Windows.Forms.TextBox(); this.textBox_partia_save = new System.Windows.Forms.TextBox(); this.textBox_name_save = new System.Windows.Forms.TextBox(); this.open_file_mp4 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // videoCapture1 // this.videoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.videoCapture1.Audio_CaptureDevice = ""; this.videoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.videoCapture1.Audio_CaptureDevice_Format = ""; this.videoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.videoCapture1.Audio_CaptureDevice_Line = ""; this.videoCapture1.Audio_CaptureDevice_MasterDevice = null; this.videoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.videoCapture1.Audio_CaptureDevice_Path = null; this.videoCapture1.Audio_CaptureSourceFilter = null; this.videoCapture1.Audio_Channel_Mapper = null; this.videoCapture1.Audio_Decoder = null; this.videoCapture1.Audio_Effects_Enabled = false; this.videoCapture1.Audio_Effects_UseLegacyEffects = false; this.videoCapture1.Audio_Enhancer_Enabled = false; this.videoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.videoCapture1.Audio_PCM_Converter = null; this.videoCapture1.Audio_PlayAudio = true; this.videoCapture1.Audio_RecordAudio = true; this.videoCapture1.Audio_Sample_Grabber_Enabled = false; this.videoCapture1.Audio_VUMeter_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Enabled = false; this.videoCapture1.Audio_VUMeter_Pro_Volume = 100; this.videoCapture1.BackColor = System.Drawing.Color.Black; this.videoCapture1.Barcode_Reader_Enabled = false; this.videoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.videoCapture1.BDA_Source = null; this.videoCapture1.ChromaKey = null; this.videoCapture1.Custom_Source = null; this.videoCapture1.CustomRedist_Auto = true; this.videoCapture1.CustomRedist_Enabled = false; this.videoCapture1.CustomRedist_Path = null; this.videoCapture1.Debug_Dir = ""; this.videoCapture1.Debug_DisableMessageDialogs = false; this.videoCapture1.Debug_Mode = false; this.videoCapture1.Debug_Telemetry = false; this.videoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.videoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.videoCapture1.Decklink_Input_IREUSA = false; this.videoCapture1.Decklink_Input_SMPTE = false; this.videoCapture1.Decklink_Output = null; this.videoCapture1.Decklink_Source = null; this.videoCapture1.DirectCapture_Muxer = null; this.videoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.videoCapture1.Face_Tracking = null; this.videoCapture1.IP_Camera_Source = null; this.videoCapture1.Location = new System.Drawing.Point(12, 26); this.videoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.videoCapture1.Motion_Detection = null; this.videoCapture1.Motion_DetectionEx = null; this.videoCapture1.MPEG_Audio_Decoder = ""; this.videoCapture1.MPEG_Demuxer = null; this.videoCapture1.MPEG_Video_Decoder = ""; this.videoCapture1.MultiScreen_Enabled = false; this.videoCapture1.Name = "videoCapture1"; this.videoCapture1.Network_Streaming_Audio_Enabled = false; this.videoCapture1.Network_Streaming_Enabled = false; this.videoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.videoCapture1.Network_Streaming_Network_Port = 100; this.videoCapture1.Network_Streaming_Output = null; this.videoCapture1.Network_Streaming_URL = ""; this.videoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.videoCapture1.OSD_Enabled = false; this.videoCapture1.Output_Filename = "C:\\Users\\hubert.gosciniak\\OneDrive - W.Legutko Przedsiębiorstwo Hodowlano-Nasienn" + "e Sp. z o.o\\Dokumenty\\VisioForge\\output.avi"; this.videoCapture1.Output_Format = null; this.videoCapture1.PIP_AddSampleGrabbers = false; this.videoCapture1.PIP_ChromaKeySettings = null; this.videoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.videoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.videoCapture1.Push_Source = null; this.videoCapture1.Screen_Capture_Source = null; this.videoCapture1.SeparateCapture_AutostartCapture = false; this.videoCapture1.SeparateCapture_Enabled = false; this.videoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.videoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.videoCapture1.SeparateCapture_GMFMode = true; this.videoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.videoCapture1.SeparateCapture_TimeThreshold = System.TimeSpan.Parse("00:00:00"); this.videoCapture1.Size = new System.Drawing.Size(906, 635); this.videoCapture1.Start_DelayEnabled = false; this.videoCapture1.TabIndex = 0; this.videoCapture1.Tags = null; this.videoCapture1.Timeshift_Settings = null; this.videoCapture1.TVTuner_Channel = 0; this.videoCapture1.TVTuner_Country = ""; this.videoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.videoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.videoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.videoCapture1.TVTuner_Frequency = 0; this.videoCapture1.TVTuner_InputType = ""; this.videoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.videoCapture1.TVTuner_Name = ""; this.videoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.videoCapture1.Video_CaptureDevice = ""; this.videoCapture1.Video_CaptureDevice_Format = ""; this.videoCapture1.Video_CaptureDevice_Format_UseBest = true; this.videoCapture1.Video_CaptureDevice_FrameRate = 25D; this.videoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.videoCapture1.Video_CaptureDevice_IsAudioSource = false; this.videoCapture1.Video_CaptureDevice_Path = null; this.videoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.videoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.videoCapture1.Video_Crop = null; this.videoCapture1.Video_Decoder = null; this.videoCapture1.Video_Effects_AllowMultipleStreams = false; this.videoCapture1.Video_Effects_Enabled = false; this.videoCapture1.Video_Effects_GPU_Enabled = false; this.videoCapture1.Video_Effects_MergeImageLogos = false; this.videoCapture1.Video_Effects_MergeTextLogos = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.videoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.videoCapture1.Video_Resize = null; this.videoCapture1.Video_ResizeOrCrop_Enabled = false; this.videoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.videoCapture1.Video_Sample_Grabber_Enabled = true; this.videoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.videoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.videoCapture1.Virtual_Camera_Output_Enabled = false; this.videoCapture1.Virtual_Camera_Output_LicenseKey = null; this.videoCapture1.VLC_Path = null; // // btnStart // this.btnStart.Location = new System.Drawing.Point(58, 741); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(278, 120); this.btnStart.TabIndex = 1; this.btnStart.Text = "Start"; this.btnStart.UseVisualStyleBackColor = true; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // btnStop // this.btnStop.Location = new System.Drawing.Point(574, 741); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(278, 120); this.btnStop.TabIndex = 2; this.btnStop.Text = "Stop"; this.btnStop.UseVisualStyleBackColor = true; this.btnStop.Click += new System.EventHandler(this.btnStop_Click_1); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(1131, 219); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(188, 31); this.textBox1.TabIndex = 3; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(1133, 160); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(188, 31); this.textBox2.TabIndex = 4; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(1133, 271); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(246, 31); this.textBox3.TabIndex = 5; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(1133, 332); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(188, 31); this.textBox4.TabIndex = 6; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(1133, 393); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(188, 31); this.textBox5.TabIndex = 7; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(1133, 444); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(188, 31); this.textBox6.TabIndex = 8; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(1000, 219); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 25); this.label1.TabIndex = 9; this.label1.Text = "name"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(1002, 160); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(66, 25); this.label2.TabIndex = 10; this.label2.Text = "partia"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(1000, 271); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(131, 25); this.label3.TabIndex = 11; this.label3.Text = "control_date"; this.label3.Click += new System.EventHandler(this.label3_Click); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(1000, 332); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(119, 25); this.label4.TabIndex = 12; this.label4.Text = "user_name"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(1000, 393); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(88, 25); this.label5.TabIndex = 13; this.label5.Text = "quantity"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(1002, 444); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(117, 25); this.label6.TabIndex = 14; this.label6.Text = "data_sales"; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(1133, 510); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(877, 31); this.textBox7.TabIndex = 15; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(1000, 510); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(127, 25); this.label7.TabIndex = 16; this.label7.Text = "file_location"; this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // firebase // this.firebase.Location = new System.Drawing.Point(1644, 160); this.firebase.Name = "firebase"; this.firebase.Size = new System.Drawing.Size(114, 84); this.firebase.TabIndex = 17; this.firebase.Text = "Firebase"; this.firebase.UseVisualStyleBackColor = true; this.firebase.Click += new System.EventHandler(this.firebase_Click); // // delete // this.delete.Location = new System.Drawing.Point(1644, 289); this.delete.Name = "delete"; this.delete.Size = new System.Drawing.Size(113, 91); this.delete.TabIndex = 18; this.delete.Text = "Delete Files"; this.delete.UseVisualStyleBackColor = true; this.delete.Click += new System.EventHandler(this.delete_Click); // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(1158, 55); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(300, 25); this.label8.TabIndex = 19; this.label8.Text = "Dane z Bazy danych Firebase"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(1158, 625); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(234, 25); this.label9.TabIndex = 20; this.label9.Text = "Zapisz do bazy danych"; // // data_sales_save // this.data_sales_save.AutoSize = true; this.data_sales_save.Location = new System.Drawing.Point(1087, 910); this.data_sales_save.Name = "data_sales_save"; this.data_sales_save.Size = new System.Drawing.Size(117, 25); this.data_sales_save.TabIndex = 32; this.data_sales_save.Text = "data_sales"; // // quantity_save // this.quantity_save.AutoSize = true; this.quantity_save.Location = new System.Drawing.Point(1085, 859); this.quantity_save.Name = "quantity_save"; this.quantity_save.Size = new System.Drawing.Size(88, 25); this.quantity_save.TabIndex = 31; this.quantity_save.Text = "quantity"; // // user_name_save // this.user_name_save.AutoSize = true; this.user_name_save.Location = new System.Drawing.Point(1085, 798); this.user_name_save.Name = "user_name_save"; this.user_name_save.Size = new System.Drawing.Size(119, 25); this.user_name_save.TabIndex = 30; this.user_name_save.Text = "user_name"; // // partia_save // this.partia_save.AutoSize = true; this.partia_save.Location = new System.Drawing.Point(1085, 735); this.partia_save.Name = "partia_save"; this.partia_save.Size = new System.Drawing.Size(66, 25); this.partia_save.TabIndex = 28; this.partia_save.Text = "partia"; // // name_save // this.name_save.AutoSize = true; this.name_save.Location = new System.Drawing.Point(1085, 681); this.name_save.Name = "name_save"; this.name_save.Size = new System.Drawing.Size(65, 25); this.name_save.TabIndex = 27; this.name_save.Text = "name"; // // textBox_data_sales_save // this.textBox_data_sales_save.Location = new System.Drawing.Point(1218, 910); this.textBox_data_sales_save.Name = "textBox_data_sales_save"; this.textBox_data_sales_save.Size = new System.Drawing.Size(188, 31); this.textBox_data_sales_save.TabIndex = 26; // // textBox_quantity_save // this.textBox_quantity_save.Location = new System.Drawing.Point(1218, 859); this.textBox_quantity_save.Name = "textBox_quantity_save"; this.textBox_quantity_save.Size = new System.Drawing.Size(188, 31); this.textBox_quantity_save.TabIndex = 25; // // textBox_user_name_save // this.textBox_user_name_save.Location = new System.Drawing.Point(1218, 798); this.textBox_user_name_save.Name = "textBox_user_name_save"; this.textBox_user_name_save.Size = new System.Drawing.Size(188, 31); this.textBox_user_name_save.TabIndex = 24; // // textBox_partia_save // this.textBox_partia_save.Location = new System.Drawing.Point(1216, 735); this.textBox_partia_save.Name = "textBox_partia_save"; this.textBox_partia_save.Size = new System.Drawing.Size(188, 31); this.textBox_partia_save.TabIndex = 22; // // textBox_name_save // this.textBox_name_save.Location = new System.Drawing.Point(1216, 681); this.textBox_name_save.Name = "textBox_name_save"; this.textBox_name_save.Size = new System.Drawing.Size(188, 31); this.textBox_name_save.TabIndex = 21; // // open_file_mp4 // this.open_file_mp4.Location = new System.Drawing.Point(1795, 682); this.open_file_mp4.Name = "open_file_mp4"; this.open_file_mp4.Size = new System.Drawing.Size(225, 107); this.open_file_mp4.TabIndex = 33; this.open_file_mp4.Text = "Open file mp4"; this.open_file_mp4.UseVisualStyleBackColor = true; this.open_file_mp4.Click += new System.EventHandler(this.open_file_mp4_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(2085, 1070); this.Controls.Add(this.open_file_mp4); this.Controls.Add(this.data_sales_save); this.Controls.Add(this.quantity_save); this.Controls.Add(this.user_name_save); this.Controls.Add(this.partia_save); this.Controls.Add(this.name_save); this.Controls.Add(this.textBox_data_sales_save); this.Controls.Add(this.textBox_quantity_save); this.Controls.Add(this.textBox_user_name_save); this.Controls.Add(this.textBox_partia_save); this.Controls.Add(this.textBox_name_save); this.Controls.Add(this.label9); this.Controls.Add(this.label8); this.Controls.Add(this.delete); this.Controls.Add(this.firebase); this.Controls.Add(this.label7); this.Controls.Add(this.textBox7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox6); this.Controls.Add(this.textBox5); this.Controls.Add(this.textBox4); this.Controls.Add(this.textBox3); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.btnStop); this.Controls.Add(this.btnStart); this.Controls.Add(this.videoCapture1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms2 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.label28 = new System.Windows.Forms.Label(); this.cbUseBestVideoInputFormat = new System.Windows.Forms.CheckBox(); this.label18 = new System.Windows.Forms.Label(); this.cbFramerate = new System.Windows.Forms.ComboBox(); this.cbVideoInputFormat = new System.Windows.Forms.ComboBox(); this.cbVideoInputDevice = new System.Windows.Forms.ComboBox(); this.label13 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.cbUseBestAudioInputFormat = new System.Windows.Forms.CheckBox(); this.cbUseAudioInputFromVideoCaptureDevice = new System.Windows.Forms.CheckBox(); this.cbAudioInputLine = new System.Windows.Forms.ComboBox(); this.cbAudioInputFormat = new System.Windows.Forms.ComboBox(); this.cbAudioInputDevice = new System.Windows.Forms.ComboBox(); this.label14 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.label3 = new System.Windows.Forms.Label(); this.cbOutputFormat = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.btSelectOutput = new System.Windows.Forms.Button(); this.edOutput = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.MediaPlayer1 = new VisioForge.Controls.UI.WinForms.MediaPlayer(); this.cbPlayerPlayAudio = new System.Windows.Forms.CheckBox(); this.lbPostion = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.lbDuration = new System.Windows.Forms.Label(); this.tbTimeline = new System.Windows.Forms.TrackBar(); this.btPlayerResume = new System.Windows.Forms.Button(); this.btPlayerPause = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.timer1 = new System.Windows.Forms.Timer(); this.groupBox1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage4.SuspendLayout(); this.tabPage3.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.tabControl1); this.groupBox1.Controls.Add(this.VideoCapture1); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(453, 481); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Video capture source"; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(6, 19); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(443, 140); this.tabControl1.TabIndex = 2; // // tabPage1 // this.tabPage1.Controls.Add(this.label28); this.tabPage1.Controls.Add(this.cbUseBestVideoInputFormat); this.tabPage1.Controls.Add(this.label18); this.tabPage1.Controls.Add(this.cbFramerate); this.tabPage1.Controls.Add(this.cbVideoInputFormat); this.tabPage1.Controls.Add(this.cbVideoInputDevice); this.tabPage1.Controls.Add(this.label13); this.tabPage1.Controls.Add(this.label11); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(435, 114); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Video input"; this.tabPage1.UseVisualStyleBackColor = true; // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(303, 86); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(21, 13); this.label28.TabIndex = 127; this.label28.Text = "fps"; // // cbUseBestVideoInputFormat // this.cbUseBestVideoInputFormat.AutoSize = true; this.cbUseBestVideoInputFormat.Location = new System.Drawing.Point(155, 64); this.cbUseBestVideoInputFormat.Name = "cbUseBestVideoInputFormat"; this.cbUseBestVideoInputFormat.Size = new System.Drawing.Size(68, 17); this.cbUseBestVideoInputFormat.TabIndex = 126; this.cbUseBestVideoInputFormat.Text = "Use best"; this.cbUseBestVideoInputFormat.UseVisualStyleBackColor = true; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(229, 65); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(57, 13); this.label18.TabIndex = 125; this.label18.Text = "Frame rate"; // // cbFramerate // this.cbFramerate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbFramerate.FormattingEnabled = true; this.cbFramerate.Location = new System.Drawing.Point(232, 81); this.cbFramerate.Name = "cbFramerate"; this.cbFramerate.Size = new System.Drawing.Size(65, 21); this.cbFramerate.TabIndex = 124; // // cbVideoInputFormat // this.cbVideoInputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoInputFormat.FormattingEnabled = true; this.cbVideoInputFormat.Location = new System.Drawing.Point(18, 81); this.cbVideoInputFormat.Name = "cbVideoInputFormat"; this.cbVideoInputFormat.Size = new System.Drawing.Size(208, 21); this.cbVideoInputFormat.TabIndex = 123; this.cbVideoInputFormat.SelectedIndexChanged += new System.EventHandler(this.cbVideoInputFormat_SelectedIndexChanged); // // cbVideoInputDevice // this.cbVideoInputDevice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoInputDevice.FormattingEnabled = true; this.cbVideoInputDevice.Location = new System.Drawing.Point(18, 32); this.cbVideoInputDevice.Name = "cbVideoInputDevice"; this.cbVideoInputDevice.Size = new System.Drawing.Size(208, 21); this.cbVideoInputDevice.TabIndex = 122; this.cbVideoInputDevice.SelectedIndexChanged += new System.EventHandler(this.cbVideoInputDevice_SelectedIndexChanged); // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(15, 65); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(63, 13); this.label13.TabIndex = 121; this.label13.Text = "Input format"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(15, 16); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(66, 13); this.label11.TabIndex = 120; this.label11.Text = "Input device"; // // tabPage2 // this.tabPage2.Controls.Add(this.cbUseBestAudioInputFormat); this.tabPage2.Controls.Add(this.cbUseAudioInputFromVideoCaptureDevice); this.tabPage2.Controls.Add(this.cbAudioInputLine); this.tabPage2.Controls.Add(this.cbAudioInputFormat); this.tabPage2.Controls.Add(this.cbAudioInputDevice); this.tabPage2.Controls.Add(this.label14); this.tabPage2.Controls.Add(this.label12); this.tabPage2.Controls.Add(this.label10); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(435, 114); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Audio input"; this.tabPage2.UseVisualStyleBackColor = true; // // cbUseBestAudioInputFormat // this.cbUseBestAudioInputFormat.AutoSize = true; this.cbUseBestAudioInputFormat.Location = new System.Drawing.Point(354, 65); this.cbUseBestAudioInputFormat.Name = "cbUseBestAudioInputFormat"; this.cbUseBestAudioInputFormat.Size = new System.Drawing.Size(68, 17); this.cbUseBestAudioInputFormat.TabIndex = 101; this.cbUseBestAudioInputFormat.Text = "Use best"; this.cbUseBestAudioInputFormat.UseVisualStyleBackColor = true; // // cbUseAudioInputFromVideoCaptureDevice // this.cbUseAudioInputFromVideoCaptureDevice.AutoSize = true; this.cbUseAudioInputFromVideoCaptureDevice.Location = new System.Drawing.Point(242, 17); this.cbUseAudioInputFromVideoCaptureDevice.Name = "cbUseAudioInputFromVideoCaptureDevice"; this.cbUseAudioInputFromVideoCaptureDevice.Size = new System.Drawing.Size(187, 17); this.cbUseAudioInputFromVideoCaptureDevice.TabIndex = 100; this.cbUseAudioInputFromVideoCaptureDevice.Text = "Use audio input from video source"; this.cbUseAudioInputFromVideoCaptureDevice.UseVisualStyleBackColor = true; // // cbAudioInputLine // this.cbAudioInputLine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputLine.FormattingEnabled = true; this.cbAudioInputLine.Location = new System.Drawing.Point(17, 83); this.cbAudioInputLine.Name = "cbAudioInputLine"; this.cbAudioInputLine.Size = new System.Drawing.Size(190, 21); this.cbAudioInputLine.TabIndex = 99; // // cbAudioInputFormat // this.cbAudioInputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputFormat.FormattingEnabled = true; this.cbAudioInputFormat.Location = new System.Drawing.Point(233, 83); this.cbAudioInputFormat.Name = "cbAudioInputFormat"; this.cbAudioInputFormat.Size = new System.Drawing.Size(190, 21); this.cbAudioInputFormat.TabIndex = 98; // // cbAudioInputDevice // this.cbAudioInputDevice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioInputDevice.FormattingEnabled = true; this.cbAudioInputDevice.Location = new System.Drawing.Point(17, 35); this.cbAudioInputDevice.Name = "cbAudioInputDevice"; this.cbAudioInputDevice.Size = new System.Drawing.Size(346, 21); this.cbAudioInputDevice.TabIndex = 97; this.cbAudioInputDevice.SelectedIndexChanged += new System.EventHandler(this.cbAudioInputDevice_SelectedIndexChanged); // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(14, 67); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(50, 13); this.label14.TabIndex = 96; this.label14.Text = "Input line"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(14, 17); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(66, 13); this.label12.TabIndex = 95; this.label12.Text = "Input device"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(230, 67); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(63, 13); this.label10.TabIndex = 94; this.label10.Text = "Input format"; // // tabPage4 // this.tabPage4.Controls.Add(this.label3); this.tabPage4.Controls.Add(this.cbOutputFormat); this.tabPage4.Controls.Add(this.label2); this.tabPage4.Controls.Add(this.btSelectOutput); this.tabPage4.Controls.Add(this.edOutput); this.tabPage4.Controls.Add(this.label9); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); this.tabPage4.Size = new System.Drawing.Size(435, 114); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Record"; this.tabPage4.UseVisualStyleBackColor = true; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(226, 31); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(138, 13); this.label3.TabIndex = 51; this.label3.Text = "Default format settings used"; // // cbOutputFormat // this.cbOutputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbOutputFormat.FormattingEnabled = true; this.cbOutputFormat.Items.AddRange(new object[] { "Do not record", "AVI", "MP4", "WebM" }); this.cbOutputFormat.Location = new System.Drawing.Point(18, 28); this.cbOutputFormat.Name = "cbOutputFormat"; this.cbOutputFormat.Size = new System.Drawing.Size(202, 21); this.cbOutputFormat.TabIndex = 50; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(15, 12); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(71, 13); this.label2.TabIndex = 49; this.label2.Text = "Output format"; // // btSelectOutput // this.btSelectOutput.Location = new System.Drawing.Point(405, 75); this.btSelectOutput.Name = "btSelectOutput"; this.btSelectOutput.Size = new System.Drawing.Size(24, 23); this.btSelectOutput.TabIndex = 48; this.btSelectOutput.Text = "..."; this.btSelectOutput.UseVisualStyleBackColor = true; this.btSelectOutput.Click += new System.EventHandler(this.btSelectOutput_Click); // // edOutput // this.edOutput.Location = new System.Drawing.Point(18, 77); this.edOutput.Name = "edOutput"; this.edOutput.Size = new System.Drawing.Size(381, 20); this.edOutput.TabIndex = 47; this.edOutput.Text = "c:\\capture.avi"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(15, 61); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(52, 13); this.label9.TabIndex = 46; this.label9.Text = "File name"; // // tabPage3 // this.tabPage3.Controls.Add(this.cbDebugMode); this.tabPage3.Controls.Add(this.mmLog); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(435, 114); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Debug"; this.tabPage3.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(6, 6); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 74; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Location = new System.Drawing.Point(6, 24); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(423, 84); this.mmLog.TabIndex = 73; // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(6, 165); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoCapture; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = ((long)(0)); this.VideoCapture1.Size = new System.Drawing.Size(439, 298); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 1; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = true; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnTimeshiftFileCreated += new System.EventHandler <VisioForge.Types.TimeshiftFileEventArgs>(this.VideoCapture1_OnTimeshiftFileCreated); this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); // // groupBox2 // this.groupBox2.Controls.Add(this.MediaPlayer1); this.groupBox2.Controls.Add(this.cbPlayerPlayAudio); this.groupBox2.Controls.Add(this.lbPostion); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.lbDuration); this.groupBox2.Controls.Add(this.tbTimeline); this.groupBox2.Controls.Add(this.btPlayerResume); this.groupBox2.Controls.Add(this.btPlayerPause); this.groupBox2.Location = new System.Drawing.Point(471, 12); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(453, 481); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "Player"; // // MediaPlayer1 // this.MediaPlayer1.Audio_Channel_Mapper = null; this.MediaPlayer1.Audio_Effects_Enabled = false; this.MediaPlayer1.Audio_Effects_UseLegacyEffects = false; this.MediaPlayer1.Audio_Enhancer_Enabled = false; this.MediaPlayer1.Audio_OutputDevice = ""; this.MediaPlayer1.Audio_PlayAudio = false; this.MediaPlayer1.Audio_Sample_Grabber_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Enabled = false; this.MediaPlayer1.Audio_VUMeter_Pro_Volume = 0; this.MediaPlayer1.BackColor = System.Drawing.Color.Black; this.MediaPlayer1.Barcode_Reader_Enabled = false; this.MediaPlayer1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.MediaPlayer1.ChromaKey = null; this.MediaPlayer1.Custom_Audio_Decoder = null; this.MediaPlayer1.Custom_Splitter = null; this.MediaPlayer1.Custom_Video_Decoder = null; this.MediaPlayer1.Debug_DeepCleanUp = false; this.MediaPlayer1.Debug_Dir = null; this.MediaPlayer1.Debug_Mode = false; this.MediaPlayer1.Encryption_Key = ""; this.MediaPlayer1.Encryption_KeyType = VisioForge.Types.VFEncryptionKeyType.String; this.MediaPlayer1.Face_Tracking = null; this.MediaPlayer1.FilenamesOrURL = ((System.Collections.Generic.List <string>)(resources.GetObject("MediaPlayer1.FilenamesOrURL"))); this.MediaPlayer1.Info_UseLibMediaInfo = false; this.MediaPlayer1.Location = new System.Drawing.Point(6, 73); this.MediaPlayer1.Loop = false; this.MediaPlayer1.Loop_DoNotSeekToBeginning = false; this.MediaPlayer1.MaximalSpeedPlayback = false; this.MediaPlayer1.Motion_Detection = null; this.MediaPlayer1.Motion_DetectionEx = null; this.MediaPlayer1.MultiScreen_Enabled = false; this.MediaPlayer1.Name = "MediaPlayer1"; this.MediaPlayer1.ReversePlayback_CacheSize = 0; this.MediaPlayer1.ReversePlayback_Enabled = false; this.MediaPlayer1.Selection_Active = false; this.MediaPlayer1.Selection_Start = 0; this.MediaPlayer1.Selection_Stop = 0; this.MediaPlayer1.Size = new System.Drawing.Size(441, 303); this.MediaPlayer1.Source_Custom_CLSID = null; this.MediaPlayer1.Source_Mode = VisioForge.Types.VFMediaPlayerSource.File_DS; this.MediaPlayer1.Source_Stream = null; this.MediaPlayer1.Source_Stream_AudioPresent = true; this.MediaPlayer1.Source_Stream_Size = ((long)(0)); this.MediaPlayer1.Source_Stream_VideoPresent = true; this.MediaPlayer1.Play_DelayEnabled = false; this.MediaPlayer1.TabIndex = 8; this.MediaPlayer1.Video_Effects_Enabled = false; videoRendererSettingsWinForms2.Aspect_Ratio_Override = false; videoRendererSettingsWinForms2.Aspect_Ratio_X = 0; videoRendererSettingsWinForms2.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms2.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms2.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms2.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms2.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms2.Flip_Horizontal = false; videoRendererSettingsWinForms2.Flip_Vertical = false; videoRendererSettingsWinForms2.RotationAngle = 0; videoRendererSettingsWinForms2.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms2.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms2.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms2.Zoom_Ratio = 0; videoRendererSettingsWinForms2.Zoom_ShiftX = 0; videoRendererSettingsWinForms2.Zoom_ShiftY = 0; this.MediaPlayer1.Video_Renderer = videoRendererSettingsWinForms2; this.MediaPlayer1.Video_Sample_Grabber_UseForVideoEffects = false; this.MediaPlayer1.Video_Stream_Index = 0; this.MediaPlayer1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.MediaPlayer1_OnError); // // cbPlayerPlayAudio // this.cbPlayerPlayAudio.AutoSize = true; this.cbPlayerPlayAudio.Location = new System.Drawing.Point(6, 19); this.cbPlayerPlayAudio.Name = "cbPlayerPlayAudio"; this.cbPlayerPlayAudio.Size = new System.Drawing.Size(75, 17); this.cbPlayerPlayAudio.TabIndex = 7; this.cbPlayerPlayAudio.Text = "Play audio"; this.cbPlayerPlayAudio.UseVisualStyleBackColor = true; // // lbPostion // this.lbPostion.AutoSize = true; this.lbPostion.Location = new System.Drawing.Point(330, 398); this.lbPostion.Name = "lbPostion"; this.lbPostion.Size = new System.Drawing.Size(49, 13); this.lbPostion.TabIndex = 6; this.lbPostion.Text = "00:00:00"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(380, 398); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(12, 13); this.label1.TabIndex = 5; this.label1.Text = "/"; // // lbDuration // this.lbDuration.AutoSize = true; this.lbDuration.Location = new System.Drawing.Point(391, 398); this.lbDuration.Name = "lbDuration"; this.lbDuration.Size = new System.Drawing.Size(49, 13); this.lbDuration.TabIndex = 4; this.lbDuration.Text = "00:00:00"; // // tbTimeline // this.tbTimeline.Location = new System.Drawing.Point(6, 422); this.tbTimeline.Name = "tbTimeline"; this.tbTimeline.Size = new System.Drawing.Size(434, 45); this.tbTimeline.TabIndex = 3; this.tbTimeline.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tbTimeline_MouseDown); this.tbTimeline.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbTimeline_MouseUp); // // btPlayerResume // this.btPlayerResume.Location = new System.Drawing.Point(87, 393); this.btPlayerResume.Name = "btPlayerResume"; this.btPlayerResume.Size = new System.Drawing.Size(75, 23); this.btPlayerResume.TabIndex = 2; this.btPlayerResume.Text = "Resume"; this.btPlayerResume.UseVisualStyleBackColor = true; this.btPlayerResume.Click += new System.EventHandler(this.btPlayerResume_Click); // // btPlayerPause // this.btPlayerPause.Location = new System.Drawing.Point(6, 393); this.btPlayerPause.Name = "btPlayerPause"; this.btPlayerPause.Size = new System.Drawing.Size(75, 23); this.btPlayerPause.TabIndex = 1; this.btPlayerPause.Text = "Pause"; this.btPlayerPause.UseVisualStyleBackColor = true; this.btPlayerPause.Click += new System.EventHandler(this.btPlayerPause_Click); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(77, 499); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 44; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(12, 499); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 43; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(938, 532); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Video Capture SDK .Net - Timeshift Demo"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTimeline)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.label2 = new System.Windows.Forms.Label(); this.rbCapture = new System.Windows.Forms.RadioButton(); this.rbPreview = new System.Windows.Forms.RadioButton(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.tcMain = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btSelectOutput = new System.Windows.Forms.Button(); this.edOutput = new System.Windows.Forms.TextBox(); this.lbInfo = new System.Windows.Forms.Label(); this.btOutputConfigure = new System.Windows.Forms.Button(); this.cbOutputFormat = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.cbLicensing = new System.Windows.Forms.CheckBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.lbTimestamp = new System.Windows.Forms.Label(); this.tcMain.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage4.SuspendLayout(); this.SuspendLayout(); // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(372, 12); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoCapture; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = ((long)(0)); this.VideoCapture1.Size = new System.Drawing.Size(429, 302); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 0; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = false; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = false; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(467, 317); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(214, 13); this.label2.TabIndex = 103; this.label2.Text = "Much more features available in Main Demo"; // // rbCapture // this.rbCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.rbCapture.AutoSize = true; this.rbCapture.Location = new System.Drawing.Point(441, 346); this.rbCapture.Name = "rbCapture"; this.rbCapture.Size = new System.Drawing.Size(62, 17); this.rbCapture.TabIndex = 101; this.rbCapture.Text = "Capture"; this.rbCapture.UseVisualStyleBackColor = true; // // rbPreview // this.rbPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.rbPreview.AutoSize = true; this.rbPreview.Checked = true; this.rbPreview.Location = new System.Drawing.Point(372, 346); this.rbPreview.Name = "rbPreview"; this.rbPreview.Size = new System.Drawing.Size(63, 17); this.rbPreview.TabIndex = 100; this.rbPreview.TabStop = true; this.rbPreview.Text = "Preview"; this.rbPreview.UseVisualStyleBackColor = true; // // btStop // this.btStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(739, 343); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 99; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(674, 343); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 98; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // tcMain // this.tcMain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.tcMain.Controls.Add(this.tabPage1); this.tcMain.Controls.Add(this.tabPage2); this.tcMain.Controls.Add(this.tabPage4); this.tcMain.Location = new System.Drawing.Point(12, 12); this.tcMain.Name = "tcMain"; this.tcMain.SelectedIndex = 0; this.tcMain.Size = new System.Drawing.Size(354, 356); this.tcMain.TabIndex = 96; // // tabPage1 // this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(346, 330); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Input"; this.tabPage1.UseVisualStyleBackColor = true; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(19, 39); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(123, 13); this.label4.TabIndex = 1; this.label4.Text = ".Net Bitmap class frames"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(19, 17); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(319, 13); this.label3.TabIndex = 0; this.label3.Text = "Sample images used in this demo. In real application you can push"; // // tabPage2 // this.tabPage2.Controls.Add(this.btSelectOutput); this.tabPage2.Controls.Add(this.edOutput); this.tabPage2.Controls.Add(this.lbInfo); this.tabPage2.Controls.Add(this.btOutputConfigure); this.tabPage2.Controls.Add(this.cbOutputFormat); this.tabPage2.Controls.Add(this.label1); this.tabPage2.Controls.Add(this.label7); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(346, 330); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Output"; this.tabPage2.UseVisualStyleBackColor = true; // // btSelectOutput // this.btSelectOutput.Location = new System.Drawing.Point(302, 153); this.btSelectOutput.Name = "btSelectOutput"; this.btSelectOutput.Size = new System.Drawing.Size(24, 23); this.btSelectOutput.TabIndex = 127; this.btSelectOutput.Text = "..."; this.btSelectOutput.UseVisualStyleBackColor = true; this.btSelectOutput.Click += new System.EventHandler(this.btSelectOutput_Click); // // edOutput // this.edOutput.Location = new System.Drawing.Point(16, 155); this.edOutput.Name = "edOutput"; this.edOutput.Size = new System.Drawing.Size(280, 20); this.edOutput.TabIndex = 126; this.edOutput.Text = "c:\\capture.avi"; // // lbInfo // this.lbInfo.AutoSize = true; this.lbInfo.Location = new System.Drawing.Point(13, 55); this.lbInfo.Name = "lbInfo"; this.lbInfo.Size = new System.Drawing.Size(267, 13); this.lbInfo.TabIndex = 125; this.lbInfo.Text = "You can use dialog or code to configure format settings"; // // btOutputConfigure // this.btOutputConfigure.Location = new System.Drawing.Point(16, 71); this.btOutputConfigure.Name = "btOutputConfigure"; this.btOutputConfigure.Size = new System.Drawing.Size(75, 23); this.btOutputConfigure.TabIndex = 124; this.btOutputConfigure.Text = "Configure"; this.btOutputConfigure.UseVisualStyleBackColor = true; this.btOutputConfigure.Click += new System.EventHandler(this.btOutputConfigure_Click); // // cbOutputFormat // this.cbOutputFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbOutputFormat.FormattingEnabled = true; this.cbOutputFormat.Items.AddRange(new object[] { "AVI", "MKV (Matroska)", "WMV (Windows Media Video)", "DV", "WebM", "FFMPEG (DLL)", "FFMPEG (external exe)", "MP4 v8/v10", "MP4 v11", "Animated GIF", "Encrypted video", "MPEG-TS", "MOV" }); this.cbOutputFormat.Location = new System.Drawing.Point(16, 27); this.cbOutputFormat.Name = "cbOutputFormat"; this.cbOutputFormat.Size = new System.Drawing.Size(310, 21); this.cbOutputFormat.TabIndex = 123; this.cbOutputFormat.SelectedIndexChanged += new System.EventHandler(this.cbOutputFormat_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(13, 139); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(52, 13); this.label1.TabIndex = 122; this.label1.Text = "File name"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(13, 10); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(39, 13); this.label7.TabIndex = 121; this.label7.Text = "Format"; // // tabPage4 // this.tabPage4.Controls.Add(this.cbLicensing); this.tabPage4.Controls.Add(this.cbDebugMode); this.tabPage4.Controls.Add(this.mmLog); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); this.tabPage4.Size = new System.Drawing.Size(346, 330); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Log"; this.tabPage4.UseVisualStyleBackColor = true; // // cbLicensing // this.cbLicensing.AutoSize = true; this.cbLicensing.Location = new System.Drawing.Point(99, 6); this.cbLicensing.Name = "cbLicensing"; this.cbLicensing.Size = new System.Drawing.Size(91, 17); this.cbLicensing.TabIndex = 79; this.cbLicensing.Text = "Licensing info"; this.cbLicensing.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(6, 6); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 78; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.mmLog.Location = new System.Drawing.Point(6, 29); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(334, 295); this.mmLog.TabIndex = 77; // // lbTimestamp // this.lbTimestamp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lbTimestamp.AutoSize = true; this.lbTimestamp.Location = new System.Drawing.Point(529, 348); this.lbTimestamp.Name = "lbTimestamp"; this.lbTimestamp.Size = new System.Drawing.Size(126, 13); this.lbTimestamp.TabIndex = 104; this.lbTimestamp.Text = "Recording time: 00:00:00"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(810, 380); this.Controls.Add(this.lbTimestamp); this.Controls.Add(this.label2); this.Controls.Add(this.rbCapture); this.Controls.Add(this.rbPreview); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.tcMain); this.Controls.Add(this.VideoCapture1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Push Source Demo - Video Capture SDK .Net"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.tcMain.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.cbScreenCapture_DesktopDuplication = new System.Windows.Forms.CheckBox(); this.cbScreenCaptureDisplayIndex = new System.Windows.Forms.ComboBox(); this.label93 = new System.Windows.Forms.Label(); this.btScreenCaptureUpdate = new System.Windows.Forms.Button(); this.label124 = new System.Windows.Forms.Label(); this.label123 = new System.Windows.Forms.Label(); this.label122 = new System.Windows.Forms.Label(); this.cbScreenCapture_GrabMouseCursor = new System.Windows.Forms.CheckBox(); this.label79 = new System.Windows.Forms.Label(); this.edScreenFrameRate = new System.Windows.Forms.TextBox(); this.label43 = new System.Windows.Forms.Label(); this.edScreenBottom = new System.Windows.Forms.TextBox(); this.label42 = new System.Windows.Forms.Label(); this.edScreenRight = new System.Windows.Forms.TextBox(); this.label40 = new System.Windows.Forms.Label(); this.edScreenTop = new System.Windows.Forms.TextBox(); this.label26 = new System.Windows.Forms.Label(); this.edScreenLeft = new System.Windows.Forms.TextBox(); this.label24 = new System.Windows.Forms.Label(); this.rbScreenCustomArea = new System.Windows.Forms.RadioButton(); this.rbScreenFullScreen = new System.Windows.Forms.RadioButton(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btSelectOutput = new System.Windows.Forms.Button(); this.edOutput = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.cbCapture = new System.Windows.Forms.CheckBox(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.cbTelemetry = new System.Windows.Forms.CheckBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.btResume = new System.Windows.Forms.Button(); this.btPause = new System.Windows.Forms.Button(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(11, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(439, 289); this.tabControl1.TabIndex = 83; // // tabPage1 // this.tabPage1.Controls.Add(this.cbScreenCapture_DesktopDuplication); this.tabPage1.Controls.Add(this.cbScreenCaptureDisplayIndex); this.tabPage1.Controls.Add(this.label93); this.tabPage1.Controls.Add(this.btScreenCaptureUpdate); this.tabPage1.Controls.Add(this.label124); this.tabPage1.Controls.Add(this.label123); this.tabPage1.Controls.Add(this.label122); this.tabPage1.Controls.Add(this.cbScreenCapture_GrabMouseCursor); this.tabPage1.Controls.Add(this.label79); this.tabPage1.Controls.Add(this.edScreenFrameRate); this.tabPage1.Controls.Add(this.label43); this.tabPage1.Controls.Add(this.edScreenBottom); this.tabPage1.Controls.Add(this.label42); this.tabPage1.Controls.Add(this.edScreenRight); this.tabPage1.Controls.Add(this.label40); this.tabPage1.Controls.Add(this.edScreenTop); this.tabPage1.Controls.Add(this.label26); this.tabPage1.Controls.Add(this.edScreenLeft); this.tabPage1.Controls.Add(this.label24); this.tabPage1.Controls.Add(this.rbScreenCustomArea); this.tabPage1.Controls.Add(this.rbScreenFullScreen); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(431, 263); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Screen source"; this.tabPage1.UseVisualStyleBackColor = true; // // cbScreenCapture_DesktopDuplication // this.cbScreenCapture_DesktopDuplication.AutoSize = true; this.cbScreenCapture_DesktopDuplication.Location = new System.Drawing.Point(11, 235); this.cbScreenCapture_DesktopDuplication.Name = "cbScreenCapture_DesktopDuplication"; this.cbScreenCapture_DesktopDuplication.Size = new System.Drawing.Size(225, 17); this.cbScreenCapture_DesktopDuplication.TabIndex = 79; this.cbScreenCapture_DesktopDuplication.Text = "Allow Desktop Duplication usage (Win 8+)"; this.cbScreenCapture_DesktopDuplication.UseVisualStyleBackColor = true; // // cbScreenCaptureDisplayIndex // this.cbScreenCaptureDisplayIndex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbScreenCaptureDisplayIndex.FormattingEnabled = true; this.cbScreenCaptureDisplayIndex.Location = new System.Drawing.Point(80, 179); this.cbScreenCaptureDisplayIndex.Name = "cbScreenCaptureDisplayIndex"; this.cbScreenCaptureDisplayIndex.Size = new System.Drawing.Size(44, 21); this.cbScreenCaptureDisplayIndex.TabIndex = 74; // // label93 // this.label93.AutoSize = true; this.label93.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label93.Location = new System.Drawing.Point(8, 182); this.label93.Name = "label93"; this.label93.Size = new System.Drawing.Size(65, 13); this.label93.TabIndex = 73; this.label93.Text = "Display ID"; // // btScreenCaptureUpdate // this.btScreenCaptureUpdate.Location = new System.Drawing.Point(306, 90); this.btScreenCaptureUpdate.Name = "btScreenCaptureUpdate"; this.btScreenCaptureUpdate.Size = new System.Drawing.Size(75, 23); this.btScreenCaptureUpdate.TabIndex = 72; this.btScreenCaptureUpdate.Text = "Update"; this.btScreenCaptureUpdate.UseVisualStyleBackColor = true; // // label124 // this.label124.AutoSize = true; this.label124.Location = new System.Drawing.Point(260, 59); this.label124.Name = "label124"; this.label124.Size = new System.Drawing.Size(50, 13); this.label124.TabIndex = 71; this.label124.Text = "on-the-fly"; // // label123 // this.label123.AutoSize = true; this.label123.Location = new System.Drawing.Point(260, 35); this.label123.Name = "label123"; this.label123.Size = new System.Drawing.Size(141, 13); this.label123.TabIndex = 70; this.label123.Text = "and mouse cursor capturing"; // // label122 // this.label122.AutoSize = true; this.label122.Location = new System.Drawing.Point(260, 15); this.label122.Name = "label122"; this.label122.Size = new System.Drawing.Size(159, 13); this.label122.TabIndex = 69; this.label122.Text = "You can update left/top position"; // // cbScreenCapture_GrabMouseCursor // this.cbScreenCapture_GrabMouseCursor.AutoSize = true; this.cbScreenCapture_GrabMouseCursor.Location = new System.Drawing.Point(11, 212); this.cbScreenCapture_GrabMouseCursor.Name = "cbScreenCapture_GrabMouseCursor"; this.cbScreenCapture_GrabMouseCursor.Size = new System.Drawing.Size(129, 17); this.cbScreenCapture_GrabMouseCursor.TabIndex = 68; this.cbScreenCapture_GrabMouseCursor.Text = "Capture mouse cursor"; this.cbScreenCapture_GrabMouseCursor.UseVisualStyleBackColor = true; // // label79 // this.label79.AutoSize = true; this.label79.Location = new System.Drawing.Point(129, 154); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(21, 13); this.label79.TabIndex = 67; this.label79.Text = "fps"; // // edScreenFrameRate // this.edScreenFrameRate.Location = new System.Drawing.Point(80, 151); this.edScreenFrameRate.Name = "edScreenFrameRate"; this.edScreenFrameRate.Size = new System.Drawing.Size(44, 20); this.edScreenFrameRate.TabIndex = 66; this.edScreenFrameRate.Text = "5"; // // label43 // this.label43.AutoSize = true; this.label43.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label43.Location = new System.Drawing.Point(8, 154); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(67, 13); this.label43.TabIndex = 65; this.label43.Text = "Frame rate"; // // edScreenBottom // this.edScreenBottom.Location = new System.Drawing.Point(196, 113); this.edScreenBottom.Name = "edScreenBottom"; this.edScreenBottom.Size = new System.Drawing.Size(44, 20); this.edScreenBottom.TabIndex = 64; this.edScreenBottom.Text = "480"; // // label42 // this.label42.AutoSize = true; this.label42.Location = new System.Drawing.Point(153, 116); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(40, 13); this.label42.TabIndex = 63; this.label42.Text = "Bottom"; // // edScreenRight // this.edScreenRight.Location = new System.Drawing.Point(80, 113); this.edScreenRight.Name = "edScreenRight"; this.edScreenRight.Size = new System.Drawing.Size(44, 20); this.edScreenRight.TabIndex = 62; this.edScreenRight.Text = "640"; // // label40 // this.label40.AutoSize = true; this.label40.Location = new System.Drawing.Point(39, 116); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(32, 13); this.label40.TabIndex = 61; this.label40.Text = "Right"; // // edScreenTop // this.edScreenTop.Location = new System.Drawing.Point(196, 73); this.edScreenTop.Name = "edScreenTop"; this.edScreenTop.Size = new System.Drawing.Size(44, 20); this.edScreenTop.TabIndex = 60; this.edScreenTop.Text = "0"; // // label26 // this.label26.AutoSize = true; this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label26.Location = new System.Drawing.Point(153, 76); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(29, 13); this.label26.TabIndex = 59; this.label26.Text = "Top"; // // edScreenLeft // this.edScreenLeft.Location = new System.Drawing.Point(80, 73); this.edScreenLeft.Name = "edScreenLeft"; this.edScreenLeft.Size = new System.Drawing.Size(44, 20); this.edScreenLeft.TabIndex = 58; this.edScreenLeft.Text = "0"; // // label24 // this.label24.AutoSize = true; this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label24.Location = new System.Drawing.Point(39, 76); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(29, 13); this.label24.TabIndex = 57; this.label24.Text = "Left"; // // rbScreenCustomArea // this.rbScreenCustomArea.AutoSize = true; this.rbScreenCustomArea.Location = new System.Drawing.Point(11, 35); this.rbScreenCustomArea.Name = "rbScreenCustomArea"; this.rbScreenCustomArea.Size = new System.Drawing.Size(84, 17); this.rbScreenCustomArea.TabIndex = 56; this.rbScreenCustomArea.Text = "Custom area"; this.rbScreenCustomArea.UseVisualStyleBackColor = true; // // rbScreenFullScreen // this.rbScreenFullScreen.AutoSize = true; this.rbScreenFullScreen.Checked = true; this.rbScreenFullScreen.Location = new System.Drawing.Point(11, 11); this.rbScreenFullScreen.Name = "rbScreenFullScreen"; this.rbScreenFullScreen.Size = new System.Drawing.Size(76, 17); this.rbScreenFullScreen.TabIndex = 55; this.rbScreenFullScreen.TabStop = true; this.rbScreenFullScreen.Text = "Full screen"; this.rbScreenFullScreen.UseVisualStyleBackColor = true; // // tabPage2 // this.tabPage2.Controls.Add(this.btSelectOutput); this.tabPage2.Controls.Add(this.edOutput); this.tabPage2.Controls.Add(this.label9); this.tabPage2.Controls.Add(this.cbCapture); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(431, 263); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Output"; this.tabPage2.UseVisualStyleBackColor = true; // // btSelectOutput // this.btSelectOutput.Location = new System.Drawing.Point(390, 60); this.btSelectOutput.Name = "btSelectOutput"; this.btSelectOutput.Size = new System.Drawing.Size(24, 23); this.btSelectOutput.TabIndex = 44; this.btSelectOutput.Text = "..."; this.btSelectOutput.UseVisualStyleBackColor = true; this.btSelectOutput.Click += new System.EventHandler(this.btSelectOutput_Click); // // edOutput // this.edOutput.Location = new System.Drawing.Point(18, 62); this.edOutput.Name = "edOutput"; this.edOutput.Size = new System.Drawing.Size(366, 20); this.edOutput.TabIndex = 43; this.edOutput.Text = "c:\\capture.avi"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(15, 46); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(52, 13); this.label9.TabIndex = 42; this.label9.Text = "File name"; // // cbCapture // this.cbCapture.AutoSize = true; this.cbCapture.Location = new System.Drawing.Point(18, 18); this.cbCapture.Name = "cbCapture"; this.cbCapture.Size = new System.Drawing.Size(212, 17); this.cbCapture.TabIndex = 0; this.cbCapture.Text = "Capture to MP4 file with default settings"; this.cbCapture.UseVisualStyleBackColor = true; // // tabPage3 // this.tabPage3.Controls.Add(this.cbTelemetry); this.tabPage3.Controls.Add(this.cbDebugMode); this.tabPage3.Controls.Add(this.mmLog); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(431, 263); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Debug/Log"; this.tabPage3.UseVisualStyleBackColor = true; // // cbTelemetry // this.cbTelemetry.AutoSize = true; this.cbTelemetry.Checked = true; this.cbTelemetry.CheckState = System.Windows.Forms.CheckState.Checked; this.cbTelemetry.Location = new System.Drawing.Point(76, 14); this.cbTelemetry.Name = "cbTelemetry"; this.cbTelemetry.Size = new System.Drawing.Size(72, 17); this.cbTelemetry.TabIndex = 81; this.cbTelemetry.Text = "Telemetry"; this.cbTelemetry.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(12, 14); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(58, 17); this.cbDebugMode.TabIndex = 79; this.cbDebugMode.Text = "Debug"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Location = new System.Drawing.Point(12, 37); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(352, 200); this.mmLog.TabIndex = 78; // // btResume // this.btResume.Location = new System.Drawing.Point(335, 307); this.btResume.Name = "btResume"; this.btResume.Size = new System.Drawing.Size(55, 23); this.btResume.TabIndex = 82; this.btResume.Text = "Resume"; this.btResume.UseVisualStyleBackColor = true; this.btResume.Click += new System.EventHandler(this.btResume_Click); // // btPause // this.btPause.Location = new System.Drawing.Point(274, 307); this.btPause.Name = "btPause"; this.btPause.Size = new System.Drawing.Size(55, 23); this.btPause.TabIndex = 81; this.btPause.Text = "Pause"; this.btPause.UseVisualStyleBackColor = true; this.btPause.Click += new System.EventHandler(this.btPause_Click); // // btStop // this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(77, 307); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 80; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(12, 307); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 79; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.CustomRedist_Enabled = false; this.VideoCapture1.CustomRedist_Path = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Debug_Telemetry = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(456, 12); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoPreview; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.OSD_Enabled = false; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = TimeSpan.Zero; this.VideoCapture1.Size = new System.Drawing.Size(478, 312); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 78; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; this.VideoCapture1.Video_Effects_GPU_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 16; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 9; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.EVR; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.EVR; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = true; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = true; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(948, 339); this.Controls.Add(this.tabControl1); this.Controls.Add(this.btResume); this.Controls.Add(this.btPause); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.VideoCapture1); this.Name = "Form1"; this.Text = "Screen Capture Code Snippet"; this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { VisioForge.Types.VideoRendererSettingsWinForms videoRendererSettingsWinForms1 = new VisioForge.Types.VideoRendererSettingsWinForms(); this.VideoCapture1 = new VisioForge.Controls.UI.WinForms.VideoCapture(); this.label2 = new System.Windows.Forms.Label(); this.rbCaptureMP4 = new System.Windows.Forms.RadioButton(); this.rbCaptureAVI = new System.Windows.Forms.RadioButton(); this.rbPreview = new System.Windows.Forms.RadioButton(); this.btStop = new System.Windows.Forms.Button(); this.btStart = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbLicensing = new System.Windows.Forms.CheckBox(); this.cbDebugMode = new System.Windows.Forms.CheckBox(); this.mmLog = new System.Windows.Forms.TextBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btSelectOutputAVI = new System.Windows.Forms.Button(); this.edOutputAVI = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.btAudioSettings = new System.Windows.Forms.Button(); this.btVideoSettings = new System.Windows.Forms.Button(); this.label28 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.cbChannels = new System.Windows.Forms.ComboBox(); this.cbBPS = new System.Windows.Forms.ComboBox(); this.cbAudioCodecs = new System.Windows.Forms.ComboBox(); this.cbSampleRate = new System.Windows.Forms.ComboBox(); this.cbVideoCodecs = new System.Windows.Forms.ComboBox(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.btSelectOutputMP4 = new System.Windows.Forms.Button(); this.edOutputMP4 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.groupBox1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); // // VideoCapture1 // this.VideoCapture1.Additional_Audio_CaptureDevice_MixChannels = false; this.VideoCapture1.Audio_CaptureDevice = ""; this.VideoCapture1.Audio_CaptureDevice_CustomLatency = 0; this.VideoCapture1.Audio_CaptureDevice_Format = ""; this.VideoCapture1.Audio_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Audio_CaptureDevice_Line = ""; this.VideoCapture1.Audio_CaptureDevice_MasterDevice = null; this.VideoCapture1.Audio_CaptureDevice_MasterDevice_Format = null; this.VideoCapture1.Audio_CaptureDevice_Path = null; this.VideoCapture1.Audio_CaptureSourceFilter = null; this.VideoCapture1.Audio_Channel_Mapper = null; this.VideoCapture1.Audio_Decoder = null; this.VideoCapture1.Audio_Effects_Enabled = false; this.VideoCapture1.Audio_Effects_UseLegacyEffects = false; this.VideoCapture1.Audio_Enhancer_Enabled = false; this.VideoCapture1.Audio_OutputDevice = "Default DirectSound Device"; this.VideoCapture1.Audio_PCM_Converter = null; this.VideoCapture1.Audio_PlayAudio = true; this.VideoCapture1.Audio_RecordAudio = true; this.VideoCapture1.Audio_Sample_Grabber_Enabled = false; this.VideoCapture1.Audio_VUMeter_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Enabled = false; this.VideoCapture1.Audio_VUMeter_Pro_Volume = 100; this.VideoCapture1.BackColor = System.Drawing.Color.Black; this.VideoCapture1.Barcode_Reader_Enabled = false; this.VideoCapture1.Barcode_Reader_Type = VisioForge.Types.VFBarcodeType.Auto; this.VideoCapture1.BDA_Source = null; this.VideoCapture1.ChromaKey = null; this.VideoCapture1.Custom_Source = null; this.VideoCapture1.Debug_Dir = ""; this.VideoCapture1.Debug_Mode = false; this.VideoCapture1.Decklink_Input = VisioForge.Types.DecklinkInput.Auto; this.VideoCapture1.Decklink_Input_Capture_Timecode_Source = VisioForge.Types.DecklinkCaptureTimecodeSource.Auto; this.VideoCapture1.Decklink_Input_IREUSA = false; this.VideoCapture1.Decklink_Input_SMPTE = false; this.VideoCapture1.Decklink_Output = null; this.VideoCapture1.Decklink_Source = null; this.VideoCapture1.DirectCapture_Muxer = null; this.VideoCapture1.DV_Decoder_Video_Resolution = VisioForge.Types.VFDVVideoResolution.Full; this.VideoCapture1.Face_Tracking = null; this.VideoCapture1.IP_Camera_Source = null; this.VideoCapture1.Location = new System.Drawing.Point(372, 12); this.VideoCapture1.Mode = VisioForge.Types.VFVideoCaptureMode.VideoCapture; this.VideoCapture1.Motion_Detection = null; this.VideoCapture1.Motion_DetectionEx = null; this.VideoCapture1.MPEG_Audio_Decoder = ""; this.VideoCapture1.MPEG_Demuxer = null; this.VideoCapture1.MPEG_Video_Decoder = ""; this.VideoCapture1.MultiScreen_Enabled = false; this.VideoCapture1.Name = "VideoCapture1"; this.VideoCapture1.Network_Streaming_Audio_Enabled = false; this.VideoCapture1.Network_Streaming_Enabled = false; this.VideoCapture1.Network_Streaming_Format = VisioForge.Types.VFNetworkStreamingFormat.WMV; this.VideoCapture1.Network_Streaming_Network_Port = 100; this.VideoCapture1.Network_Streaming_Output = null; this.VideoCapture1.Network_Streaming_URL = ""; this.VideoCapture1.Network_Streaming_WMV_Maximum_Clients = 10; this.VideoCapture1.Output_Filename = "C:\\Users\\roman\\Documents\\VisioForge\\output.avi"; this.VideoCapture1.Output_Format = null; this.VideoCapture1.PIP_AddSampleGrabbers = false; this.VideoCapture1.PIP_ChromaKeySettings = null; this.VideoCapture1.PIP_Mode = VisioForge.Types.VFPIPMode.Custom; this.VideoCapture1.PIP_ResizeQuality = VisioForge.Types.VFPIPResizeQuality.RQ_NN; this.VideoCapture1.Push_Source = null; this.VideoCapture1.Screen_Capture_Source = null; this.VideoCapture1.SeparateCapture_AutostartCapture = false; this.VideoCapture1.SeparateCapture_Enabled = false; this.VideoCapture1.SeparateCapture_Filename_Mask = "output %yyyy-%MM-%dd %hh-%mm-%ss.%ext"; this.VideoCapture1.SeparateCapture_FileSizeThreshold = ((long)(0)); this.VideoCapture1.SeparateCapture_GMFMode = true; this.VideoCapture1.SeparateCapture_Mode = VisioForge.Types.VFSeparateCaptureMode.Normal; this.VideoCapture1.SeparateCapture_TimeThreshold = ((long)(0)); this.VideoCapture1.Size = new System.Drawing.Size(429, 302); this.VideoCapture1.Start_DelayEnabled = false; this.VideoCapture1.TabIndex = 0; this.VideoCapture1.Tags = null; this.VideoCapture1.Timeshift_Settings = null; this.VideoCapture1.TVTuner_Channel = 0; this.VideoCapture1.TVTuner_Country = ""; this.VideoCapture1.TVTuner_FM_Tuning_StartFrequency = 80000000; this.VideoCapture1.TVTuner_FM_Tuning_Step = 160000000; this.VideoCapture1.TVTuner_FM_Tuning_StopFrequency = 0; this.VideoCapture1.TVTuner_Frequency = 0; this.VideoCapture1.TVTuner_InputType = ""; this.VideoCapture1.TVTuner_Mode = VisioForge.Types.VFTVTunerMode.Default; this.VideoCapture1.TVTuner_Name = ""; this.VideoCapture1.TVTuner_TVFormat = VisioForge.Types.VFTVTunerVideoFormat.PAL_D; this.VideoCapture1.Video_CaptureDevice = ""; this.VideoCapture1.Video_CaptureDevice_Format = ""; this.VideoCapture1.Video_CaptureDevice_Format_UseBest = true; this.VideoCapture1.Video_CaptureDevice_FrameRate = 25D; this.VideoCapture1.Video_CaptureDevice_InternalMPEGEncoder_Name = ""; this.VideoCapture1.Video_CaptureDevice_IsAudioSource = false; this.VideoCapture1.Video_CaptureDevice_Path = null; this.VideoCapture1.Video_CaptureDevice_UseClosedCaptions = false; this.VideoCapture1.Video_CaptureDevice_UseRAWSampleGrabber = false; this.VideoCapture1.Video_Crop = null; this.VideoCapture1.Video_Decoder = null; this.VideoCapture1.Video_Effects_AllowMultipleStreams = false; this.VideoCapture1.Video_Effects_Enabled = false; videoRendererSettingsWinForms1.Aspect_Ratio_Override = false; videoRendererSettingsWinForms1.Aspect_Ratio_X = 0; videoRendererSettingsWinForms1.Aspect_Ratio_Y = 0; videoRendererSettingsWinForms1.BackgroundColor = System.Drawing.Color.Black; // TODO: Code generation for '' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. videoRendererSettingsWinForms1.Deinterlace_EVR_Mode = VisioForge.Types.EVRDeinterlaceMode.Auto; videoRendererSettingsWinForms1.Deinterlace_VMR9_Mode = null; videoRendererSettingsWinForms1.Deinterlace_VMR9_UseDefault = true; videoRendererSettingsWinForms1.Flip_Horizontal = false; videoRendererSettingsWinForms1.Flip_Vertical = false; videoRendererSettingsWinForms1.RotationAngle = 0; videoRendererSettingsWinForms1.StretchMode = VisioForge.Types.VFVideoRendererStretchMode.Letterbox; videoRendererSettingsWinForms1.Video_Renderer = VisioForge.Types.VFVideoRenderer.VideoRenderer; videoRendererSettingsWinForms1.VideoRendererInternal = VisioForge.Types.VFVideoRendererInternal.VideoRenderer; videoRendererSettingsWinForms1.Zoom_Ratio = 0; videoRendererSettingsWinForms1.Zoom_ShiftX = 0; videoRendererSettingsWinForms1.Zoom_ShiftY = 0; this.VideoCapture1.Video_Renderer = videoRendererSettingsWinForms1; this.VideoCapture1.Video_Resize = null; this.VideoCapture1.Video_ResizeOrCrop_Enabled = false; this.VideoCapture1.Video_Rotation = VisioForge.Types.VFRotateMode.RotateNone; this.VideoCapture1.Video_Sample_Grabber_Enabled = false; this.VideoCapture1.Video_Sample_Grabber_UseForVideoEffects = false; this.VideoCapture1.Video_Still_Frames_Grabber_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_Enabled = false; this.VideoCapture1.Virtual_Camera_Output_LicenseKey = null; this.VideoCapture1.VLC_Path = null; this.VideoCapture1.OnError += new System.EventHandler <VisioForge.Types.ErrorsEventArgs>(this.VideoCapture1_OnError); this.VideoCapture1.OnLicenseRequired += new System.EventHandler <VisioForge.Types.LicenseEventArgs>(this.VideoCapture1_OnLicenseRequired); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(467, 317); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(214, 13); this.label2.TabIndex = 103; this.label2.Text = "Much more features available in Main Demo"; // // rbCaptureMP4 // this.rbCaptureMP4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.rbCaptureMP4.AutoSize = true; this.rbCaptureMP4.Location = new System.Drawing.Point(541, 346); this.rbCaptureMP4.Name = "rbCaptureMP4"; this.rbCaptureMP4.Size = new System.Drawing.Size(99, 17); this.rbCaptureMP4.TabIndex = 102; this.rbCaptureMP4.Text = "Capture to MP4"; this.rbCaptureMP4.UseVisualStyleBackColor = true; // // rbCaptureAVI // this.rbCaptureAVI.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.rbCaptureAVI.AutoSize = true; this.rbCaptureAVI.Location = new System.Drawing.Point(441, 346); this.rbCaptureAVI.Name = "rbCaptureAVI"; this.rbCaptureAVI.Size = new System.Drawing.Size(94, 17); this.rbCaptureAVI.TabIndex = 101; this.rbCaptureAVI.Text = "Capture to AVI"; this.rbCaptureAVI.UseVisualStyleBackColor = true; // // rbPreview // this.rbPreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.rbPreview.AutoSize = true; this.rbPreview.Checked = true; this.rbPreview.Location = new System.Drawing.Point(372, 346); this.rbPreview.Name = "rbPreview"; this.rbPreview.Size = new System.Drawing.Size(63, 17); this.rbPreview.TabIndex = 100; this.rbPreview.TabStop = true; this.rbPreview.Text = "Preview"; this.rbPreview.UseVisualStyleBackColor = true; // // btStop // this.btStop.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.btStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStop.Location = new System.Drawing.Point(739, 343); this.btStop.Name = "btStop"; this.btStop.Size = new System.Drawing.Size(62, 23); this.btStop.TabIndex = 99; this.btStop.Text = "Stop"; this.btStop.UseVisualStyleBackColor = true; this.btStop.Click += new System.EventHandler(this.btStop_Click); // // btStart // this.btStart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.btStart.Location = new System.Drawing.Point(674, 343); this.btStart.Name = "btStart"; this.btStart.Size = new System.Drawing.Size(62, 23); this.btStart.TabIndex = 98; this.btStart.Text = "Start"; this.btStart.UseVisualStyleBackColor = true; this.btStart.Click += new System.EventHandler(this.btStart_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.BackColor = System.Drawing.SystemColors.Window; this.groupBox1.Controls.Add(this.cbLicensing); this.groupBox1.Controls.Add(this.cbDebugMode); this.groupBox1.Controls.Add(this.mmLog); this.groupBox1.Location = new System.Drawing.Point(12, 294); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(350, 72); this.groupBox1.TabIndex = 97; this.groupBox1.TabStop = false; this.groupBox1.Text = "Errors/Warnings"; // // cbLicensing // this.cbLicensing.AutoSize = true; this.cbLicensing.Location = new System.Drawing.Point(160, 12); this.cbLicensing.Name = "cbLicensing"; this.cbLicensing.Size = new System.Drawing.Size(91, 17); this.cbLicensing.TabIndex = 76; this.cbLicensing.Text = "Licensing info"; this.cbLicensing.UseVisualStyleBackColor = true; // // cbDebugMode // this.cbDebugMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbDebugMode.AutoSize = true; this.cbDebugMode.Location = new System.Drawing.Point(257, 12); this.cbDebugMode.Name = "cbDebugMode"; this.cbDebugMode.Size = new System.Drawing.Size(87, 17); this.cbDebugMode.TabIndex = 75; this.cbDebugMode.Text = "Debug mode"; this.cbDebugMode.UseVisualStyleBackColor = true; // // mmLog // this.mmLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.mmLog.Location = new System.Drawing.Point(6, 35); this.mmLog.Multiline = true; this.mmLog.Name = "mmLog"; this.mmLog.Size = new System.Drawing.Size(338, 31); this.mmLog.TabIndex = 74; // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(12, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(354, 276); this.tabControl1.TabIndex = 96; // // tabPage1 // this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(346, 250); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Input"; this.tabPage1.UseVisualStyleBackColor = true; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(19, 39); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(123, 13); this.label4.TabIndex = 1; this.label4.Text = ".Net Bitmap class frames"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(19, 17); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(319, 13); this.label3.TabIndex = 0; this.label3.Text = "Sample images used in this demo. In real application you can push"; // // tabPage2 // this.tabPage2.Controls.Add(this.btSelectOutputAVI); this.tabPage2.Controls.Add(this.edOutputAVI); this.tabPage2.Controls.Add(this.label9); this.tabPage2.Controls.Add(this.label27); this.tabPage2.Controls.Add(this.btAudioSettings); this.tabPage2.Controls.Add(this.btVideoSettings); this.tabPage2.Controls.Add(this.label28); this.tabPage2.Controls.Add(this.label29); this.tabPage2.Controls.Add(this.label30); this.tabPage2.Controls.Add(this.label31); this.tabPage2.Controls.Add(this.cbChannels); this.tabPage2.Controls.Add(this.cbBPS); this.tabPage2.Controls.Add(this.cbAudioCodecs); this.tabPage2.Controls.Add(this.cbSampleRate); this.tabPage2.Controls.Add(this.cbVideoCodecs); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(346, 250); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "AVI output"; this.tabPage2.UseVisualStyleBackColor = true; // // btSelectOutputAVI // this.btSelectOutputAVI.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btSelectOutputAVI.Location = new System.Drawing.Point(320, 7); this.btSelectOutputAVI.Name = "btSelectOutputAVI"; this.btSelectOutputAVI.Size = new System.Drawing.Size(20, 23); this.btSelectOutputAVI.TabIndex = 47; this.btSelectOutputAVI.Text = "..."; this.btSelectOutputAVI.UseVisualStyleBackColor = true; this.btSelectOutputAVI.Click += new System.EventHandler(this.btSelectOutputAVI_Click); // // edOutputAVI // this.edOutputAVI.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.edOutputAVI.Location = new System.Drawing.Point(63, 9); this.edOutputAVI.Name = "edOutputAVI"; this.edOutputAVI.Size = new System.Drawing.Size(247, 20); this.edOutputAVI.TabIndex = 46; this.edOutputAVI.Text = "c:\\capture.avi"; // // label9 // this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(6, 12); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(52, 13); this.label9.TabIndex = 45; this.label9.Text = "File name"; // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(6, 71); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(67, 13); this.label27.TabIndex = 39; this.label27.Text = "Audio codec"; // // btAudioSettings // this.btAudioSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btAudioSettings.Location = new System.Drawing.Point(276, 66); this.btAudioSettings.Name = "btAudioSettings"; this.btAudioSettings.Size = new System.Drawing.Size(64, 23); this.btAudioSettings.TabIndex = 38; this.btAudioSettings.Text = "Settings"; this.btAudioSettings.UseVisualStyleBackColor = true; this.btAudioSettings.Click += new System.EventHandler(this.btAudioSettings_Click); // // btVideoSettings // this.btVideoSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btVideoSettings.Location = new System.Drawing.Point(276, 39); this.btVideoSettings.Name = "btVideoSettings"; this.btVideoSettings.Size = new System.Drawing.Size(64, 23); this.btVideoSettings.TabIndex = 37; this.btVideoSettings.Text = "Settings"; this.btVideoSettings.UseVisualStyleBackColor = true; this.btVideoSettings.Click += new System.EventHandler(this.btVideoSettings_Click); // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(21, 125); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(63, 13); this.label28.TabIndex = 36; this.label28.Text = "Sample rate"; // // label29 // this.label29.AutoSize = true; this.label29.Location = new System.Drawing.Point(173, 98); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(28, 13); this.label29.TabIndex = 35; this.label29.Text = "BPS"; // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(21, 98); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(51, 13); this.label30.TabIndex = 34; this.label30.Text = "Channels"; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(6, 44); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(67, 13); this.label31.TabIndex = 33; this.label31.Text = "Video codec"; // // cbChannels // this.cbChannels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbChannels.FormattingEnabled = true; this.cbChannels.Items.AddRange(new object[] { "1", "2" }); this.cbChannels.Location = new System.Drawing.Point(98, 95); this.cbChannels.Name = "cbChannels"; this.cbChannels.Size = new System.Drawing.Size(65, 21); this.cbChannels.TabIndex = 32; // // cbBPS // this.cbBPS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbBPS.FormattingEnabled = true; this.cbBPS.Items.AddRange(new object[] { "8", "16" }); this.cbBPS.Location = new System.Drawing.Point(207, 95); this.cbBPS.Name = "cbBPS"; this.cbBPS.Size = new System.Drawing.Size(67, 21); this.cbBPS.TabIndex = 31; // // cbAudioCodecs // this.cbAudioCodecs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cbAudioCodecs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbAudioCodecs.FormattingEnabled = true; this.cbAudioCodecs.Location = new System.Drawing.Point(98, 68); this.cbAudioCodecs.Name = "cbAudioCodecs"; this.cbAudioCodecs.Size = new System.Drawing.Size(172, 21); this.cbAudioCodecs.TabIndex = 30; this.cbAudioCodecs.SelectedIndexChanged += new System.EventHandler(this.cbAudioCodecs_SelectedIndexChanged); // // cbSampleRate // this.cbSampleRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSampleRate.FormattingEnabled = true; this.cbSampleRate.Items.AddRange(new object[] { "48000", "44100", "32000", "24000", "22050", "16000", "12000", "11025", "8000" }); this.cbSampleRate.Location = new System.Drawing.Point(98, 122); this.cbSampleRate.Name = "cbSampleRate"; this.cbSampleRate.Size = new System.Drawing.Size(65, 21); this.cbSampleRate.TabIndex = 29; // // cbVideoCodecs // this.cbVideoCodecs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cbVideoCodecs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbVideoCodecs.FormattingEnabled = true; this.cbVideoCodecs.Location = new System.Drawing.Point(98, 41); this.cbVideoCodecs.Name = "cbVideoCodecs"; this.cbVideoCodecs.Size = new System.Drawing.Size(172, 21); this.cbVideoCodecs.TabIndex = 28; this.cbVideoCodecs.SelectedIndexChanged += new System.EventHandler(this.cbVideoCodecs_SelectedIndexChanged); // // tabPage3 // this.tabPage3.Controls.Add(this.label5); this.tabPage3.Controls.Add(this.label6); this.tabPage3.Controls.Add(this.btSelectOutputMP4); this.tabPage3.Controls.Add(this.edOutputMP4); this.tabPage3.Controls.Add(this.label1); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(346, 250); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "MP4 output"; this.tabPage3.UseVisualStyleBackColor = true; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(12, 65); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(322, 13); this.label5.TabIndex = 55; this.label5.Text = "Supported GPUs - Intel, nVidia and AMD. H264 and H265 codecs."; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(12, 52); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(303, 13); this.label6.TabIndex = 54; this.label6.Text = "Please use Main Demo to configure CPU encoder or use GPU."; // // btSelectOutputMP4 // this.btSelectOutputMP4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btSelectOutputMP4.Location = new System.Drawing.Point(306, 13); this.btSelectOutputMP4.Name = "btSelectOutputMP4"; this.btSelectOutputMP4.Size = new System.Drawing.Size(20, 23); this.btSelectOutputMP4.TabIndex = 53; this.btSelectOutputMP4.Text = "..."; this.btSelectOutputMP4.UseVisualStyleBackColor = true; this.btSelectOutputMP4.Click += new System.EventHandler(this.btSelectOutputMP4_Click); // // edOutputMP4 // this.edOutputMP4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.edOutputMP4.Location = new System.Drawing.Point(69, 15); this.edOutputMP4.Name = "edOutputMP4"; this.edOutputMP4.Size = new System.Drawing.Size(227, 20); this.edOutputMP4.TabIndex = 52; this.edOutputMP4.Text = "c:\\capture.mp4"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(52, 13); this.label1.TabIndex = 51; this.label1.Text = "File name"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(810, 380); this.Controls.Add(this.label2); this.Controls.Add(this.rbCaptureMP4); this.Controls.Add(this.rbCaptureAVI); this.Controls.Add(this.rbPreview); this.Controls.Add(this.btStop); this.Controls.Add(this.btStart); this.Controls.Add(this.groupBox1); this.Controls.Add(this.tabControl1); this.Controls.Add(this.VideoCapture1); this.Name = "Form1"; this.Text = "VisioForge Video Capture SDK .Net Push Source Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }