By default, config file is in ~/.mplayer. You can change this by setting the environment variable MPLAYER_HOME.
~/.mplayer
MPLAYER_HOME
Add the line vf=screenshot. Default key is s. Images will be in working directory.
vf=screenshot
s