Web ホスト サーバーでビデオ プロセスを実行したいと考えています。セキュリティ上の理由から、Web ホスト サーバーで exe ファイルを実行できないと思います。
SharpFFMpeg を使用する必要がありますか?
SharpFFMpeg をダウンロードしました。しかし、適切なドキュメントがありません。
あるビデオ形式から別のビデオ形式への変換を実行する方法を 1 つの例を挙げることができますか?
実行プログラムを作成しましたが、指定されたファイルをファイリングできないとコンパイラーが言います。どうしたの?
string command = @"D:\Recorded TV\ffmpeg.exe -i ""Australia's Toughest Police_QUEST_2013_04_17_21_57_00.wtv"" -s 800x400 throughCS.mp4";
try
{
ProcessStartInfo psi = new ProcessStartInfo("\"" + command + "\"");
psi.RedirectStandardOutput = true;
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
Process proc = new Process();
proc.StartInfo = psi;
proc.Start();
string result = proc.StandardOutput.ReadToEnd();
tb1.Text = result;
Debug.WriteLine(result);
}