Subscribe Newsletter

Your Name  : 
Email Address *  : 
  • PNR Enquiry: Google SMS is a good way but besides it you can also check the PNR...
  • ???????: Thanks a lot, I have same problem and think how to solve it all day,...
  • Union Budget 2013-2014: Nice service by Indian Railways.
  • Railway Budget 2013: It is nice service of Google SMS by Indian Railway.
  • wordpress – widgets – plugin 2012: For more information see:...
  • PNR Status: thank you for the info
  • louisg: Thank you Bala Krishna, that’s very nice. Thanks for the SEO plug as...
  • Sandeep Beniwal: Hi, I want to convert video into .flv/.swf using asp.net...
  • Barun Roy Choudhury: Please send me swift code for IOB Santoshpur branch Kolkata...
  • Daniel: Hi, I followed the steps in the article and it gives me an error: Unknown...
  • amarana mohanarao: hello sir iam mohan plz send me STATEBANK OF INDIA [kotturu]...
  • Irina: Hi! Thank you for the article, really nice, but I have some more question...
  • s khaja mynuddin: hello i have forgotten my profile password can i send the filled...
  • Archives

  • Blog Stats

How to run FFMPEG command in Asp.Net

To run ffmpeg commands in asp.net you need to use Media Handler class. Here is an example how to use media handler class to run ffmpeg commands.

//Create media handler object of Media_handler class

Media_handler mymediahandler=new Media_handler();

// Get web site application path

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

//Get ffmpeg.exe full path from mapping

string ffmpeg_path=HttpContext.Current.Server.MapPath(“ffmpeg.exe”);

//Run FFMPEG command by calling Execute_FFMPEG function of Media_handler class

mymediahandler.Execute_FFMPEG(ffmpeg_path, “-i c:\\clock.avi -vcodec mp3 c:\\clock.flv”);


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

6 Responses to “How to run FFMPEG command in Asp.Net”

  1. Hello,

    I am using trial version of MediaHander to Convert movie file into FLV for web site in asp.net and C#. But the problem is only a few part of original movie converted into FLV. What will the reason ? Is this beacaus of Trai version of MediaHandler?

  2. Hi, I am not sure but this may be a case. Check MediaHandler documentation to confirm trial version limitation..

  3. Jaimin Patel Says:

    Hi,
    We are not able to convert 3gp,rm and dat files to flv.

  4. Hi,
    i am not geeting the execute command fuction in media handler class…………

  5. which is freeware is used for ffmpeg and is it based on the FFMPEG encoder (normally it is used to create .flv files from .avi or .mpg, but it can do the reverse too)?

  6. Sandeep Beniwal Says:

    Hi,

    I want to convert video into .flv/.swf using asp.net 3.5.Please provide me full code because i am ne in asp.net 3.5.

Leave a Reply