In ffmpeg each commands are separately identified using white spaces. When you specify a path having white spaces, the path will splits according to white spaces and will be considered as different commands and hence the error arises.
Here you can see how each commands are differentiated.
I suggest you to make your own changes in command styling and differentiating.
Refer :