aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2023-07-21Support wlroots screen capture, which doesn't require kms root access and ↵dec05eba
also captures cursor
2023-07-18Fix wayland capture on amd/inteldec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-06-20Translate -c mkv to -c matroskadec05eba
2023-06-07Mention that only h264/hevc is supported at the momentdec05eba
2023-06-04Make sure window id hex starts with 0x (makes monitor recording more ↵dec05eba
reliable), allow CC and CXX to set compiler for build
2023-05-29Update readme about flatpakdec05eba
2023-05-22Attempt to fix nvidia driver bug at program exit (freeze) by exit without atexitdec05eba
2023-05-18Use av_packet_alloc instead of deprecated memset on packet sizedec05eba
2023-05-17Fix all warningsdec05eba
2023-05-12kms_vaapi: support multiple drm planes (fixes capture on some multi monitor ↵dec05eba
systems)
2023-04-27manjaro *****dec05eba
2023-04-27Temporary disable opus/flac because it breaks multiple audio, fix possible ↵dec05eba
audio/video desync on nvidia
2023-04-22kms_vaapi: add cursor capture for amd/intel monitor capturedec05eba
Always find largest drm buf, to fix some cases when there are multiple planes and we accidentally capture a drm buf that isn't the target buf. We always want the full SCREEN drm buf.
2023-04-18Only capture frame if num frames to capture > 0dec05eba
2023-04-18Show shorter form of help on argument errordec05eba
2023-04-18Replace tabs with 4 spacesdec05eba
2023-04-18Made fps update toggleableXnipS
2023-04-16Find /dev/dri/card path that exists (the first one)dec05eba
2023-04-15Fix AMD single monitor rotated display being rotated in recordingdec05eba
If there is only one monitor connected and it's rotated then the drm buf will also be rotated. This only the case with AMD and only when using one monitor! To fix this, we perform color conversion with an opengl shader which allows us to also rotate the texture. VAAPI supports rotation but it's not implemented by AMD at least. Performance seems to be the same as when using VAAPI, even when GPU usage is 100%.
2023-04-13Move back receive packet to main threaddec05eba
Fixes crash if encode fps is less than capture fps
2023-04-13Move back video encoding to main thread, move receive packet to separate threaddec05eba
When video is encoded at slower than capture rate that would cause a crash (happens on steam deck).
2023-04-11Temporary disable monitor recording on amd/inteldec05eba
2023-04-10Cleanup of aframe if same ptsdec05eba
2023-04-10Fix messed up audio pts when merging audiodec05eba
2023-04-10Revert "Revert: encoding video on separate thread"dec05eba
This reverts commit ce9465b391e4843d90feca1e33f8d8d4a1d2a9b7.
2023-04-10Revert: encoding video on separate threaddec05eba
2023-04-10kms: fix crash on intel when using hevc, remove debug print, remove jpeg ↵dec05eba
color range (incorrect colors on intel h264)
2023-04-09Use /usr/bin/gsr-kms-server constant path for pkexecdec05eba
2023-04-08Better amd/intel quality tuningdec05eba
2023-04-07Implement kms vaapi capturedec05eba
2023-04-03Cleanup replay packets after usedec05eba
2023-04-02Fix -k descriptiondec05eba
2023-04-01Dont initialize vaapi on nvidia (fixes crash on startup)dec05eba
2023-04-01Rename drm to vaapiSteam Deck User
2023-04-01Cleanup xcomposite_drmSteam Deck User
2023-04-01Use vaapi to do rgb->yuv420p color conversionSteam Deck User
Enable window capture for amd/intel. Properly check if h264/hevc is supported on amd/intel before using codec.
2023-04-01Xsync after overclock (and reset), dont set colorspace datadec05eba
2023-03-31Install coolbits if using nvidia, add preserve video memory install scriptdec05eba
2023-03-27Better usage formattingdec05eba
2023-03-26Add code for variable frameratedec05eba
2023-03-26Remove yuv444 for nowdec05eba
2023-03-26Move video encoding to separate thread, remove pixel_format that doesn't do ↵dec05eba
anything and was bugged
2023-03-26Add pixfmt yuv420p/yuv444p option to set lossless colordec05eba
2023-03-26Remove unused and invalid flagsdec05eba
2023-03-24Do not automatically install coolbits because if used on amd/intel then xorg ↵dec05eba
wont boot
2023-03-21Add error message if using wayland (without xwayland) or xwaylanddec05eba
2023-03-17Add overclocking option -oc to workaround a NVIDIA driver bug (forcefully ↵dec05eba
set to p2 state when using cuda)
2023-03-17vaapi wipSteam Deck User
2023-03-10Fix for ffmpeg 6 (nvenc hevc doesn't support b frames)dec05eba