欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

mplayer 屏幕大小_如何在MPlayer中拍摄屏幕截图

程序员文章站 2022-03-04 20:01:16
...

mplayer 屏幕大小

mplayer 屏幕大小_如何在MPlayer中拍摄屏幕截图Taking 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:

当我们想在播放视频时截图时,首先我们需要设置“ -vf screenshot”选项:

$ 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 :

如果我们想默认启用屏幕快照过滤器 ,我们可以通过在〜/ .mplayer / config中添加一行来放置该选项:

vf=screenshot

拍摄一张截图 (To take a single screenshot)

Just press ‘s‘.

只需按“ s ”。

连续拍摄屏幕截图 (To take continuous screenshots)

To start taking continuous screenshots, press ‘S‘; press ‘S‘ again to stop.

开始连续拍摄屏幕截图,请按' S '; 再次按“ S ”停止。

Remember to stop it, otherwise mplayer will keep taking screenshots.

请记住停止它,否则mplayer将继续拍摄屏幕截图。

Screenshots will be stored under the current directory with name “shot00001.png”, “shot00002.png”, and so on.

屏幕截图将存储在当前目录下,名称为“ shot00001.png”,“ shot00002.png”,依此类推。

That’s quite easy, right? Then enjoy it~

那很容易,对吗? 那就享受吧〜

翻译自: https://www.systutorials.com/taking-screenshot-in-mplayer/

mplayer 屏幕大小