Convert video to flash using vid2swf
-
I'm trying to use the vid2swf component[^], but I get an error message when I try to call the ConvertFile method. I have created a class
Converter
for the conversion, and I call the constructor with:Converter converter = new Converter(Server.MapPath("Data/casablanca_finale.avi"), Server.MapPath("Data/casablanca_finale.flv"));
The constructor looks like this:public Converter(string source, string destination) { _converter = new Project1.VideoConverter(); _converter.ConvertFile(source, destination); }
When I call the constructor, I get the error "Error creating process : 2" at the line that calls ConvertFile. I have checked that the paths sent to the constructor are correct. The source file exists. I have given full permission to the Data folder for the ASPNET account, so it shouldn't be any problem with file permissions. I have googled the error message, which resulted in no hits at all. Anyone got any idea what the source of the error is, or even what it means?--- It's amazing to see how much work some people will go through just to avoid a little bit of work.
-
I'm trying to use the vid2swf component[^], but I get an error message when I try to call the ConvertFile method. I have created a class
Converter
for the conversion, and I call the constructor with:Converter converter = new Converter(Server.MapPath("Data/casablanca_finale.avi"), Server.MapPath("Data/casablanca_finale.flv"));
The constructor looks like this:public Converter(string source, string destination) { _converter = new Project1.VideoConverter(); _converter.ConvertFile(source, destination); }
When I call the constructor, I get the error "Error creating process : 2" at the line that calls ConvertFile. I have checked that the paths sent to the constructor are correct. The source file exists. I have given full permission to the Data folder for the ASPNET account, so it shouldn't be any problem with file permissions. I have googled the error message, which resulted in no hits at all. Anyone got any idea what the source of the error is, or even what it means?--- It's amazing to see how much work some people will go through just to avoid a little bit of work.
Guffa wrote:
"Error creating process : 2"
Is that the full error message? Only reason I ask, is that whenever I've seen it before, it's been followed by "File not found", and has tended to be down to improperly referenced / GACed assemblies, or assemblies with "issues" :)
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
-
Guffa wrote:
"Error creating process : 2"
Is that the full error message? Only reason I ask, is that whenever I've seen it before, it's been followed by "File not found", and has tended to be down to improperly referenced / GACed assemblies, or assemblies with "issues" :)
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
Yes, that is the full error message. Don't you just love it when you get a descriptive error message that immediately pinpoints the source of the error? ;)
--- It's amazing to see how much work some people will go through just to avoid a little bit of work.