11
1
I am attempting to use FFmpeg to extract audio from a mp4 and I keep running into this error:
CFileffmpegvideo.mp4: No such file or directory exist.
I am in command prompt (in Windows 7) and have the path as C:\Files\ffmpeg
(Where ffmpeg is).
I run this command line
ffmpeg -i C:\Files\ffmpeg\video.mp4 -f mp3 -ab 320000 -vn music.mp3
The file is in the same folder as ffmpeg. I know I am missing something simple here but what is it?
Here is a short video showing the exact process.
Do you actually have "file-name.mp4" in the command line? I don't mean with the quotes, but I mean that specific and exact file name? And... do you actually have a mp4 file called "file-name.mp4" in the directory C:\Files\ffmpeg ? – Bon Gart – 2012-06-24T02:41:23.607
@BonGart - Yes I do – L84 – 2012-06-24T02:55:25.810
Yes I do, to both? Meaning you are using that exact phrasing AND you have a mp4 file with the generic name of "file-name.mp4" in that specific directory? Because that's what the error is telling us... that there isn't any file by that name in that directory. – Bon Gart – 2012-06-24T02:57:02.923
@BonGart - I posted a couple screenshots showing the directory and the command prompt screen with error. – L84 – 2012-06-24T03:06:12.927
Ok. so then the answer was NO.. you were NOT using the exact phrase "file-name.mp4" in the command line, and you do NOT have a file actually called "file-name.mp4" in that directory. What you should do is remove "c:\Files\ffmpeg" from the command line and try again. Since the file you are converting is in the same directory as ffmpeg, you don't need the absolute path. – Bon Gart – 2012-06-24T03:07:54.793
@BonGart - I was typing the correct file name regardless of what the question said. I edited question to reflect the exact file name. I tried removing the absolute path and use
video.mp4
and it still gives me the same error. – L84 – 2012-06-24T03:23:43.980use
"C:\Files\ffmpeg\video.mp4"
instead ofC:\Files\ffmpeg\video.mp4
– Searush – 2012-11-11T08:34:56.460