[FFmpeg-user] trouble installing ffmpeg

Dan Bridges dosdan at gmail.com
Thu Jul 23 00:56:06 EEST 2020

On 23/07/2020 7:18 am, Jake McGaker wrote:
> "'C:\ffmpeg' is not recognized as an internal or
> external command,"

This means that you are trying to run ffmpeg.exe from the the root
directory i.e. "c:\". What you need to do is put ffmpeg.exe (and any
associated AV utility programs) in a directory that's included in  the
directory list stored in in Windows PATH environmental variable. For
example, when I type path PATH at the cmd prompt to see what directories
are listed in my Windows PATH environmental variable:

Files (x86)\GNU\GnuPG;C:\Program Files (x86)\WinMerge;C:\Program Files
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files
Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common
Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common
Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common
Files\Acronis\SnapAPI\;C:\Program Files\nodejs\;C:\Program
Files\gnuplot\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files
Files (x86)\AutoIt3;C:\Program Files
Files\VideoLAN\VLC;C:\Program Files\smartmontools\bin

Because I'm using Autobuild to compile FFMPEG under Windows, I've got
"C:\Mingw\media-autobuild_suite-master\local64\bin-video" in this list
because that's where Autobuild creates ffmpeg.exe. Otherwise I'd have it
stored in "C:\utilities" which is where I place a host of small useful

Say I type FFMPEG and press Enter, the Windows command processor looks
for ffmpeg.com, ffmpeg.exe, ffmpeg.cmd, ffmpeg.bat, and I think
ffmpeg.vbs (Visual BASIC program). It looks for these programs first in
the current directory, then in my PATH list of directories.

To get instructions on how to alter of add to the list of  in your PATH:

* In Settings, in the search box, type PATH, and click on "Edit the
system environmental variables".
* Click on "Environmental Variables" button.
* In the"System  variables" box, select the "path" entry, and then 
click on the "Edit" button.
* Click on the "New" button and add the directory where ffmpeg.exe is
situated e.g. C:\Utilities

See here for a screengrab: 

Note: in widows File Explorer you can create a directory ("New folder"
option) and then copy or move ffmpeg.exe to it.  To get to a cmd prompt
in this specific directory, navigate to it so it's showing in the File
Explorer's address bar. Then type in this box "cmd" and  press Enter.


More information about the ffmpeg-user mailing list