Friday, March 21, 2008

FFMPEG 實戰攻略 FFMPEG



在研究過FFMPEG過後,之後就是實戰了.
在Google上搜尋,相關的資料實在少之又少.
要用C#去取在console中的運作的方法有兩個
1.改寫FFMPEG的程式
2.用Process去取FFMPEG的資訊
由於時間比較少的情況下,就只好用2的方法.
因FYP就不是只有這方面的研究.

用Process的方法是快而且比較簡易
要註意的是: ffmpeg出的方式係以StandardError
而且危險的係如果輸出的Message係少左的.
程式本身就會變得唔完整.
所以要令程式運行99.9%成功的.
就要在check 輸入的變數上花一些功夫.

在此後,就要開始研究關於上載Video至Server的問題!!!
P.S. : 因要加速開發速度,故英文版會以google作翻譯.其後,會作修正!!!

After having studied FFMPEG, followed by live combat.
On Google search, the relevant information is scanty.
using C# to get the infomation in the console program in two ways:
1. Rewrite the FFMPEG program
2. FFMPEG fetch information by using Process
Because of the lack of time, I just use the method 2.
FYP is not only research in this area.
Process method is faster and simpler.
It should be noted that: The output of ffmpeg is using StandardError.
And it is dangerous if the output of the Message is not find.
the program will become incomplete.
So to make programs run 99.9% successful,
It is necessary to check the input variables in spending some effort.
In the following, to begin research on upload Video to Server Problem!

PS: Due to accelerate the speed of development, the English translation will be made by google.Subsequently, the amendment will be made.

0 回覆 comments:

 
Copyright ©2008-2009 SiriusResource. SiriusResource is Powered by Blogger