public FormMediaSplit()
 {
     InitializeComponent();
     txtSplitpoints.Text = "0:40" + Utils.NL + "1:30";
     _runner             = new RunToolHelper(txtStatus, lblShortStatus,
                                             FormAudioFromVideo.GetFfmpegStdoutFilter());
 }
Пример #2
0
        public FormMediaJoin(bool showCustom = false)
        {
            InitializeComponent();
            txtInput.Text      = "";
            txtInput.Enabled   = false;
            txtInput.BackColor = SystemColors.Control;
            _runner            = new RunToolHelper(this.txtStatus, this.lblShortStatus,
                                                   FormAudioFromVideo.GetFfmpegStdoutFilter());
            if (showCustom)
            {
                this.Text                   = "Encode audio or video...";
                this.label2.Text            = "Choose some input files...";
                this.label1.Visible         = false;
                this.tbOutputFormat.Visible = false;
            }

            this.btnJoin.Visible            = !showCustom;
            this.btnMakeAudioLouder.Visible = showCustom;
            this.btnMakeAudioLouder.Visible = showCustom;
        }
Пример #3
0
 private void mnuOpenFormAudioFromVideo_Click(object sender, EventArgs e)
 {
     using (Form form = new FormAudioFromVideo())
         form.ShowDialog(this);
 }