Click here to Skip to main content
15,894,540 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionReturning selected row of a gridview Pin
madhavi.kona19-Jun-08 1:09
madhavi.kona19-Jun-08 1:09 
AnswerRe: Returning selected row of a gridview Pin
Sam Xavier19-Jun-08 6:38
Sam Xavier19-Jun-08 6:38 
QuestionAvoid Flickering in asp.net web appllication in NON-IE browsers Pin
pavankumarchakilam19-Jun-08 1:03
pavankumarchakilam19-Jun-08 1:03 
Questionclassic asp coading Pin
krishnaveer19-Jun-08 0:48
krishnaveer19-Jun-08 0:48 
AnswerRe: classic asp coading Pin
pavankumarchakilam19-Jun-08 1:18
pavankumarchakilam19-Jun-08 1:18 
GeneralRe: classic asp coading Pin
krishnaveer19-Jun-08 1:25
krishnaveer19-Jun-08 1:25 
GeneralRe: classic asp coading [modified] Pin
pavankumarchakilam19-Jun-08 1:42
pavankumarchakilam19-Jun-08 1:42 
Questionconvert .avi to .flv Pin
nithydurai19-Jun-08 0:43
nithydurai19-Jun-08 0:43 
I want to convert video files ito FLV files it works but when the size of video file is more than 200kb its wont work whats the reason give some idea about that Code is given below

Process ffmpeg; // creating process
string video;
string mpg;
video = HttpContext.Current.Server.MapPath("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.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 = FileUpload1.PostedFile.FileName;
FileUpload1.SaveAs(MapPath("image/" + 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.Start();
System.Threading.Thread.Sleep(1000);
string strErr = proc.StandardError.ReadToEnd();
proc.WaitForExit();
string output = proc.StandardOutput.ReadToEnd();
AnswerRe: convert .avi to .flv Pin
Ashfield19-Jun-08 1:28
Ashfield19-Jun-08 1:28 
Questionfile size validation in client side ? Pin
Masood Kochi,SSF19-Jun-08 0:39
Masood Kochi,SSF19-Jun-08 0:39 
AnswerRe: file size validation in client side ? Pin
N a v a n e e t h19-Jun-08 1:26
N a v a n e e t h19-Jun-08 1:26 
QuestionSecurity Exception Pin
nithydurai19-Jun-08 0:30
nithydurai19-Jun-08 0:30 
AnswerRe: Security Exception Pin
SomeGuyThatIsMe19-Jun-08 0:46
SomeGuyThatIsMe19-Jun-08 0:46 
Questionopening new message window of outlook Pin
Pankaj Garg19-Jun-08 0:01
Pankaj Garg19-Jun-08 0:01 
AnswerRe: opening new message window of outlook Pin
N a v a n e e t h19-Jun-08 1:21
N a v a n e e t h19-Jun-08 1:21 
GeneralRe: opening new message window of outlook Pin
Pankaj Garg19-Jun-08 1:25
Pankaj Garg19-Jun-08 1:25 
GeneralRe: opening new message window of outlook Pin
N a v a n e e t h19-Jun-08 1:40
N a v a n e e t h19-Jun-08 1:40 
GeneralRe: opening new message window of outlook Pin
Pankaj Garg19-Jun-08 1:47
Pankaj Garg19-Jun-08 1:47 
GeneralRe: opening new message window of outlook Pin
N a v a n e e t h19-Jun-08 2:34
N a v a n e e t h19-Jun-08 2:34 
QuestionText Box of an User Control Pin
.NET- India 18-Jun-08 23:52
.NET- India 18-Jun-08 23:52 
AnswerRe: Text Box of an User Control Pin
Colin Angus Mackay19-Jun-08 0:49
Colin Angus Mackay19-Jun-08 0:49 
GeneralRe: Text Box of an User Control Pin
.NET- India 19-Jun-08 3:15
.NET- India 19-Jun-08 3:15 
GeneralRe: Text Box of an User Control Pin
Colin Angus Mackay19-Jun-08 9:59
Colin Angus Mackay19-Jun-08 9:59 
GeneralRe: Text Box of an User Control Pin
.NET- India 19-Jun-08 21:50
.NET- India 19-Jun-08 21:50 
GeneralRe: Text Box of an User Control Pin
Colin Angus Mackay20-Jun-08 6:45
Colin Angus Mackay20-Jun-08 6:45 

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.