Hi hab da ein kleines Problem möchte ein Video Konvertieren mit der ffmpeg.exe
das klappt auch
so ist der Code im moment
string dir = "C:\\Users\\DEX\\Desktop\\FFmpeg-0.6-svn-23607\\bin\\";
string datei = dir + "ffmpeg.exe";
string args = "-i " + dir + "video.mp4 -b 500kb -ab 128k -y " + dir + "video.avi";
Process convert = new Process();
convert.StartInfo.RedirectStandardOutput = true;
convert.StartInfo.UseShellExecute = false;
//convert.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
//convert.StartInfo.CreateNoWindow = true;
convert.StartInfo.FileName = datei;
convert.StartInfo.Arguments = args;
convert.Start();
textBox1.Text = convert.StandardOutput.ReadLine();
convert.WaitForExit();
ich möchte jetzt den Inhalt der Konsolenanwendung auslesen wie zusehen ist in der textBox1
um später eine progressBar zu nutzen
wenn RedirectStandardOutput an ist bleibt die Konsole und die textBox leer
außerdem bleibt die Form bis die Umwandelung des Videos fertig ist hängen
ist RedirectStandardOutput aus so geht die Konsole aber die textBox bleibt leer
kann mir einer bei diesem Problem helfen
oder kennt jemand eine bessere Möglichkeit flv zu avi/mp4/mp3/wmv mp4 zu avi/mp3/wmv umzuwandeln?