{"issue":{"state":"open","created_at":"2011-11-28T21:32:21Z","updated_at":"2011-12-02T14:26:31Z","comments":1,"user":{"gravatar_id":"1e78c92873fd058e3aa964911e6697b1","id":1226490,"url":"https://api.github.com/users/stammen","avatar_url":"https://secure.gravatar.com/avatar/1e78c92873fd058e3aa964911e6697b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"stammen"},"body":"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.\r\n\r\nIf I replace 'ffmpeg' with '/usr/local/bin/ffmpeg' in processor.js it works.\r\n\r\nI would like a method in the api to specify the location of ffmpeg so I don't have to modify processor.js.\r\n\r\nThanks,\r\n\r\nDale\r\n","assignee":null,"id":2373711,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":30,"title":"need to be able to specify full path to ffmpeg","closed_at":null,"html_url":"https://github.com/schaermu/node-fluent-ffmpeg/issues/30","url":"https://api.github.com/repos/schaermu/node-fluent-ffmpeg/issues/30","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T14:26:31Z","updated_at":"2011-12-02T14:26:31Z","user":{"gravatar_id":"654ad5a5fe8ab67f4b23dcf2c51bc5a8","id":519494,"url":"https://api.github.com/users/schaermu","avatar_url":"https://secure.gravatar.com/avatar/654ad5a5fe8ab67f4b23dcf2c51bc5a8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schaermu"},"body":"You should actually be able to set the path to ffmpeg by using the environment variable FFMPEG_PATH (see line 278 in lib/processor.js)","id":2990547,"url":"https://api.github.com/repos/schaermu/node-fluent-ffmpeg/issues/comments/2990547"}}