All Projects → dvershinin → green-recorder

dvershinin / green-recorder

Licence: GPL-3.0 license
A simple screen recorder for Linux desktop. Supports Wayland & Xorg

Projects that are alternatives of or similar to green-recorder

townshell
For Townscaper, an application providing additional keyboard shortcuts, tools to manipulate .scape files, screen recording
Stars: ✭ 40 (+2.56%)
Mutual labels:  screen-recorder
wayland-explorer
Easily browse and read Wayland protocols documentation
Stars: ✭ 78 (+100%)
Mutual labels:  wayland
docker-hands-on-guide
Hands on guide for docker, k8s cluster lightweight virtualization.
Stars: ✭ 25 (-35.9%)
Mutual labels:  centos
wayland-desktop
Gentoo overlay for Wayland related ebuilds
Stars: ✭ 19 (-51.28%)
Mutual labels:  wayland
devtoolset-container
Devtoolset container images based on Red Hat Software Collections, that provide a platform for building and running C and C++ applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 40 (+2.56%)
Mutual labels:  centos
cliphist
wayland clipboard manager
Stars: ✭ 47 (+20.51%)
Mutual labels:  wayland
japokwm
A wlroots and dwl based tiling wayland compositor based around creating layouts
Stars: ✭ 99 (+153.85%)
Mutual labels:  wayland
Linux-Tuning-SIP-Servers
Optimizing System Performance for SIP servers
Stars: ✭ 34 (-12.82%)
Mutual labels:  centos
ZFScreenRecorder
录屏,支持暂停、取消
Stars: ✭ 38 (-2.56%)
Mutual labels:  screen-recorder
python-wayland
Pure Python 3 Wayland protocol implementation
Stars: ✭ 23 (-41.03%)
Mutual labels:  wayland
ansible-role-php-versions
Ansible Role - PHP Versions
Stars: ✭ 78 (+100%)
Mutual labels:  centos
docker-centos8-ansible
CentOS 8 Docker container for Ansible playbook and role testing.
Stars: ✭ 45 (+15.38%)
Mutual labels:  centos
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (-5.13%)
Mutual labels:  wayland
swayfire
Sway/I3 inspired tiling window manager for Wayfire
Stars: ✭ 146 (+274.36%)
Mutual labels:  wayland
screencast
Interface to record a X11 desktop
Stars: ✭ 91 (+133.33%)
Mutual labels:  screen-recorder
gentoo-project-gnome-without-systemd
GNOME Without Systemd
Stars: ✭ 89 (+128.21%)
Mutual labels:  wayland
installer-linux
💾 SinusBot Installer for Debian, Ubuntu and CentOS - Installs the SinusBot with a single command.
Stars: ✭ 28 (-28.21%)
Mutual labels:  centos
nginx-conf
Nginx configuration
Stars: ✭ 18 (-53.85%)
Mutual labels:  centos
rde
Tools for managing reproducible development environments. Mirror of https://sr.ht/abcdw/rde/
Stars: ✭ 137 (+251.28%)
Mutual labels:  wayland
RHEL7-CIS
Ansible RHEL 7 - CIS Benchmark Hardening Script
Stars: ✭ 28 (-28.21%)
Mutual labels:  centos

Green Recorder

Green Recorder

About

A simple desktop recorder for Linux systems. Built using Python, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces. Also, Green Recorder is the first desktop program to support Wayland display server on GNOME session.

The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut (And only MP4 and WebM for Wayland's GNOME session). You can stop the recording process easily by right-clicking the icon and choosing "Stop Record". Or middle-clicking the recording icon in the notifications area (but doesn't work on all interfaces).

You can choose the audio input source you want from the list. You can also set the default values you want by simply changing them in the interface, and the program will save them for you for the next time you open it.

How it works?

It uses the D-Bus API to connect to the built-in screencasting tool in GNOME Shell. It uses this to record video. To record audio, it launches an instance of ffmpeg in the background. After the recording is finished, it merges the two files into the WebM file.

For Xorg, it uses ffmpeg only for both audio and video.

By default, On Wayland only, Green Recorder uses the V8 encoder instead of the default V9 encoder in GNOME Shell because of the CPU & RAM consumption issue with V9. Which - now - should also give you better performance. On Xorg, each format uses its own default encoder.

Also, for GIF format, Green Recorder first records the required video as a raw video. And then it generated the GIF image from the raw video. In this way, you'll get an optimized GIF image size which is at least 10x better than the normal ffmpeg recording.

Run a command after recording

You can run a command after recording. Put $1 in place where you want to pass the video's filename to the command, e.g. /path/to/command $1.

Localization

Green Recorder supports localization. If you want to translate the program into your language, fork the repository on GitHub and create a new file under "po" folder with your language ISO code (like fr.po, de.po, cs.po..). And translate the strings from there.

Alternatively, you can open the green-recorder.pot file using programs like PoEdit and start translating.

Download

CentOS/RHEL 8

=== "RHEL 8"

```bash
# On RHEL 8 it is required to enable the `codeready-builder-for-rhel-8-*-rpms` repository since EPEL 
# packages may depend on packages from it:
ARCH=$( /bin/arch )
subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
# Generally required repo:
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# For ffmpeg dependency
dnf -y install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
# For the Green Recorder package
dnf -y install https://extras.getpagespeed.com/release-latest.rpm    
dnf -y install green-recorder
```

=== "CentOS 8 and other RHEL clones"

```bash
# On CentOS 8 it is required to enable the powertools repository since EPEL packages may depend on 
# packages from it:
dnf -y install dnf-plugins-core
dnf config-manager --set-enabled powertools
# or, on older CentOS 8 releases:
dnf config-manager --set-enabled PowerTools
```

After that, proceed to install Green Recorder:

# Generally required repo:
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# For ffmpeg dependency
dnf -y install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
# For the Green Recorder package
dnf -y install https://extras.getpagespeed.com/release-latest.rpm    
dnf -y install green-recorder

Ubuntu 18.04/18.10/19.04 (NOT 20.04 or later) or Linux Mint 19/19.1

Make sure you have enabled the multiverse and universe repositories before trying to install the program from the PPA (to be able to download the dependencies). You can install Green Recorder from the following PPA:

sudo add-apt-repository ppa:fossproject/ppa
sudo apt update
sudo apt install green-recorder

Arch Linux

You can install Green recorder using your AUR helper:

yaourt -S green-recorder-git

Other Distributions

The program supports Python 2.7 and Python >= 3.6.

It is highly discouraged to install using source code. Use packages instead, where available.

The source code is available to download via: ZIP archive. You can simply download it and install the dependencies on your distribution:

  • For Debian systems:
    • via apt (debian packages): gawk, x11-utils, ffmpeg, pulseaudio, xdg-open (or xdg-utils), imagemagick
    • via pip3 (python packages): gir1.2-appindicator3-0.1, gobject, urllib3, pydbus, configparser
  • For RPM based systems: python3 python3-pip python3-gobject-base python3-pydbus gettext libappindicator-gtk3 ffmpeg

Do not run pip as root.

To install Green Recorder for current user, run without sudo:

pip3 install --user .

License

The program is released under GPL 3.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].