ffmpeg Unrecognized option...Error splitting the argument list: Option not found

Ian Zane picture Ian Zane · Jul 13, 2013 · Viewed 15.4k times · Source

This is probably a pretty simple question for those of you who use ffmpeg, but I'm very new at it, and I'm using it on Windows, which apparently isn't the norm.

From cmd, with my environment variable set at my ffmpeg install directory, I'm running

ffmpeg -i C:\Users\Me\Videos\InputVideo.wmv
-vcodec libx264 -acodec aacenc C:\Users\Me\Desktop\OutputVideo.mp4

(My actual script doesn't have a line break, I just put that there to make reading easier)

and ffmpeg is throwing

Unrecognized option 'i C:\Users\Me\Videos\InputVideo.wmv
-vcodec libx264 -acodec aacenc C:\Users\Me\Desktop\OutputVideo.mp4'.
Error splitting the argument list: Option not found.

Is something wrong with my script? Am I calling an encoder that isn't currently on my machine? Is it something to do with the file paths?

Thanks for the help, everyone.

Answer