0
저는 여기에서 새로 왔습니다. 시작 위치와 끝 위치를 지정하여 미디어 파일을 분할 할 수있는 응용 프로그램을 만들고 있습니다. 내가 어떻게 할 수 있니? 나는 C# 언어를 사용한다. 제 영어 실력이 좋지 않습니다. 죄송합니다.미디어 파일을 분할하는 방법
감사합니다.
저는 여기에서 새로 왔습니다. 시작 위치와 끝 위치를 지정하여 미디어 파일을 분할 할 수있는 응용 프로그램을 만들고 있습니다. 내가 어떻게 할 수 있니? 나는 C# 언어를 사용한다. 제 영어 실력이 좋지 않습니다. 죄송합니다.미디어 파일을 분할하는 방법
감사합니다.
쉘 프로세스를 통해 ffmpeg를 사용해보십시오.
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = ffmpegPath.FullName;
p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
p.StartInfo.Arguments = "some ffmpeg commands here";
try {
p.Start();
} catch (Exception ex) {
' trap error
}
String out = p.StandardError;