[MPlayer-users] -vo jpeg outdir problems with spaces in outdir

Oliver Seitz info at vtnd.de
Tue Dec 1 16:28:42 CET 2009


> I want to extract frames from video files under Windows command line.
> This is the command:
>
> mplayer.exe -vf framestep=26 -framedrop -frames 12 -speed 100
> "Y:\Testfolder\Testfolder 2\17.wmv" -vo
> "jpeg:outdir=\"Y:\Testfolder\Testfolder
> 2\17.wmv_thumbs\"":quality=100"
>
> The problem is the space in folder "Testfolder 2".
>
> The following error message occures:
> Could not parse arguments at the position indicated below:
> outdir="Y:\Testfolder\Testfolder
>        ^
>
> Anybody an idea?
>

Quotation marks are used in pairs, usually. Your line contains seven of
them. I am not sure what should be meant by that, nor seems the command
line parser to be. If you have to use quotation marks inside quotation
marks, try to use some other style, like

"jpeg:outdir='Y:\Testfolder\Testfolder 2\17.wmv_thumbs\'"

I myself don't use spaces in filenames on windows, it causes trouble all
the time.

Greets,
Kiste



More information about the MPlayer-users mailing list