Commit Graph

226 Commits

Author SHA1 Message Date
dec05eba
c43fa5e4ee Better detection of window destroyed 2022-03-31 01:53:39 +02:00
dec05eba
e49d30048f Close screenrecorder when target window is closed 2022-03-31 01:50:06 +02:00
dec05eba
7228d36647 Create pid file to detect if gpu-screen-recorder is already running and only allow one instance to run at once 2022-03-31 01:24:27 +02:00
dec05eba
5a4d8ce21b Attempt to fix audio/video desync and fps mayhem when
using screen-direct recording
2022-03-28 05:15:18 +02:00
dec05eba
5ca83d45cf Remove direct capture sound hack (fixes audio on fedora) 2022-03-25 13:41:28 +01:00
dec05eba
8117c92ee5 Fix replay crash when not recording audio 2022-03-25 03:33:01 +01:00
dec05eba
a99f010603 Redesign replay to save to file and continue on SIGUSR1 2022-03-25 03:25:36 +01:00
dec05eba
5415f56140 Attempt to fix audio in replay mode in screen-direct 2022-03-24 19:11:23 +01:00
dec05eba
e7de2006e6 Fix replay if no audio stream 2022-03-24 19:04:48 +01:00
dec05eba
d231d93891 Fix fullscreen window forcefully getting unfullscreened on i3 and bspwm 2022-03-24 09:59:04 +01:00
dec05eba
2423e50d44 Add screen-direct option for direct NvFBC 2022-03-24 00:38:35 +01:00
dec05eba
efc15622a9 Attempt to fix audio timestamp being totally wrong on fedora 2022-03-23 19:24:12 +01:00
dec05eba
c595c7ffb5 Add more info about gnome issue in stderr 2022-03-23 17:02:30 +01:00
dec05eba
36fd4516db Add -s option to set record area size, fix workspace switch freezing recording on bspwm, make background black after resize 2022-03-22 23:08:39 +01:00
dec05eba
821cacf9ff Attempt 2 at fixing black screen under dwm/i3 after resize 2022-03-22 17:53:53 +01:00
dec05eba
af2a211767 Fix resize to fullscreen black video 2022-03-22 15:57:29 +01:00
dec05eba
ff8fa9f0f7 Record black screen instead of crash when compositor + window is not supported at the moment 2022-03-22 13:33:02 +01:00
dec05eba
f81bdfb29e Use /usr/lib64 instead of /usr/lib, which makes it compatible with gentoo 2022-03-22 00:29:20 +01:00
dec05eba
97e0a6ad1b Do not add audio track if not recording audio 2022-02-26 01:43:43 +01:00
dec05eba
35d2cc64fa Fix code after avcodec->codec was deprecated 2022-02-25 04:16:46 +01:00
dec05eba
a6e0e16f57 Change format 2021-10-11 18:33:39 +02:00
dec05eba
bbfe02f72b Use interleaved write 2021-09-07 17:55:39 +02:00
dec05eba
04d229caf3 Use direct capture when possible 2021-07-29 06:45:55 +02:00
dec05eba
1f71584a77 only use hevc when recording the entire screen 2021-07-23 18:22:57 +02:00
dec05eba
4617e2c45a Add option to record a display or all displays. This requires nvfbc 2021-07-23 17:33:37 +02:00
dec05eba
7b39bd81c0 Fix first frame being black 2021-07-19 06:06:06 +02:00
dec05eba
a7259c6ff5 Add medium quality and set quality to medium by default 2020-09-01 01:35:33 +02:00
dec05eba
5537ebad6d Add medium quality 2020-08-31 23:22:14 +02:00
dec05eba
c94ce44dbe Fix black video when resizing to smaller window size 2020-08-31 06:49:25 +02:00
dec05eba
c622d2d799 Revert select code. Causes laggy video for some reason 2020-08-31 04:19:11 +02:00
dec05eba
5f84ad1c76 Attempt to reduce frame skip 2020-08-31 03:11:01 +02:00
dec05eba
534c9fd299 Change qmin and qmax again. They are too low 2020-08-31 02:56:42 +02:00
dec05eba
008f119f4c Use select on x11 display instead of sleeping and use xdamage again 2020-08-31 01:21:11 +02:00
dec05eba
e80bab33ca Use rgb instead of rgba to save memory 2020-08-30 22:54:24 +02:00
dec05eba
9ff163feb9 Disable unused mipmap 2020-08-30 22:26:31 +02:00
dec05eba
fabeb1707f Go all out on quality.. 2020-08-30 06:17:38 +02:00
dec05eba
6fadab748d Set ideal qmax value 2020-08-30 05:22:52 +02:00
dec05eba
d8550f9183 Higher quality for 'high' 2020-08-30 05:15:56 +02:00
dec05eba
b193f6fee4 Add -q quality flag. Set to high by default. Valid values: high, ultra 2020-08-30 05:04:10 +02:00
dec05eba
d69aded7fa Slightly improve performance by only swapping buffer on redraw 2020-08-30 04:06:49 +02:00
dec05eba
0780efe87d Vastly improve quality by using qmin and qmax (uses higher bitrate) 2020-08-29 04:02:34 +02:00
dec05eba
c1f5d7ee4d Add nvidia-like instant replay option 2020-08-28 05:06:10 +02:00
dec05eba
b2fc88336a Make audio optional in usage string 2020-08-27 23:15:52 +02:00
dec05eba
78ab032cf5 Make audio recording optional 2020-08-26 02:54:05 +02:00
dec05eba
bf9df281d2 Fix screen recording for certain windows (such as termite) 2020-07-05 07:49:13 +02:00
dec05eba
6343c5a76b Smoother? 2020-07-05 07:05:39 +02:00
dec05eba
ef3767d750 Improve video quality 2020-07-03 02:36:38 +02:00
dec05eba
5bfbdec58f Change quality, otherwise twitch craps itself 2020-07-03 01:57:33 +02:00
dec05eba
ed52692324 Use ctrl+c instead of closing window to stop recording 2020-07-01 23:53:06 +02:00
dec05eba
0ec013395f Improve quality of lower resolution video, make video smoother 2020-06-21 14:41:11 +02:00
dec05eba
9c1d2e9394 32 bit color 2020-06-21 14:41:11 +02:00
dec05eba
79026f574c Fix recording on systems that use 10 bit colors 2020-06-21 14:41:11 +02:00
dec05eba
f9e99e57f9 Add interactive record script 2020-06-21 14:41:11 +02:00
dec05eba
4418871737 Add gpl license to files 2020-06-21 14:41:11 +02:00
dec05eba
58d4aeb397 asdf 2020-06-21 14:41:11 +02:00
dec05eba
32b66c95ff Add pulseaudio, parse command line args 2020-06-21 14:41:11 +02:00
dec05eba
2fcd3ee3e5 Add audio support 2020-06-21 14:41:11 +02:00
dec05eba
5e60805c36 Fix gl errors 2020-06-21 14:41:11 +02:00
dec05eba
2b4aeb90f3 wip 2020-06-21 14:41:11 +02:00
dec05eba
7fcd7e4f4f Only redirect the target window 2020-06-21 14:40:36 +02:00
dec05eba
e223556b5d Rename to gpu screen recorder 2020-06-21 14:40:36 +02:00
dec05eba
19dfa524d4 do not crash when resizing window 2020-03-31 20:02:18 +02:00
dec05eba
07a8635c55 add debug handlers for x11 2020-03-31 19:29:54 +02:00
dec05eba
9635df6287 Fix timestamp and video duration: Add header and trailer to output file 2020-03-31 19:02:52 +02:00
dec05eba
ac7eec12f0 Do not trigger resize when window is moved 2020-03-31 18:53:07 +02:00
dec05eba
066f2b652c Allow setting container format and fps 2020-03-31 18:44:46 +02:00
dec05eba
34a000d836 output encoded video to stdout instead and add twitch stream script 2020-03-30 21:21:30 +02:00
dec05eba
eff9ff10cc format code 2020-03-30 17:38:55 +02:00
dec05eba
e74278a042 Fix frame timing 2020-03-30 17:24:31 +02:00
dec05eba
405f810457 blabla 2020-03-29 17:48:17 +02:00
dec05eba
7c8c97b1a8 add alsa 2020-03-29 09:10:24 +02:00
dec05eba
bcb79582c5 Use window resolution 2020-03-29 01:14:00 +01:00
dec05eba
0180a4e50e Fix speed being 0.5 2020-03-28 14:01:36 +01:00
dec05eba
eb911f4372 fully in gpu 2020-03-28 09:46:47 +01:00
dec05eba
35810337f7 works 2020-03-28 08:47:53 +01:00
DEC05EBA
d841066768 first 2020-01-08 13:34:55 +01:00