Package Details: gpu-screen-recorder-git r795.ff6d468-1

Git Clone URL: https://aur.archlinux.org/gpu-screen-recorder-git.git (read-only, click to copy)
Package Base: gpu-screen-recorder-git
Description: A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux
Upstream URL: https://git.dec05eba.com/gpu-screen-recorder
Keywords: replay screen-recorder shadowplay streaming
Licenses: GPL-3.0-only
Conflicts: gpu-screen-recorder
Provides: gpu-screen-recorder
Submitter: DEC05EBA
Maintainer: DEC05EBA
Last Packager: DEC05EBA
Votes: 36
Popularity: 2.22
First Submitted: 2020-04-16 00:37 (UTC)
Last Updated: 2024-09-20 21:05 (UTC)

Dependencies (22)

Sources (1)

Pinned Comments

DEC05EBA commented on 2024-09-16 22:21 (UTC)

Merged audio was broken and it has now been fixed. Please update to the latest version. The latest version also have some other changes to make video smoother and improve performance on amd when system usage is 100%, when playing very heavy games. Please report if screen recording stopped working after this update.

DEC05EBA commented on 2023-04-18 01:56 (UTC) (edited on 2024-06-09 22:16 (UTC) by DEC05EBA)

Videos are recorded in variable framerate mode by default. If you have issues with the video then play it with mpv or switch to constant frame rate mode instead by using the "-fm cfm" option.

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 Next › Last »

DEC05EBA commented on 2022-09-21 20:22 (UTC) (edited on 2022-09-21 20:23 (UTC) by DEC05EBA)

@Typology the file you posted doesn't have any audio track for some reason. Maybe imgur removed the audio track because its missing audio, because it looks like imgur also re-encoded the file. Can you upload the file to an file sharing website such as mega.co.nz instead?

Typology commented on 2022-09-21 20:18 (UTC)

not that's on my arch using this package. @DEC05EBA

DEC05EBA commented on 2022-09-21 20:16 (UTC) (edited on 2022-09-21 20:23 (UTC) by DEC05EBA)

@Typology is this a ubuntu/popOs/etc specific issue?. Did you record that on ubuntu LTS 22.04?

Typology commented on 2022-09-21 19:32 (UTC)

hey, I'm facing an issue, I have no audio in the recordings, using pulseaudio. I'm passing this option -a "$(pactl get-default-sink).monitor"

and this is its output: alsa_output.pci-0000_00_1f.3.analog-stereo which seems right, also I can see from pavucontrol that gpu-screen-recorder is capturing audio properly, as you can see here: https://i.imgur.com/9GgyM0D.mp4 so I don't think it's an issue in my setup.

DEC05EBA commented on 2022-09-11 20:41 (UTC)

@Typology thanks for reporting. I think it should be fixed now. channel_layout is deprecated in new ffmpeg so it will be removed by ffmpeg devs in the future. I added a version check to use the deprecated code. I dont have ubuntu lts so I didn't test it properly, but I believe it should work.

Typology commented on 2022-09-11 18:37 (UTC) (edited on 2022-09-11 18:39 (UTC) by Typology)

hey, current latest branch cannot be compiled with ubuntu LTS 22.04 (that includes popos and many other ubuntu-based distros) that's because ffmpeg (and therefore libavcodec) are on 4.4 still, which uses channel_layout for audio channels, instead of ch_layout used in 5.0+, so that will produce an error like this when compiling:

src/main.cpp: In function ‘AVCodecContext* create_audio_codec_context(AVFormatContext*, int)’:
src/main.cpp:390:47: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘ch_layout’; did you mean ‘channel_layout’?
  390 |     av_channel_layout_default(&codec_context->ch_layout, 2);
      |                                               ^~~~~~~~~
      |                                               channel_layout
src/main.cpp:390:5: error: ‘av_channel_layout_default’ was not declared in this scope
  390 |     av_channel_layout_default(&codec_context->ch_layout, 2);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function ‘AVFrame* open_audio(AVCodecContext*)’:
src/main.cpp:516:36: error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘ch_layout’; did you mean ‘channel_layout’?
  516 |     av_channel_layout_copy(&frame->ch_layout, &audio_codec_context->ch_layout);
      |                                    ^~~~~~~~~
      |                                    channel_layout
src/main.cpp:516:69: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘ch_layout’; did you mean ‘channel_layout’?
  516 | channel_layout_copy(&frame->ch_layout, &audio_codec_context->ch_layout);
      |                                                              ^~~~~~~~~
      |                                                              channel_layout
src/main.cpp:516:5: error: ‘av_channel_layout_copy’ was not declared in this scope
  516 |     av_channel_layout_copy(&frame->ch_layout, &audio_codec_context->ch_layout);
      |     ^~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function ‘int main(int, char**)’:
src/main.cpp:1192:125: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘ch_layout’; did you mean ‘channel_layout’?
 1192 | device, audio_tracks.back().input_name, audio_codec_context->ch_layout.nb_channels, audio_codec_context->frame_size) != 0) {
      |                                                              ^~~~~~~~~
      |                                                              channel_layout

any ideas how can this be resolved?

DEC05EBA commented on 2022-09-06 12:45 (UTC)

@ThatOneSeong thanks. Also thanks for testing on pipewire. It was a temporary fix for another problem but I think it should be properly fixed now. It works on both pulseaudio and pipewire now.

ThatOneSeong commented on 2022-09-06 05:26 (UTC)

The CFR change is a pleasant surprise, and I can see getting a lot of use from multiple audio tracks as well! Thank you for your continued work!

FWIW, it seems that PipeWire 0.3.57 has caused specifically the audio track to crackle and desync every couple tens of seconds in a recording. Reverting to PW 0.3.56 resolves it, but not sure whether it's this or that which causes these symptoms

DEC05EBA commented on 2022-09-01 23:03 (UTC)

The recorded video now uses constant frame rate and should work fine with kdenlive, vlc and other software.

DEC05EBA commented on 2022-08-24 08:24 (UTC)

@Typology thanks, but the videos are still in variable frame rate format which means some video editors (kdenlive) and some video players (vlc) cant handle them correctly (works with blender, mpv and youtube though). I need to make them constant frame rate videos first before the videos work well everywhere :<