Giter Site home page Giter Site logo

dvershinin / green-recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhsabbagh/green-recorder

54.0 5.0 3.0 916 KB

A simple screen recorder for Linux desktop. Supports Wayland & Xorg

License: GNU General Public License v3.0

Python 96.15% Makefile 0.58% Shell 3.27%
wayland screen-recorder capture-video linux gui centos

green-recorder's People

Contributors

chamfay avatar dvershinin avatar fitojb avatar gort818 avatar lexruee avatar megavenik avatar mgedmin avatar mhsabbagh avatar moceap avatar momeni avatar orschiro avatar rafael-neri avatar seltzered avatar sharkezz avatar top-sekret avatar unixfox avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

green-recorder's Issues

Install issue

Hello, again!

Thanks for the update that enables MP4, it seems to work fine here. But the installation issue still persists on my side.

When I try to install following the instruction in README:

python setup.py install

the problem is that all the files go inside the egg folder, so no icon in the launcher: the .desktop and icon files are not copied to the appropriate locations. Also, launching the app only works from the cloned repo because it is the only way it can find ui.glade.

By the other hand, using

pip install .

everything goes to the right place. But I would suggest that you replace the line you have added in commit 3f02ab6 and use this instead, so the all will also look for the ui file inside ~/.local:

os.path.join(os.path.expanduser("~"), ".local", "share", "green-recorder", "ui.glade")

From what I have seen, it should work with any Python version. Another benefit is that it can be easily uninstalled with pip uninstall green-recorder.

Unable to install on fedora 32

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
Last metadata expiration check: -3 days, 14:24:05 ago on Tue 16 Jun 2020 02:38:19 PM EDT.
release-latest.rpm                                                                                                                                                                                             26 kB/s |  14 kB     00:00    
Error: 
 Problem: conflicting requests
  - nothing provides epel-release needed by getpagespeed-extras-release-10-15.noarch
(try to add '--skip-broken' to skip uninstallable packages)

sudo yum install green-recorder
Last metadata expiration check: -3 days, 14:24:18 ago on Tue 16 Jun 2020 02:38:19 PM EDT.
No match for argument: green-recorder
Error: Unable to find a match: green-recorder

When recording using mp4 format, there is a shift between video and audio.

Hello.

I noticed this behavior while recording a video for some tests.

Audio seems to start two or three seconds before related video is rendered.

I attached two videos of a game in Vice. You can hear the title music two or three seconds before the title screen is shown.

I'm facing this behaviour in both Wayland and X11. I compressed the file using zip, mp4 file were marked as corrcupted :(
wayland.zip
x11.zip

Doesn't really quit after recording

  • Launch
  • Record
  • Stop
  • Close

The result is that green-recorder is still in the process list.

The same does not happen when a recording wasn't done (e.g. launch and close).

when using pipewire, pacmd is not available (but pactl is !)

in recorder/recorder.py, you use pacmd list-sources | grep -e device.description, which does not work with pipewire.
The same result is, however, available with pulseaudio and pipewire if you use pactl list sources | grep -e device.description

Note : I do not know what is the expected output of pacmd list-sources | grep -e device.string (and pactl list sources | grep -e device.string gives no output on my system). However,it appears that audiosourcesids is never used…

huge size when recording a gif

I recently tried to record a gif with Green Recorder
I noticed that after recording coupling of minutes the following:

  1. The file is huge

-rw-r--r-- 1 mgaber mgaber 383938461696 May 12 12:56 Filters.gif
-rw-r--r-- 1 mgaber mgaber 358G May 12 12:56 Filters.gif
2. The file won't open

org.gnome.Shell.Screencast was not provided by any .service files

I have error runnig green-recorder

 ~  green-recorder
You are recording on: wayland
Traceback (most recent call last):
  File "/usr/bin/green-recorder", line 33, in <module>
    sys.exit(load_entry_point('green-recorder==3.2.10', 'gui_scripts', 'green-recorder')())
  File "/usr/bin/green-recorder", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/recorder/__init__.py", line 1, in <module>
    from .recorder import main
  File "/usr/lib/python3.9/site-packages/recorder/recorder.py", line 112, in <module>
    GNOMEScreencast = bus.get('org.gnome.Shell.Screencast', '/org/gnome/Shell/Screencast')
  File "/usr/lib/python3.9/site-packages/pydbus/proxy.py", line 44, in get
    ret = self.con.call_sync(
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell.Screencast was not provided by any .service files (2)

I installed green-recorder AUR package

Crash on start under wayland

Hi! According to the Arch wiki, your app supports wayland. I, however, installed it through the AUR and got this error:

$ green-recorder
You are recording on: wayland
Traceback (most recent call last):
  File "/usr/bin/green-recorder", line 33, in <module>
    sys.exit(load_entry_point('green-recorder==3.2.10', 'gui_scripts', 'green-recorder')())
  File "/usr/bin/green-recorder", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/recorder/__init__.py", line 1, in <module>
    from .recorder import main
  File "/usr/lib/python3.10/site-packages/recorder/recorder.py", line 112, in <module>
    GNOMEScreencast = bus.get('org.gnome.Shell.Screencast', '/org/gnome/Shell/Screencast')
  File "/usr/lib/python3.10/site-packages/pydbus/proxy.py", line 44, in get
    ret = self.con.call_sync(
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell.Screencast was not provided by any .service files (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.