schaermu/node-fluent-ffmpeg — Issue #30: need to be able to specify full path to ffmpeg
Author: stammen
Created: 2011-11-28 21:32:21+00:00
State: open

The path to ffmpeg in processor.js is hard coded to ffmpeg. When running node,js from a cron job on a shared server, ffmpeg may not be in a path available to cron and so it can not be run. For example the path to ffmpeg on my shared server is /usr/local/bin/ffmpeg. When the cron job runs, node cannot find ffmpeg because it is not in the path used by cron. I do not have root access to add ffmpeg to the PATH used by cron.

If I replace 'ffmpeg' with '/usr/local/bin/ffmpeg' in processor.js it works.

I would like a method in the api to specify the location of ffmpeg so I don't have to modify processor.js.

Thanks,

Dale