Click here to Skip to main content
16,011,870 members
Home / Discussions / C#
   

C#

 
GeneralRe: Deleting a File with active handles Pin
MarkB77731-May-08 17:46
MarkB77731-May-08 17:46 
QuestionWhy Are These Types Incompatible? Pin
Will Montgomery31-May-08 5:44
Will Montgomery31-May-08 5:44 
AnswerRe: Why Are These Types Incompatible? Pin
Colin Angus Mackay31-May-08 7:11
Colin Angus Mackay31-May-08 7:11 
QuestionBound datagrid changes DO NOT update dataset Pin
Nigel Mackay31-May-08 4:47
Nigel Mackay31-May-08 4:47 
QuestionCType Euivalent in c#? Pin
K V Sekhar31-May-08 2:48
K V Sekhar31-May-08 2:48 
AnswerRe: CType Euivalent in c#? Pin
Guffa31-May-08 3:22
Guffa31-May-08 3:22 
AnswerRe: CType Euivalent in c#? Pin
Christian Graus1-Jun-08 4:09
protectorChristian Graus1-Jun-08 4:09 
QuestionHow to Run ffmpeg commands using .Net Pin
Kuricheti31-May-08 1:22
Kuricheti31-May-08 1:22 
Hi Friends,

I have to run ffmpeg commands(userd to Transcode audio and video) from c#.

Actually I'm trying to make one dll with one method which does this transcoding of audio and video.

ex: c:\\ffmpeg\\bin\\ffmpeg.exe -i c:\\ffmpeg\\bin\\ish.mp4 -y sample.mp4

The above command generates one sample.mp4 video file by taknig ish.mp4 as input. This is not fixed commands will generate at runtime based on the input file.

So I want to run this command from .net.
I tried by using

string path = "C:\\ffmpeg\\bin\\ffmpeg.exe";<br />
 string fileargs = "ffmpeg -i ish.mp4 -s cif -vcodec h263 -acodec libamr_nb -ar 8000 -ac 1 -ab 12.2k sampleish12.3gp";<br />
 Process p = new Process();<br />
 p.StartInfo.FileName = path;<br />
 p.StartInfo.Arguments = fileargs;<br />
 p.StartInfo.UseShellExecute = false;<br />
 p.StartInfo.CreateNoWindow = false;<br />
 p.StartInfo.RedirectStandardOutput = false;<br />
 p.Start();<br />
 p.WaitForExit(50000);


but it is not giving any output file

Thanks
HariBabu
AnswerRe: How to Run ffmpeg commands using .Net Pin
Christian Graus31-May-08 1:31
protectorChristian Graus31-May-08 1:31 
QuestionWebservice which automatically loads ads in MasterForm of Windows project from a website(our web project) Pin
K V Sekhar31-May-08 0:57
K V Sekhar31-May-08 0:57 
AnswerRe: Webservice which automatically loads ads in MasterForm of Windows project from a website(our web project) Pin
Christian Graus31-May-08 1:16
protectorChristian Graus31-May-08 1:16 
AnswerCP Ignore Pin
leckey31-May-08 4:43
leckey31-May-08 4:43 
QuestionHelp in Passing value from child form to parent form Pin
Saiyed Alam31-May-08 0:43
Saiyed Alam31-May-08 0:43 
AnswerRe: Help in Passing value from child form to parent form Pin
dealon31-May-08 1:04
dealon31-May-08 1:04 
AnswerRe: Help in Passing value from child form to parent form Pin
Christian Graus31-May-08 1:17
protectorChristian Graus31-May-08 1:17 
AnswerRe: Help in Passing value from child form to parent form Pin
Zeeshan Riaz1-Jun-08 10:01
Zeeshan Riaz1-Jun-08 10:01 
QuestionHow to find USB Pen card is connected or not Pin
Bhim Prakash Singh31-May-08 0:42
Bhim Prakash Singh31-May-08 0:42 
AnswerRe: How to find USB Pen card is connected or not Pin
Christian Graus31-May-08 1:17
protectorChristian Graus31-May-08 1:17 
GeneralRe: How to find USB Pen card is connected or not Pin
Bert delaVega1-Jun-08 9:52
Bert delaVega1-Jun-08 9:52 
QuestionSomething wrong with "ItemArray.CopyTo()" [modified] Pin
dealon31-May-08 0:38
dealon31-May-08 0:38 
AnswerRe: Something wrong with "ItemArray.CopyTo()" Pin
Christian Graus31-May-08 1:18
protectorChristian Graus31-May-08 1:18 
GeneralRe: Something wrong with "ItemArray.CopyTo()" Pin
dealon31-May-08 4:21
dealon31-May-08 4:21 
AnswerRe: Something wrong with "ItemArray.CopyTo()" Pin
Guffa31-May-08 3:35
Guffa31-May-08 3:35 
GeneralRe: Something wrong with "ItemArray.CopyTo()" Pin
dealon31-May-08 4:34
dealon31-May-08 4:34 
AnswerRe: Something wrong with "ItemArray.CopyTo()" Pin
Guffa31-May-08 7:31
Guffa31-May-08 7:31 

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.