Closed msho closed 10 years ago
ENOENT
means "No such file or directory". Are you sure the file you're
trying to get an image from exists?
On Thu, Apr 3, 2014 at 2:45 PM, msho notifications@github.com wrote:
Hey, I'm kinda new to that whole node.js thing. So I'm sorry if my question is a bit stupid...
i try to use the example 'image2video' (here: https://github.com/schaermu/node-fluent-ffmpeg/blob/master/examples/image2video.js )
And I get errors... First, the first line throw the error "Cannot find module '../index'" So I changed it into the line "var ffmpeg = require('fluent-ffmpeg');"
Then I get the error: " events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:988:11) at Process.ChildProcess._handle.onexit (child_process.js:779:34) "
I guess it because I'm missing a library? (If so what lib should i get?)
ThankU very much for your patience and time!
Reply to this email directly or view it on GitHubhttps://github.com/schaermu/node-fluent-ffmpeg/issues/222 .
Wow man, thanks for the quick answer! Well I'm sure it there, but I gave the relative path... maybe it does not support relative path...
Ill try to play with the path then. see if I get better results...
Thanks again!
Okay, good luck :)
On Thu, Apr 3, 2014 at 2:50 PM, msho notifications@github.com wrote:
Wow man, thanks for the quick answer! Well I'm sure it there, but I gave the relative path... maybe it does not support relative path...
Ill try to play with the path then. see if I get better results...
Thanks again!
Reply to this email directly or view it on GitHubhttps://github.com/schaermu/node-fluent-ffmpeg/issues/222#issuecomment-39452883 .
Well, its not that :(
I changed the input file name to something that does not exist, and it return a different error (that my input is not right)...
Can you see something else there?
Do you have ffmpeg installed ? The error "spawn ENOENT" seems to indicate that ffmpeg is not present on your system.
Thanks for the response!
I do have it installed (on windows 8). But now that you mention it. I do not have the command ffmpeg as a variable. So from your answer it seems i must have the ffmpeg as a variable right?
You should either have the folder where ffmpeg is installed in your PATH environment variable, or define a FFMPEG_PATH environment variable with the full path to the ffmpeg.exe executable.
OK thanks! And sorry for my ignorance.
One last question :) How can I install FFMPEG in my hosting (Lets say heroku.com, but it does not matter) so your beautiful code would work??
No idea, it completely depends on what the hoster allows and what system it uses. You should ask them, instead !
Alright!
Thank you all so much. for this great API and quick responses!
I wish you happiness where ever you good and may the light be with you
@msho
Did you find a way to get FFMPEG on heroku?
Hey, I'm kinda new to that whole node.js thing. So I'm sorry if my question is a bit stupid...
i try to use the example 'image2video' (here: https://github.com/schaermu/node-fluent-ffmpeg/blob/master/examples/image2video.js)
And I get errors... First, the first line throw the error "Cannot find module '../index'" So I changed it into the line "var ffmpeg = require('fluent-ffmpeg');"
Then I get the error: " events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:988:11) at Process.ChildProcess._handle.onexit (child_process.js:779:34) "
I guess it because I'm missing a library? (If so what lib should i get?)
ThankU very much for your patience and time!