两款免费的 Linux 桌面录制工具：SimpleScreenRecorder 和 Kazam
屏幕录制

> 
> 桌面录制工具可以帮做我们快速高效的制作教学视频和在线示范。
> 
> 
> 


一图胜千言，但一段视频演示则可以让你不用大费口舌。我是一个“视觉学习者”，亲眼目睹一件事情的发生对我的学习大有裨益。我也曾观察发现，如果学生实际看到应用程序的设置流程或者代码的编写过程，他们就能从中受益良多。所以，录屏工具是制作教学视频的绝佳工具。在本文中我将介绍一下两款开源桌面录制工具： [SimpleScreenRecorder](http://www.maartenbaert.be/simplescreenrecorder/) 和 [Kazam](https://launchpad.net/kazam)。


![](/data/attachment/album/201611/03/212608b9y7m77l7q7fxws9.png)


### SimpleScreenRecorder


使用 SimpleScreenRecorder 能够轻松录制桌面动作，它拥有直观的用户界面以及多样的编码方式，如 MP4、OGG、[Matroska](https://www.matroska.org/technical/whatis/index.html) 或 [WebM](https://www.webmproject.org/) 格式。 SimpleScreenRecorder 遵从 GPL 协议发行，运行在 Linux 上。


在安装运行 SimpleScreenRecorder 后，你可以轻松选择录制整个桌面、指定窗口或者一个自定义的区域。我比较偏爱最后这种方式，因为这样我可以使我的学生把注意力集中在我想让他们注意的地方。你还可以在设置中选择是否隐藏光标、调整录制帧率（默认帧率为 30fps）、视频压缩比例或者调整音频后端（如 ALSA、JACK 或 PusleAudio）。


由于 SimpleScreenRecorder 使用了 libav/ffmpeg 库进行编码，故而支持多种文件格式和视频编码方式。可以使用不同的配置文件（编码更快的配置文件意味着更大的体积），包括 YouTube 和 1000kbps – 3000kbps 的 LiveStream。


![simplescreencast screenshot](/data/attachment/album/201611/03/213725q55q593xq3qrjr33.png)


![simplescreencast screenshot](/data/attachment/album/201611/03/213726hykatz1akzukguab.png)


配置完毕后，单击“开始录制”按钮或者使用自定义的快捷键就可以轻松开始录制屏幕啦~


![simplescreencast screenshot](/data/attachment/album/201611/03/213727wgog8yfctd0e384g.png)


你还能在设置中开启提示音功能，它会开始录制和录制结束时给你声音的提示。屏幕录制完成后，你可以对视频文件进行编辑或者直接上传到 YouTube、Vimeo 等视频网站上。


SimpleScreenRecorder 的[官方网站](http://www.maartenbaert.be/simplescreenrecorder/)上还有大量说明文档，其中包括设置、录制、上传等方面的帮助手册和针对多种Linux发行版的安装说明。


### Kazam


Kazam 桌面录制工具同样是遵循 GPL 协议的软件。同时和 SimpleScreenRecorder 一样，Kazam 易于上手，界面直观。安装运行 Kazam 之后，你可以设置选择录制整个桌面、指定窗口或是一个自定义的区域。(LCTT 译注：关于自定义区域录制一部分的内容与 SimpleScreenRecorder 介绍中的内容基本相似，略过) ，你还可以选择记录鼠标的移动轨迹。我最中意 Kazam 的一点是延时录制的功能，这在制作视频教程的时候必不可少。


在“文件|设置”菜单下可以轻松对 Kazam 进行个性化设置，比如可以选择扬声器或是麦克风中的音源、关闭倒计时提示等等。


![kazam screenshot](/data/attachment/album/201611/03/213728jeqrgxieffhfi1ce.png)


在设置页的第二个选项卡中可以进行视频录制设置。Kazam 默认录制帧率为 15fps，编码格式为 H264（MP4）。其它可供选择的格式有 VP8(WEBM)、HUFFYUV、Lossless JPEG 以及 RAW AVI。录制好的文件会以附加一个预设的前缀来命名，并自动保存在默认目录下，你可以随时修改这些设置。


![kazam screenshot](/data/attachment/album/201611/03/213730yof10izh1qqkxxnf.png)


设置屏幕截图同样很简单。你可以选择 Nikon D80 或 Canon 7D 的快门音效，也可以干脆关掉他们。截图文件是自动存放的。除非你关闭这一功能。


![](/data/attachment/album/201611/03/213732n1ppk2xola49fxh3.png)


录制好的视频将会存储在你选定的目录下，随时可以上传到你喜欢的视频分享网站或是教程网站上。


是时候利用 Linux 和录屏工具让你的课堂焕然一新了！如果你还有其他的屏幕录制工具或是使用技巧，记得在评论里与我交流哦~


### 赠品：Kap


前面提到两款软件都是 Linux 下的屏幕录制软件，这里还有一款是 Mac 下的开源录屏软件推荐给大家： [Kap](https://getkap.co/)。它是使用 Web 技术（Node.js）构建的，以 MIT 协议开源在 [GitHub](https://github.com/wulkano/kap) 上。


![](/data/attachment/album/201611/03/213133r4r5feax3roaefu3.jpg)


你可以[直接下载 dmg 镜像](https://getkap.co/download)安装（300M），也可以使用 `brew` 从 Homebrew Cask 安装：



```
$ brew update
$ brew cask install kap
```

如果你使用 Mac，不妨一试，也欢迎你对这个项目提交贡献。




---


via: <https://opensource.com/education/16/10/simplescreenrecorder-and-kazam>


作者：[Don Watkins](https://opensource.com/users/don-watkins) 译者：[HaohongWANG](https://github.com/HaohongWANG) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
A picture might be worth a thousand words, but a video demonstration can save a lot of talking. I'm a visual learner, so seeing how to do something has been very helpful in my education. I've found that students benefit from seeing exactly how an application is configured or how a code snippet is written. Desktop screen recorders are great tools for creating instructional videos. In this article, I'll look at two free, open source desktop screen recorders: [SimpleScreenRecorder](http://www.maartenbaert.be/simplescreenrecorder/) and [Kazam](https://launchpad.net/kazam).

## SimpleScreenRecorder

SimpleScreenRecorder lets you easily record desktop action. It has an untuitive interface and the ability to record in MP4, OGG, [Matroska](https://www.matroska.org/technical/whatis/index.html), or [WebM](https://www.webmproject.org/) format. SimpleScreenRecorder is released under the Gnu Public License and runs on Linux.

After installing and launching the program, you can easily configure it to capture the whole desktop, a specific window, or a select area. The latter is my personal favorite because it focuses the learner's attention on exactly where I want them to look. You can record the cursor or not, adjust the frame rate, scale the video, and adjust the audio backend, which includes three options: ALSA, JACK, and PulseAudio. Video frame rate defaults to 30fps.

Because SimpleScreenRecorder uses libav/ffmpeg libraries for encoding, it supports a variety of file formats and video codecs. Different profiles can be used (faster profiles mean bigger file sizes), including YouTube, LiveStream (1000kbps), LiveStream (2000kbps), LiveStream (3000 kbps), and high-quality intermediate.

After you've configured your system, recording is easy. You can either click on the *Start recording* button or use a selection hot key.

Sound notification can also be enabled, which is a nice feature that lets you know when the recording begins and ends. Once the recording is completed, the file can edited or uploaded to YouTube, Vimeo, or an educational learning management system.

SimpleScreenRecorder has great documentation on its website, which includes tips for configuration, recording, and uploading, as well as installation instructions for various Linux distributions.

## Kazam

The Kazam desktop screen recorder is also released under the Gnu Public License and, like SimpleScreenRecorder, it is easy to use and offers an intuitive interface. After you install and launch the program, you can configure it to capture the whole desktop, a specific window, or a select area. Recording a select area of a screen can come in handy because it focuses the learner's attention on exactly where you want them to look. You can capture the mouse pointer movement, too. I like that Kazam also has the ability to delay the capture, which can come in useful when recording tutorials.

Configuring preferences is easy under the *File* | * Preferences* menu, and audio capture sources can be selected to include speakers and microphone. Countdown splash can be turned off, too.

The second tab of preferences is for selecting video preferences. Frame rate defaults to 15fps. The default recording is set to H264(MP4), but there are other formats available, such as VP8(WEBM), HUFFYUV, LosslessJPEG, and RAW AVI. Automatic file saving is enabled by default, along with the self-selected directory where videos are saved and a default file-name prefix, which is user-configurable.

Configuring the screenshot is easy. The shutter sound is on by default, and the shutter type can be self-selected and includes the default Nikon D80 or Canon 7D. File saving is automatic unless otherwise selected.

Screencasts are easily saved to a directory of your choice, and the file is ready to upload to your favorite sharing site or your learning management system.

Here's to flipping your classroom and instruction using a Linux computer and either of these great desktop screen recorders! What other screen recording tools and tricks are useful in your classroom? Let me know about them in the comments.

## 7 Comments