[1] Reference the FlvConverter.dll to your asp.net project
[2] Add "ideaBubbling.FlvConverter" namespace in your .cs file
[3] "FlvConvertorWebClient" class has 3 static methods to accomplish the flv
conversion. They are
(i) ConvertAsFlv method is used to start the flv conversion asynchronously.
FlvConvertorWebClient.ConvertAsFlv(page, ffmpegPath, uploadedFilePath,
flvFilePath)
page: page class instance
ffmpegPath: the path of the ffmpeg tool
uploadedFilePath: the path of the file that have to be converted.
flvFilepath: the converted flv file name.
(ii) FlvConvertorWebClient.GetFlvConvertionStatus method is used to check the
flv conversion status, if it is completed or not.
FlvConvertorWebClient.GetFlvConvertionStatus(page)
page: page class instance
(iii) FlvConvertorWebClient.GetFlvConvertionErrorMsg method is used to get the
error message if the FlvConvertorWebClient.GetFlvConvertionStatus(page) is
failed.
FlvConvertorWebClient.GetFlvConvertionErrorMsg(page)
page: page class instance
FlvConverterUtility is a wrapper class of ffmpeg tool that actually performs the
task.The FlvConverterWebClient class provides extra layer for
FlvConverterUtility class which enables us to use in web applications. If you
want to use this in your windows service/apps, you have to write a
FlvConverterWinClient class.
Its used a "mediaplayer.swf" flv-player to play flv video. You can get it at
jeroenwijering web site
For more info: please have a look at the test applicaiton.