Struggling to go from local development to deploying my web app. using ffmpeg in node to crop things. tried following this guide to deploying ffmpeg, https://github.com/HYPERHYPER/heroku-buildpack-ffmpeg, and how the binary needs to be in a buildpack. Achieved this, but it still doesn't work. How do i reference the buildpack?

is is something to do with this line? .setFfmpegPath('./ffmpeg')

var fileName = './new_crops/' + videoTitle + '.mp3'; var process = new ffmpeg({ source: videoGrab }) .setFfmpegPath('./ffmpeg') .audioBitrate(info.formats[0].audioBitrate) .withAudioCodec('libmp3lame') .toFormat('mp3') .outputOptions('-id3v2_version', '4') .outputOptions('-metadata', 'title=' + title) .outputOptions('-metadata', 'artist=' + artist)

thanks in advance