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

Dave P lists.davep at gmail.com
Tue Dec 1 21:21:18 CET 2009


On Tue, Dec 1, 2009 at 10:28, Oliver Seitz <info at vtnd.de> wrote:
>> 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

I've encountered this, too.  As a workaround, navigate your command
prompt to Testfolder 2 instead of c:\mplayer and start your command
with c:\mplayer\mplayer.exe -vf framestep ...  Then you don't need to
specify output dir.  The images will be produced in Testfolder 2.


More information about the MPlayer-users mailing list