public void AgregarMarcaAguaVideo()
        {                  
            var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
            var variable = "C:\\marcaAgua.jpg";

            ffMpeg.Invoke("-i " + Config.VideoUrl + "\\" + SelectedGrabacion.Nombre + "_" + DateTime.Now.ToString("yyyy_dd_MM") + ".avi " + "-i " + variable + " -filter_complex \"overlay=400:330\" -codec:a copy " + Config.VideoUrl + "\\" + SelectedGrabacion.Nombre + "_" + DateTime.Now.ToString("yyyy_dd_MM") + "c.avi");
            System.IO.File.Delete(Config.VideoUrl + "\\" + SelectedGrabacion.Nombre + "_" + DateTime.Now.ToString("yyyy_dd_MM") + ".avi ");


            var pathVideoSource = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
            pathVideoSource += "\\" + Config.NombreVideo + ".avi";

            dt.Stop();
            //dt.Dispatcher.InvokeShutdown();


            CurrentWindow.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal,
            new Action(
            delegate()
            {

                TextTimer = "";
                TextBtnGrabar = "Grabar";
                ColorBtnGrabar = new SolidColorBrush(Colors.Blue);
                this.InitializeVm();
                CurrentWindow.Hide();
                ConfigDatosPersona config = new ConfigDatosPersona(this.CurrentWindow,SelectedVideo, SelectedAudio, SelectedGrabacion);
                config.ShowDialog();

            }));
                       
            

        }