Click here to Skip to main content
15,908,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionlogin and sign out source code Pin
brukti27-Jun-08 1:04
brukti27-Jun-08 1:04 
AnswerRe: login and sign out source code Pin
eyeseetee27-Jun-08 1:07
eyeseetee27-Jun-08 1:07 
AnswerRe: login and sign out source code Pin
Christian Graus27-Jun-08 1:15
protectorChristian Graus27-Jun-08 1:15 
AnswerRe: login and sign out source code Pin
Arindam Tewary27-Jun-08 1:27
professionalArindam Tewary27-Jun-08 1:27 
GeneralRe: login and sign out source code Pin
windhopper27-Jun-08 1:44
windhopper27-Jun-08 1:44 
JokeRe: login and sign out source code Pin
Ariel Kazeed27-Jun-08 2:33
Ariel Kazeed27-Jun-08 2:33 
GeneralRe: login and sign out source code Pin
Arindam Tewary27-Jun-08 3:00
professionalArindam Tewary27-Jun-08 3:00 
Questionconvert 3gp to .flv Pin
nithydurai27-Jun-08 0:48
nithydurai27-Jun-08 0:48 
i am converting the .avi,mpeg to .flv format then capture the frame from .flv file successfully but i try to convert the 3gp to .flv, it is not convert and cannot capture the frame. .. pls help me



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.exe -y -i input.3gp -ar 44100 -acodec mp3 -f flv -an output.flv


ffmpeg = new Process(); //ffmpeg -i [sourcefile.avi] -acodec mp3 -ar 22050 -ab 32 -f flv -s 320×240 [destfile.flv]
ffmpeg.StartInfo.Arguments = " -i " + video + " -r 25 -acodec mp3 -ar 22050 -s 320x240 -y" + mpg; // arguments !


//ffmpeg.StartInfo.Arguments = " -i " + video + " -s 480*360 -deinterlace -ab 32 -r 25 -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 + "uploads\\video.flv";
inputPath = FileUpload1.PostedFile.FileName;
FileUpload1.SaveAs(MapPath("inputfolder/" + FileUpload1.FileName));
string output = FileUpload1.FileName;
string description2 = output;
char[] splitter2 ={ '.' };
string[] split2 = description2.Split(splitter2);
string s22 = split2[0];
string ss2 = s22.Replace(s22, checkCode);
//Response.Write(ss);
string outputPath = AppPath + "outputfolder\\" + ss2 + ".flv"; //Destination Video Path
//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: convert 3gp to .flv Pin
windhopper27-Jun-08 1:50
windhopper27-Jun-08 1:50 
QuestionDynamically accessing user control's properties Pin
windhopper26-Jun-08 23:28
windhopper26-Jun-08 23:28 
AnswerRe: Dynamically accessing user control's properties Pin
Arindam Tewary27-Jun-08 1:31
professionalArindam Tewary27-Jun-08 1:31 
GeneralRe: Dynamically accessing user control's properties Pin
windhopper27-Jun-08 1:42
windhopper27-Jun-08 1:42 
GeneralRe: Dynamically accessing user control's properties Pin
Arindam Tewary27-Jun-08 2:04
professionalArindam Tewary27-Jun-08 2:04 
GeneralRe: Dynamically accessing user control's properties Pin
windhopper27-Jun-08 2:20
windhopper27-Jun-08 2:20 
GeneralRe: Dynamically accessing user control's properties Pin
Arindam Tewary27-Jun-08 3:01
professionalArindam Tewary27-Jun-08 3:01 
QuestionHow to display Excel file on IE Pin
varshavmane26-Jun-08 23:15
varshavmane26-Jun-08 23:15 
GeneralRe: How to display Excel file on IE Pin
Ariel Kazeed27-Jun-08 0:28
Ariel Kazeed27-Jun-08 0:28 
AnswerRe: How to display Excel file on IE Pin
Arindam Tewary27-Jun-08 1:07
professionalArindam Tewary27-Jun-08 1:07 
QuestionJava script is not working in FF Pin
vishalrastogi1126-Jun-08 22:40
vishalrastogi1126-Jun-08 22:40 
AnswerRe: Java script is not working in FF Pin
N a v a n e e t h26-Jun-08 22:52
N a v a n e e t h26-Jun-08 22:52 
AnswerRe: Java script is not working in FF Pin
Ariel Kazeed27-Jun-08 0:14
Ariel Kazeed27-Jun-08 0:14 
GeneralRe: Java script is not working in FF Pin
N a v a n e e t h27-Jun-08 1:03
N a v a n e e t h27-Jun-08 1:03 
GeneralRe: Java script is not working in FF Pin
Ariel Kazeed27-Jun-08 1:08
Ariel Kazeed27-Jun-08 1:08 
QuestionHow to navigate to a different page ? Pin
tina->newcoder26-Jun-08 22:31
tina->newcoder26-Jun-08 22:31 
AnswerRe: How to navigate to a different page ? Pin
Brook.Zhang26-Jun-08 22:37
Brook.Zhang26-Jun-08 22:37 

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.