FLVTool is a great utility to setting meta information to normal flv videos.
Our asp.net encoding utility
media handler pro uses flvtool to adding meta information to flv videos.
Such information is needed by player to stream and play videos properly and calculte how much video streamed and remained.
Video processed and encode using
ffmpeg or other utility will not add meta information by default. You must add it manually using flvtool or other utility after finishing flv video encoding.
Sample code for adding meta information to flv video using asp.net, c# and vb.net.
_mhandler.FLVToolPath = HttpContext.Current.Server.MapPath("~\\flvtool\\flvtool2.exe");
_mhandler.FileName = "sample.flv";
_mhandler.InputPath = RootPath + "\\contents\\flv";
_mhandler.Set_Buffering();