Setting Meta Information for FLV videos.

You can setup Meta Information for FLV Videos using Media Handler Pro. These meta information is used by flash players to calculate various properties of flash flv video that help players to perform fast forward, rewind and other operations.

Sample code: C#

Sample code for setting meta-information for Flash FLV Video using Media Handler Pro.

MediaHandler _mhandler = new MediaHandler();

string RootPath = Server.MapPath(Request.ApplicationPath);

// set required parameters

_mhandler.FLVToolPath = HttpContext.Current.Server.MapPath("~\\flvtool\flvtool2.exe");
_mhandler.InputPath = RootPath + "\\contents\\flv";
_mhandler.FileName = "sample.mp4";

// start spliting video in six equal parts.

string output = _mhandler.Set_Buffering();
// possible error codes returned if setting meta information failed.

// Error Code: 113, 117. more detail.

© 2007 - 2013, mediasoftpro.com  | Site Map | Privacy Policy | Terms of Use