Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"shipping with ffmpeg binary" , where is the best place to put the ffmpeg binary , and how i can load it ? #129

Closed
nyo16 opened this issue Jun 28, 2013 · 4 comments

Comments

@nyo16
Copy link

nyo16 commented Jun 28, 2013

I tried to put it in the /lib and to load it as

var proc = new ffmpeg({ source: filename, timeout: 17200 })
.setFfmpegPath("./lib/ffmpeg")
but iam getting
'"file has been converted succesfully"
"Error: error while preparing: dimension -> Error: could not determine width of source video, aborting execution padding -> undefined"

if i remove it and use the ffmpeg its working.
Any ideas or direction to solve that ?

ps i download the binary from here http://ffmpegmac.net/

@nyo16 nyo16 closed this as completed Jun 28, 2013
@spruce
Copy link
Contributor

spruce commented Jun 28, 2013

Did you get it to work?

@spruce
Copy link
Contributor

spruce commented Jun 28, 2013

Now you should update your version. Just pushed to npm

@nyo16
Copy link
Author

nyo16 commented Jul 2, 2013

I just put the ffmpeg binary to the root of my project with 755 permition and change the .setFfmpegPath("./lib/ffmpeg") to .setFfmpegPath("./ffmpeg") and its working like charm.

@jocabola
Copy link

I never got that function to work but looking at the source found a workaround by setting a proc property directly as follows:

proc.ffmpegPath = './bin/ffmpeg';

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants