Taking screenshots in mplayer is simple. mplayer can also take continuous snapshots.
Enable screenshot filter
Table of Contents
When we want to take screenshots when playing video, first we need to set the “-vf screenshot” option:
$ mplayer -vf screenshot video.file
If we want to enable the screenshot filter by default, we may put the option by adding one line into ~/.mplayer/config :
vf=screenshot
To take a single screenshot
Just press ‘s‘.
To take continuous screenshots
To start taking continuous screenshots, press ‘S‘; press ‘S‘ again to stop.
Remember to stop it, otherwise mplayer will keep taking screenshots.
Screenshots will be stored under the current directory with name “shot00001.png”, “shot00002.png”, and so on.
That’s quite easy, right? Then enjoy it~
One comment: