@wxy
https://linux.cn/article-15844-1.html
This commit is contained in:
Xingyu Wang 2023-05-25 17:33:17 +08:00
parent 07efbed7bd
commit 78f3b446c8
2 changed files with 181 additions and 182 deletions

View File

@ -0,0 +1,181 @@
[#]: subject: "Best Screen Recorders for Wayland in Linux [Compared & Tested]"
[#]: via: "https://www.debugpoint.com/screen-recorders-linux-wayland/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: "ChatGPT"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15844-1.html"
测评适用于 Linux 中 Wayland 的最佳屏幕录制软件
======
> 下面是适用于大多数现代 Linux 发行版中的 Wayland 的屏幕录制软件列表。
![][0]
大多数主流 Linux 发行版(例如 Ubuntu 和 Fedora中都默认使用现代的 Wayland 协议。然而,作为 X.Org 的继任者Wayland 更加安全并且遵循现代标准,但这需要开发人员针对 Wayland 重新开发应用程序。
基于 X.Org 开发的 Linux 传统应用程序在大多数情况下都无法在 Wayland 上正常工作,除非进行修改。屏幕录制软件也属于这个范畴。许多广受欢迎的屏幕录制软件是为 X.Org 开发的,并且在 Wayland 中已无法工作。
但是有些仍然可以工作。在本文中,我将向你介绍我在 Wayland 会话中测试过,并且运行良好的一些屏幕录制软件。
### 适用于 Linux 发行版下 Wayland 的最佳屏幕录制软件应用
#### 1、Kooha
首先介绍的是 Kooha这是一款使用 GTK 编写的屏幕录制软件,支持 X11 和 Wayland。它是 GNOME 桌面环境下最快速、最简单的屏幕录制软件之一。该应用程序是提供顺畅录制体验的最佳 GNOME 应用之一。此实用工具支持硬件加速、定时器、多种输入源以及许多先进功能。主要功能如下:
- 在多显示器环境中,能够选择显示端口和窗口
- 硬件加速编码(默认禁用,但可以在设置中启用)
- 能够记录屏幕的特定区域
- 可以同时录制电脑声音和麦克风声音
- 指定制作录屏视频前的延时秒数
- 支持选择帧速率
- 支持多种媒体文件类型包括WebM、mp4、gif、Mkv 等
![Kooha - 最好的 GNOME 屏幕录制软件][2]
![Kooha 设置][3]
使用 Flatpak 安装 Kooha 非常容易。 [为你的系统设置 Flatpak 和 Flathub][4],并运行以下命令进行安装:
```
flatpak install io.github.seadve.Kooha
```
我们在使用 Wayland 会话的最新版 Ubuntu 22.10 和 Fedora 37 中测试过,并且工作流程非常顺畅。
更多有关 Kooha 的详细信息:
- [主页][5]
- [源代码][6]
#### 2、GNOME 屏幕录制软件
在列表中的第二个是 GNOME Shell 内置的屏幕录制软件。它是 GNOME 新的截图实用程序的一部分,你可以在应用程序菜单中搜索 “<ruby>截图<rt>screenshot</rt></ruby>” 来启动它。
GNOME 屏幕录制软件提供了记录整个屏幕或矩形选区的选项。此外,你还可以选择将光标一并录制下来。
但是,它只支持 WebM 格式的录制,而且无法延迟录制。
你无需额外安装任何软件即可使用此功能,因为它默认随 GNOME 桌面环境一起安装。
使用键盘快捷键 `CTRL+SHIFT+ALT+R` 启动它。然后选择你需要的选项,最后点击录制按钮即可。
录制好的视频保存在 `~/Videos/Screencasts` 文件夹下。
![GNOME 屏幕录制软件][7]
#### 3、OBS Studio
流行的自由开源的直播应用程序 OBS Studio 最近开始支持 Wayland。虽然它主要用于实时流媒体但实际上它的屏幕录制功能在 Wayland 中也可以使用。
由于它是专业级软件,你可以利用其强大的音频录制功能。此外,你还可以同时录制系统麦克风的声音。
通过 Flatpak 安装 OBS Studio 很容易。[为你的系统设置 Flathub][4],然后使用以下命令安装它:
```
flatpak install com.obsproject.Studio
```
注意OBS Studio 需要 FFmpeg 来运行。如果你想安装 FFmpeg请参阅我们的 [此篇文章][8]。
启动 OBS Studio 后,在 “<ruby>输入源<rt>Sources</rt></ruby>” 下单击 “+” 号以添加源。然后选择 “<ruby>屏幕捕捉…<rt>Screen capture...</rt></ruby>”。然后单击 “<ruby>确定<rt>Ok</rt></ruby>”。
![屏幕捕捉选项][9]
![在 Wayland 中使用 OBS Studio 进行录制][10]
停止录制后,录制文件会保存在你的用户主目录文件夹下。
更多有关 OBS Studio 的详细信息:
- [主页][11]
- [源代码][12]
#### 4、vokoscreenNG
vokoscreenNG 是一款非常不同的屏幕录制软件,完全被低估了。它是一款老应用程序,并支持窗口捕捉、矩形捕捉。此外,它还支持与屏幕一起捕获音频、系统托盘控制、放大镜、倒计时、计时器和许多其他有趣的功能。
最近,它加入了实验性的 Wayland 支持,可供尝试。它运行得相当不错。目前,它支持 WebM、M4、Mkv、Mov 和 Avi 格式的 Wayland。但是Wayland 会话的音频记录尚不可用。
你可以从以下链接下载适用于 Linux 发行版的预编译可执行文件,无需安装即可运行:
> **[下载链接][13]**
![vokoscreenNG][14]
更多有关 vokoscreenNG 的详细信息:
- [主页][15]
#### 5、Wayfarer
这个列表中的最后一个屏幕录制软件是 Wayfarer它是基于 GTK4 的。它目前支持各种现代协议,如 Wayland、Pipewire 和 wireplumber。其简单的用户界面支持屏幕录制和音频捕捉。你还可以选择你的桌面的一部分或整个屏幕进行录制。
此外,你可以选择帧速率、鼠标捕捉,并具有延迟录制的功能。目前,它支持 webm、mp4 和 mkv 格式。
![适用于 Linux 的 Wayfarer 屏幕录制软件][16]
不过,它目前仅在 Arch Linux 的 Arch 用户仓库AUR中提供。你可以设置任何 AUR 辅助程序(例如 Yay并使用以下命令进行安装
```
yay -S wayfarer-git
```
更多有关 Wayfarer 的详细信息:
- [主页和源代码][17]
### 其他目前无法在 Wayland 上正常使用的优秀屏幕录制软件
除了上面的列表之外,在 X.Org 上有一些优秀的屏幕录制软件,目前在 Wayland 上不可用。根据我在 Ubuntu 22.10 和 Fedora 37 Wayland 会话中的测试,在录制文件中只会看到黑屏。希望它们能在未来被修复,并与 Wayland 兼容。
- [Peek][18](可能支持 XWayland 后端)
- [Simple screen recorder][19]
- [Blue Recorder][20](支持 Wayland但目前有问题
### 总结
根据我的个人经验Wayland 更快、更好。由于许多现代发行版正在向 Wayland 转移,你必须使用替代应用程序来改变你的工作流程。我希望这个 Wayland 屏幕录制软件列表可以帮助你选择最适合自己的一个。
如果你知道其他类似的应用程序,并能在 Wayland 上正常使用,欢迎告诉我。
*题图MJ/9f04998c-0d4c-4651-b038-e595ca1f6bb6*
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/screen-recorders-linux-wayland/
作者:[Arindam][a]
选题:[lkxed][b]
译者ChatGPT
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed
[1]: https://www.debugpoint.com/wp-content/uploads/2022/12/wayrec.jpg
[2]: https://www.debugpoint.com/wp-content/uploads/2021/12/Kooha-Best-Screen-Recoder-for-GNOME.jpg
[3]: https://www.debugpoint.com/wp-content/uploads/2022/12/Kooha-Settings.jpg
[4]: https://www.debugpoint.com/how-to-install-flatpak-apps-ubuntu-linux/
[5]: https://apps.gnome.org/app/io.github.seadve.Kooha/
[6]: https://github.com/SeaDve/Kooha
[7]: https://www.debugpoint.com/wp-content/uploads/2022/12/GNOME-Screen-recorder.jpg
[8]: https://www.debugpoint.com/install-ffmpeg-ubuntu/
[9]: https://www.debugpoint.com/wp-content/uploads/2022/12/Screen-capture-option.jpg
[10]: https://www.debugpoint.com/wp-content/uploads/2022/12/recording-in-OBS-Studio-in-Wayland.jpg
[11]: https://obsproject.com/
[12]: https://github.com/obsproject/obs-studio
[13]: https://linuxecke.volkoh.de/vokoscreen/vokoscreen-download.html
[14]: https://www.debugpoint.com/wp-content/uploads/2022/12/vokoscreenNG.jpg
[15]: https://linuxecke.volkoh.de/vokoscreen
[16]: https://www.debugpoint.com/wp-content/uploads/2022/12/Wayfarer-screen-recorder-for-Linux.jpg
[17]: https://github.com/stronnag/wayfarer
[18]: https://github.com/phw/peek
[19]: https://www.maartenbaert.be/simplescreenrecorder/
[20]: https://github.com/xlmnxp/blue-recorder
[21]: https://www.debugpoint.com/32-bit-linux-distributions/
[0]: https://img.linux.net.cn/data/attachment/album/202305/25/172033gb2fff1ceefjgpfe.jpg

View File

@ -1,182 +0,0 @@
[#]: subject: "Best Screen Recorders for Wayland in Linux [Compared & Tested]"
[#]: via: "https://www.debugpoint.com/screen-recorders-linux-wayland/"
[#]: author: "Arindam https://www.debugpoint.com/author/admin1/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Best Screen Recorders for Wayland in Linux [Compared & Tested]
======
**Heres a list of screen recorders which work in Wayland currently in most modern Linux distributions.**
![][1]
Modern Wayland protocol is used by default in most frontrunner Linux distributions, such as Ubuntu and Fedora. However, this X.Org successor comes with work for the app developers to re-platform their app for Wayland because Wayland is more secure and follows modern standards.
Linux legacy applications, those written with X.Org in mind, dont work well in most cases unless it is modified.
Screen recorder apps fall into that category. There are many popular screen recorders which were developed for X.Org doesnt work anymore in Wayland.
However, few of them work. In this list, I will walk you through a few that I tested in the Wayland session. And they work well.
### Best screen recorder apps for Wayland in Linux distros
#### 1. Kooha
The first on this list is Kooha, written in GTK and supports X11 and Wayland. Its a fast and simple screen recorder for the GNOME desktop. This application is one of the best GNOME apps that provides hassle-free recording experiences. This utility supports hardware acceleration, a timer, multiple sources as input and many advanced features. Heres a summary:
- Option to select monitor for multiple displays or any window
- Hardware accelerated encoding (disabled by default; enable it via settings)
- Option to record the area of a screen
- Record mic and computer sound together
- Delay timer for records
- Option to choose the frame rate
- Support for WebM, mp4, gif, Mkv file types
![Kooha - Best Screen Recoder for GNOME][2]
![Kooha Settings][3]
Installing Kooha is easy using Flatpak. [Set up your system for Flatpak & Flathub][4] and run the following command to install it.
```
flatpak install io.github.seadve.Kooha
```
We tested it in the latest Ubuntu 22.10 and Fedora 37 with Wayland session, it works flawlessly.
**More details about Kooha**
- [Home page][5]
- [Source code][6]
#### 2. GNOME screen recorder
The second in the list is GNOME Shells built-in screen recorder. Its part of the GNOMEs new screenshot utility which you can launch by searching “screenshot” in the application menu.
GNOME Screen recorder provides you option to record the entire screen or a rectangular portion. In addition, you have the option to record the cursor as well.
However it only supports recording to webM format. And you cant do a delayed start of your recording.
You dont need to install anything extra to use this. Since it comes by default with GNOME desktop.
Use the keyboard shortcut `CTRL+SHIFT+ALT+R` to launch it. And select your option, then hit the record button.
The recordings saved at ~/home/Videos/Screencasts.
![GNOME Screen recorder][7]
#### 3. OBS Studio
The popular free and open-source streaming application OBS Studio recently started supporting Wayland. Although it is primarily used for live streaming, but its screen recording feature actually works in Wayland and you can use it.
Since its a professional grade software, you can take advantage of its recording feature. In addition, you can also record the sound from the mic of your system while recording the screen.
Installing OBS Studio is easy with Flatpak. [Set up your system for Flathub][4] and install it using the following command.
```
flatpak install com.obsproject.Studio
```
Note: OBS Studio need FFmpeg to run. We have a guide [here][8], if you want to install FFmpeg.
After you launch OBS Studio, click on + sign under Sources to add source. Then select “Screen capture..”. And then click ok.
![Screen capture option][9]
![recording in OBS Studio in Wayland][10]
After you stop the recording, it is saved at your ~/home directory.
**More details about OBS Studio**
- [Home page][11]
- [Source code][12]
#### 4. vokoscreenNG
The vokoscreenNG is a little different screen recording app which is totally underrated. Its an old application and supports window capture, rectangular caption. In addition, it also support audio capture alongside screen, system tray control, magnifying glass, countdown, timer and many cool features.
Recently, an experimental Wayland support introduced which you can try out. It works fairly well. Currently it supports webm, m4, mkv, mov and avi formats for Wayland. However, audio recording is not yet available for Wayland sessions.
You can download the pre-compiled executable for Linux distros which require no installation from the below link. And run.
[Download][13]
![vokoscreenNG][14]
**More details about vokoscreenNG**
- [Home page][15]
#### 5. Wayfarer
The final screen recorder in this list is Wayfarer, based on GTK4. It currently supports all the modern protocols such as Wayland, Pipewire with wireplumber. Its simple user interface supports screen recording with audio capture. You can also select a portion of your desktop or the entire screen for recording.
Furthermore, you can select the frame rate, select mouse capture and have the ability to delay the recording. Currently it supports webm, mp4 and mkv formats.
![Wayfarer screen recorder for Linux][16]
However, it is currently available in Arch User repository (AUR) for Arch Linux. You can setup any AUR helper such as Yay and install it using the following command.
```
yay -S wayfarer-git
```
**More details about Wayfarer**
[Home page & source code][17]
### Other excellent screen recorders which are currently not working with Wayland
Other than the above list, there are some excellent screen recorders available for X.Org which is currently broken in Wayland. As per my test in Ubuntu 22.10 and Fedora 37 wayland session, none of these works. You can only see a black screen in the recording file. I hope they get fixed in coming days and become compatible with Wayland.
- [Peek][18] (may work with XWayland backend)
- [Simple screen recorder][19]
- [Blue Recorder][20] (supports Wayland but is currently broken)
### Wrapping Up
From my personal experience, Wayland is faster and better. Since many modern distros are moving towards Wayland, you must change your workflow with replacement apps. I hope this list of screen recorders in Wayland helps you pick the one that suits you best.
Do let me know if you know of any other apps of a similar category which work with Wayland.
[Next:Top 10 32-Bit Linux Distributions in 2022 [Compared]][21]
--------------------------------------------------------------------------------
via: https://www.debugpoint.com/screen-recorders-linux-wayland/
作者:[Arindam][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.debugpoint.com/author/admin1/
[b]: https://github.com/lkxed
[1]: https://www.debugpoint.com/wp-content/uploads/2022/12/wayrec.jpg
[2]: https://www.debugpoint.com/wp-content/uploads/2021/12/Kooha-Best-Screen-Recoder-for-GNOME.jpg
[3]: https://www.debugpoint.com/wp-content/uploads/2022/12/Kooha-Settings.jpg
[4]: https://www.debugpoint.com/how-to-install-flatpak-apps-ubuntu-linux/
[5]: https://apps.gnome.org/app/io.github.seadve.Kooha/
[6]: https://github.com/SeaDve/Kooha
[7]: https://www.debugpoint.com/wp-content/uploads/2022/12/GNOME-Screen-recorder.jpg
[8]: https://www.debugpoint.com/install-ffmpeg-ubuntu/
[9]: https://www.debugpoint.com/wp-content/uploads/2022/12/Screen-capture-option.jpg
[10]: https://www.debugpoint.com/wp-content/uploads/2022/12/recording-in-OBS-Studio-in-Wayland.jpg
[11]: https://obsproject.com/
[12]: https://github.com/obsproject/obs-studio
[13]: https://linuxecke.volkoh.de/vokoscreen/vokoscreen-download.html
[14]: https://www.debugpoint.com/wp-content/uploads/2022/12/vokoscreenNG.jpg
[15]: https://linuxecke.volkoh.de/vokoscreen
[16]: https://www.debugpoint.com/wp-content/uploads/2022/12/Wayfarer-screen-recorder-for-Linux.jpg
[17]: https://github.com/stronnag/wayfarer
[18]: https://github.com/phw/peek
[19]: https://www.maartenbaert.be/simplescreenrecorder/
[20]: https://github.com/xlmnxp/blue-recorder
[21]: https://www.debugpoint.com/32-bit-linux-distributions/