I am trying to convert any video to flv format.the tool i got ffmpeg is converting the files to flv but that converted files are not playing with the flv player and are still playing with old windows media player so i think it only changing the extension to flv can anybody help me. here is my code.
Media_handler _mediahandler = new Media_handler();
string RootPath = Server.MapPath(Request.ApplicationPath);
string InputPath = RootPath + "/UploadedFiles/Default";
string OutputPath = RootPath + "/UploadedFiles/FLV";
string ThumbPath = RootPath + "/UploadedFiles/Thumbs";
string _ffmpegpath = HttpContext.Current.Server.MapPath("~/ffmpeg/ffmpeg.exe");
string filename = filename1;
outfile = _mediahandler.Convert_Media(filename, _ffmpegpath, InputPath, OutputPath, "320", 240, 32, true);