Esempio n. 1
0
        private void btnMp4Mux_Click(object sender, EventArgs e)
        {
            string filename      = txtmp4video.Text;
            string audiofilename = txtmp4audio.Text;

            Task.Factory.StartNew(() =>
            {
                string dir  = Path.GetDirectoryName(filename);
                string name = Path.GetFileNameWithoutExtension(filename);
                Mp4boxCommand.Mp4boxMux(filename, audiofilename, FileUtility.GetNoSameNameFile(Path.Combine(dir, name + ".mp4")));
            });
        }
Esempio n. 2
0
 private void btnmp4extract_Click(object sender, EventArgs e)
 {
     Mp4boxCommand.Extract(txtfilemp4.Text, txtmp4trackid.Text);
 }