aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
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
2023-03-04Support opus flt and fltpdec05eba
2023-03-04dddec05eba
2023-03-04expdec05eba
2023-03-04Enable experimental support to make sure opus/flac works on older ffmpeg ↵dec05eba
versions
2023-03-04Improve usage doc for -acdec05eba
2023-03-04Add opus/flac audio options (only supported my mp4/mkv)dec05eba
2023-03-04Add screen-direct-force option for VRR monitordec05eba
2023-02-22Fix broken video because of broken audio, most noticably in replaydec05eba
2023-02-16Add option to merge audio devices by separating audio inputs with | in one -adec05eba
2023-01-07Add info about audio names to readme filedec05eba
2023-01-01mmdec05eba
2022-12-20Merge code fixdec05eba
2022-12-20Make -c optional, select container format from file extension by defaultdec05eba
2022-12-20Better audio/video sync, disable broken screen-direct again (nvidia driver bug)dec05eba
2022-12-20Re-enable screen-direct, disable h264 forced fallback and use p6 againdec05eba
2022-12-20Attempt to reduce stuttering of videodec05eba
2022-12-20follow focuseddec05eba
2022-11-30wip inteldec05eba