Since terminal can't find it anyways, I would assume it's safe to move, but I'm not sure how that would affect other files that either rely on ffmpeg install path if they do. FWIW I used
./configure --prefix=/usr/local/bin --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
to configure the package, then sudo make install in a separate terminal on accident, although I don't think that should make a difference. I had also removed an older ffmpeg after sudo make install but that was a repo package installed in /usr.
sudo make installin a different terminal, and therefore possibly in a different directory, did it actually execute properly? Or did you getmake: *** No rule to make target 'install'. Stop.meaning nothing happened? Isffmpegactually in/usr/local/bin? If no, then yoursudo make installprobably didn't do anything as mentioned before. Also, why and where do you want to move it? – llogan Jan 22 '19 at 18:39/usr/local/binis in the vanilla UbuntuPATH, so you don't need to add this directory to thePATH. Only reason I can think of that terminal does not find it is if it did not actually install to/usr/local/bin, or if you are using the same terminal session that previously executed the repoffmpeg, then installed the compiledffmpeg, but the hash index was not updated. See output ofhash. Should not show/usr/bin/ffmpegbut should show/usr/local/bin/ffmpeg. If not, then runhash -d ffmpegand try running again. – llogan Jan 22 '19 at 18:49sudo make installwould use the configuration in which--prefix=/usr/local/binwas defined. The thing I'm having trouble finding information on is movingffmpegfrom/usr/local/bin/binto/usr/local/binbecause I am assumingffmpegbeing nested in a folder is causing an issue. By the way,hashoutput:1 /bin/psand the command didn't findffmpeg. – avisitoritseems Jan 23 '19 at 00:55/bin! It won't execute like that. Just move the binary from/usr/local/bin/binto/usr/local/bin. Not sure why it installed like that: it should have respected your--prefix: I have never seen this odd behavior. Also, it should have installed to/usr/local/binif you omitted--prefix. The different terminal would have failed if it spawned to~/and the current directory was not your ffmpeg source directory, but that appears not to be the case. – llogan Jan 23 '19 at 18:41