Click here to Skip to main content
16,004,887 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAsynchronous Process throuch Oledb Argent................................. Pin
sri_ashutosh30-Jun-08 0:56
sri_ashutosh30-Jun-08 0:56 
AnswerRe: Asynchronous Process throuch Oledb Argent................................. Pin
eyeseetee30-Jun-08 1:03
eyeseetee30-Jun-08 1:03 
GeneralRe: Asynchronous Process throuch Oledb Argent................................. Pin
sri_ashutosh30-Jun-08 2:21
sri_ashutosh30-Jun-08 2:21 
GeneralRe: Asynchronous Process throuch Oledb Argent................................. Pin
eyeseetee30-Jun-08 2:43
eyeseetee30-Jun-08 2:43 
Questionselected row of RadGrid Pin
madhavi.kona30-Jun-08 0:30
madhavi.kona30-Jun-08 0:30 
AnswerRe: selected row of RadGrid Pin
Herman<T>.Instance30-Jun-08 21:55
Herman<T>.Instance30-Jun-08 21:55 
QuestionRe: selected row of RadGrid Pin
prasanthikushal13-Oct-10 16:29
prasanthikushal13-Oct-10 16:29 
QuestionConvert .3gp to .flv Pin
nithydurai30-Jun-08 0:07
nithydurai30-Jun-08 0:07 
i am trying to convert any video file into .flv format. .avi,.wmv,.mpeg also convert successfully but .3gp not convert to .flv format. i will get zero bytes.. pls help me


Process ffmpeg; // creating process
string video;
string mpg;
video = HttpContext.Current.Server.MapPath("inputfolder\\uploads\\" + FileUpload1.FileName); // setting video input name with path
mpg = Page.MapPath("") + "\\video.flv"; // thumb name with path !
ffmpeg = new Process();



ffmpeg.StartInfo.Arguments = " -i " + video + "-s 480*360 -deinterlace -ab 32 -r 15 -ar 22050 -ac 1 " + mpg; // arguments !
ffmpeg.StartInfo.FileName = Page.MapPath("ffmpeg\\ffmpeg.exe");

ffmpeg.Start(); // start !
ffmpeg.WaitForExit();
ffmpeg.Close();

string AppPath = Request.PhysicalApplicationPath; //This is the path of your application
//string inputPath = AppPath + "ffmpeg\\myVideo.wmv"; //Source Video Path
string inputPath = AppPath + "inputfolder\\uploads\\video.flv";
inputPath = FileUpload1.PostedFile.FileName;
FileUpload1.SaveAs(MapPath("inputfolder/" + FileUpload1.FileName));

string outputPath = AppPath + "outputfolder\\" + FileUpload1.FileName.Split('.')[0] + ".flv"; //Destination Video Path
string fileargs = " -i ";
fileargs += "\"" + inputPath + "\"";
fileargs += " \"" + outputPath + "\""; //Command Line

Process proc = new Process();
proc.StartInfo.FileName = AppPath + "ffmpeg\\ffmpeg.exe"; //Path of FFMPEG
proc.StartInfo.Arguments = fileargs;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardOutput = true; ;
proc.StartInfo.RedirectStandardError = true;
proc.Start();
System.Threading.Thread.Sleep(1000);
string strErr = proc.StandardError.ReadToEnd();
proc.WaitForExit();
AnswerRe: Repeat Post Pin
eyeseetee30-Jun-08 0:09
eyeseetee30-Jun-08 0:09 
GeneralRe: Repeat Post Pin
nithydurai30-Jun-08 1:02
nithydurai30-Jun-08 1:02 
Questiongrid column width? Pin
Member 387988129-Jun-08 23:31
Member 387988129-Jun-08 23:31 
AnswerRe: grid column width? Pin
Christian Graus29-Jun-08 23:45
protectorChristian Graus29-Jun-08 23:45 
GeneralRe: grid column width? Pin
Member 387988129-Jun-08 23:48
Member 387988129-Jun-08 23:48 
AnswerRe: grid column width? Pin
eyeseetee30-Jun-08 0:06
eyeseetee30-Jun-08 0:06 
GeneralRe: grid column width? Pin
Member 387988130-Jun-08 0:43
Member 387988130-Jun-08 0:43 
QuestionHow is access the resource items in a Web Application (VS 2008)? Pin
Venkatesh Mookkan29-Jun-08 23:15
Venkatesh Mookkan29-Jun-08 23:15 
AnswerRe: How is access the resource items in a Web Application (VS 2008)? Pin
Venkatesh Mookkan29-Jun-08 23:35
Venkatesh Mookkan29-Jun-08 23:35 
Questionred color for particular item in DataRow Pin
trilokharry29-Jun-08 23:10
trilokharry29-Jun-08 23:10 
AnswerRe: red color for particular item in DataRow Pin
Christian Graus29-Jun-08 23:19
protectorChristian Graus29-Jun-08 23:19 
GeneralRe: red color for particular item in DataRow Pin
trilokharry29-Jun-08 23:33
trilokharry29-Jun-08 23:33 
GeneralRe: red color for particular item in DataRow Pin
Christian Graus29-Jun-08 23:44
protectorChristian Graus29-Jun-08 23:44 
GeneralRe: red color for particular item in DataRow Pin
trilokharry29-Jun-08 23:56
trilokharry29-Jun-08 23:56 
QuestionMERGE()?????????? Pin
Karan_TN29-Jun-08 22:32
Karan_TN29-Jun-08 22:32 
AnswerRe: MERGE()?????????? Pin
Christian Graus29-Jun-08 22:36
protectorChristian Graus29-Jun-08 22:36 
QuestionHow to get the IP number ?? Pin
MehmetFurkan29-Jun-08 21:47
MehmetFurkan29-Jun-08 21:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.