2

I've been trying to follow step two of the dependence guide of Microsofts Project Malmo.

https://github.com/Microsoft/malmo/blob/master/doc/install_windows.md

I need to create the environment variable for ffmpeg. I have installed ffmpeg at C:\ffmpeg so that it's bin is at C:\ffmpeg\bin. I have tried the following

Through command prompt

set ffmpeg=C:\ffmpeg\bin

Through GUI menu

My Computer
Environment variables
Add
Name ffmpeg
Value C:\ffmpeg\bin

Neither has worked. I should be able to type ffmpeg and see it's recognized, but I'm currently still getting the "Not recognized" error.

** Edit: ** What are PATH and other environment variables, and how can I set or use them? seems to me to be recommending the steps I've already taken. If I have made a mistake in my steps, please point it out.

Goose
  • 163

2 Answers2

5

I should be able to type ffmpeg and see it's recognized

but I'm currently still getting the "Not recognized" error.

You have added a new environment variable called ffmpeg.

You are supposed to add C:\ffmpeg\bin to the existing PATH environment variable.

See How to Edit Your System PATH for Easy Command Line Access in Windows or What are PATH and other environment variables, and how can I set or use them? for instructions.

Note:

  • If you change the path using the Control panel GUI you need to close and restart any cmd shells to see the change.
DavidPostill
  • 162,382
1

Copy ffmpeg.exe to C:\Windows\System32

No need to mess with any other variables. However, this may be considered a security issue.

moi
  • 331