Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 13, 2009 10:57 AM by rashid0715
Oct 06, 2008 08:00 AM|LINK
In my application i am trying to convert my wmv file into swf file format. And its working on Command prombt very well and it created the output file also.
But when i write the code in c# (below mentioned) its not working. But no more errors or exceptions arise. But No outputs found(no new.swf file was created).
proc.StartInfo.Arguments = filargs;
Thanks in Advance...
Oct 06, 2008 08:33 AM|LINK
I've falled into this trap before...
proc.StartInfo.RedirectStandardOutput = false;
...Try redirecting StandardError too
Oct 06, 2008 09:24 AM|LINK
thanks for reply,
lblmsg.Text = standardError.ReadToEnd()
I am getting the error displayed on my label(lblmsg) - "StandardIn has not been redirected "
Oct 06, 2008 09:28 AM|LINK
See my post here. The code I used worked after I redirected standard error:
Oct 06, 2008 09:31 AM|LINK
Oct 06, 2008 09:42 AM|LINK
This is an error with your console app:
gcc: 4.2.3 Unable to find a suitable output format for 'ffmpeg'
Try debugging at the command prompt
Oct 06, 2008 10:22 AM|LINK
Atlast i find the solution.
Thanking you, for your help...
Oct 15, 2008 11:42 AM|LINK
I have written below code, and it wont produce the result(convert into .swf) when i upload .wmv file. But it is working in command prombt.
So please check and give solution for me.....
And if you dont mine why you are using (C:\\dbping)
postedfilename = FileUpload1.PostedFile.FileName;
Filenamewithpath = SavePath + NewFName;
inputfile = SavePath + NewFName;
dbfilename = withoutext +
proc.StartInfo = psi;
Thanks and Regards
Nov 11, 2008 01:57 PM|LINK
I am having the same problem as you are, can you share your solution?
Nov 13, 2008 04:44 AM|LINK
Could you tell me exactly whats your problem...