mhsabbagh / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
616 stars 118 forks source link

Recording at high fps, mouse movement still choppy #62

Closed aditiapratama closed 6 years ago

aditiapratama commented 6 years ago

I tried to record screen on wayland at 60 fps, but it seems my mouse movement on video a little bit laggy, seems like it was using 15fps or something.

Is this known issue?

mhsabbagh commented 6 years ago

I didn't personally see this issue. I believe nobody else mentioned it here too. Remember that on Wayland (GNOME), Green Recorder uses the built-in screencasting tool in GNOME itself. Nothing from outside.

fzwoch commented 6 years ago

For the record: GNOME ScreenCast hard codes the cursor position interval to 100 ms.

GNOME/gnome-shell/src/shell-recorder.c:

/* The time (in milliseconds) between querying the server for the cursor
 * position.
 */
#define UPDATE_POINTER_TIME 100

I don't see a way to change this. Maybe take this to the GNOME guys to update the cursor position for each frame.