aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2023-10-31Try re-enabling use of modified in linux dma buf ext egl create imagedec05eba
2023-10-27Dont include unused drm_fourcc.h, include missing unistd.h for _exitdec05eba
2023-10-22Fix vram leak for realsdec05eba
2023-10-21Attempt to fix amd/intel driver bug vram leak, force cfr when livestreaming, ↵dec05eba
replace std::filesystem with posix create replay directory automatically, recursively
2023-10-15Install systemd service in install script, skip empty audio devicedec05eba
Stop systemd service with SIGINT
2023-10-15Add the ability to save replays into folders by date4censord
This adds a new flag, '-mf' with a boolean argument If this is set, replays are organized in folders by date. With this, replays are saved like: $output_folder/2023-10-15/Replay_15-39-28.mp4 instead of all into the same folder.
2023-10-01fflush after puts to fix piping replay pathdec05eba
2023-08-22Fallback to another video codec if the selected video codec is not auto and ↵dec05eba
it's not supported
2023-08-15Change nvenc preset to p5 to workaround new nvidia driver bugdec05eba
2023-08-13kms vaapi: fix capture bug (incorrect video size) caused by shadowed variable...dec05eba
2023-08-09Test fix recent regression in ffmpeg that increases cpu usagedec05eba
2023-07-25Dont use jpeg color range (fixes too dark image on amd/intel in flatpak)dec05eba
2023-07-23Improve color accuracy on amd/inteldec05eba
2023-07-22Exit with exit code 10 if pkexec failsdec05eba
2023-07-22AMD/Intel capture cursordec05eba
2023-07-21Fix monitor capture on amd/intel + x11dec05eba
2023-07-21Fix window capturedec05eba
2023-07-21Fix capture not working on intel + waylanddec05eba
Ignore nouveau cards. Fix lag on start of recording on amd/intel by only loading egl once, on startup.
2023-07-21vfr on wayland (even on nvidia), add uninstall scriptdec05eba
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