ardrone-webflight icon indicating copy to clipboard operation
ardrone-webflight copied to clipboard

FFMPEG

Open RPEK001 opened this issue 8 years ago • 4 comments

Hello, need some help regarding installing FFMPEG.

I have already installed FFMPEG (node js) on my MacBook and the file has appeared in my node_modules. However, when I launch the app.js script, I keep getting a message asking me if I have installed FFMPEG.

Can someone please help? I'm really new with this. Thank you!

RPEK001 avatar Mar 01 '16 03:03 RPEK001

@RPEK001, did you manage to find a solution for this? I'm having the same problem... Cheers

linesd avatar Mar 06 '16 12:03 linesd

@dl00065 Hello! Nope, still receiving the Error and asking if I had installed FFMPEG. Sigh...

RPEK001 avatar Mar 06 '16 12:03 RPEK001

When you say you "installed FFMPEG (node js)", did you actually install the ffmpeg executable (which is separate from the node library)? If you type ffmpeg at a shell prompt does it run? If not, see the following instructions for one way to install it: http://www.renevolution.com/how-to-install-ffmpeg-on-mac-os-x/

wiseman avatar Mar 07 '16 06:03 wiseman

@RPEK001 @wiseman Issue resolved:

It seems that windows installer sometimes doesn't add node to the system path. details here: https://github.com/nodejs/node-v0.x-archive/issues/4356

You can fix this by manually adding node the system path by:

  • going to: "Start", right click "computer", select "properties"
  • Select "Advanced system settings", then "Advanced tab" and "Environmental variables"
  • Under system variables choose new, enter variable name as "path" and variable value as "C:\Program Files\nodejs" (or whatever the path is to your nodejs installation).

Then install ffmpeg to the node path by following the instructions at: http://adaptivesamples.com/how-to-install-ffmpeg-on-windows/

I then found that I had also incorrectly installed bower. If you get the error "Bower enogit git is not installed or not in the path" then here are instructions for a fix: https://hassantariqblog.wordpress.com/2015/11/06/bower-enogit-git-is-not-installed-or-not-in-the-path/

So that's the video now working...

linesd avatar Mar 07 '16 16:03 linesd