How to Take Screenshots in MPlayer

Posted on In Linux

movie photoTaking screenshots in mplayer is simple. mplayer can also take continuous snapshots.

Enable screenshot filter

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~

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

One comment

  1. Pingback: Vincent's Memo » Blog Archive » Using mplayer to capture video screenshot

Leave a Reply

Your email address will not be published. Required fields are marked *