128 Commits

Author SHA1 Message Date
loki
f2863cceb7 Properly scale image on VAAPI 2021-06-05 12:25:19 +02:00
loki
6b9ed7fcb3 Add option to select render device for VAAPI 2021-06-05 10:20:36 +02:00
loki
f33a587218 Fix software encoder 2021-06-04 21:35:00 +02:00
loki
bdb9ed9001 Perform image format conversion for VAAPI on the gpu 2021-06-04 21:12:06 +02:00
loki
ff1ea1a63e Use VAAPI for hardware encoding on Linux 2021-05-29 16:25:37 +02:00
loki
1c4435312e maintain aspect ratio when using software encoder 2021-05-24 18:08:32 +02:00
Conn O'Griofa
c6a0eeef3f Force IDR frames for libx265 encoder
Parameter is needed to avoid infinite black screen with
"Waiting for IDR frame" in moonlight-qt (3.1.3) on Windows.
2021-05-20 00:22:28 +01:00
loki
3d8a99f541 clang-format 2021-05-17 21:21:57 +02:00
loki
1050978246 Add warning to ignore errors during encoder validation 2021-05-12 23:22:13 +02:00
loki
2e9a1cfbba absolute mouse coordinates regardless of the number of monitors attached on Linux 2021-05-11 23:51:45 +02:00
loki
1d84c8f9ce Correct dimensions for touchscreen when single monitor attached 2021-05-11 23:30:56 +02:00
loki
ade2ef3a15 Fix profile values for amfvce 2021-05-09 16:19:05 +02:00
loki
67df04e0a2 Fix cursor position on lower resolution screens 2021-05-06 16:51:59 +02:00
loki
88c3828ad3 Fixed not testing for 10bit pixels support 2021-05-05 12:17:25 +02:00
loki
c19853f03f Add color for BT701 colorspace 2021-05-05 11:28:57 +02:00
loki
1b7e103ef6 Allow resizing the image during conversion 2021-05-04 10:21:56 +02:00
loki
900d59b3ac Dynamically set colors during runtime 2021-05-03 22:06:55 +02:00
loki
37a9256587 Render NV12 color format 2021-05-02 22:35:19 +02:00
loki
438ae6a761 Don't stop streaming when UAC is running 2021-04-24 15:53:48 +02:00
loki
0cfb440cf6 Added config examples to the config file 2021-04-24 14:23:12 +02:00
Elia Zammuto
bb5b003dd5 Disabled key frames when not needed 2021-04-01 20:27:59 +02:00
Elia Zammuto
99777c8e82 Added more params 2021-04-01 14:25:38 +02:00
Elia Zammuto
4daaa1f089 Added some keyframes 2021-03-31 14:11:21 +02:00
Garrett
020e2069cb Add amd decoder support 2021-01-28 18:38:11 -05:00
loki
ff7a5aa1ea Don't use old images when encoding 2020-05-01 22:54:21 +02:00
loki
1862662b3a Prevent queue from growing to large, eating up all memory 2020-04-24 22:10:08 +02:00
loki
70bf11ec27 Increase accuracy of fps for nvenc and proper pixel format 2020-04-19 00:10:47 +03:00
loki
d81ba12aa8 Merge branch 'nvenc' of github.com:loki-47-6F-64/sunshine into nvenc 2020-04-17 19:19:12 +02:00
loki
dd13131fe6 Fix video freezing when resizing display with 2 or more sessions 2020-04-17 19:18:55 +02:00
loki
5a4055f313 Pair and connect with Moonlight-iOS 2020-04-17 18:42:55 +02:00
loki
87f3ab0181 Fix nvenc 2020-04-17 12:28:23 +02:00
loki
525e8b3c6d Refactor video.cpp 2020-04-15 19:16:20 +02:00
loki
c7a72553c4 Configure settings nvenc 2020-04-14 00:15:24 +03:00
loki
679f74e53c Fix multicasting for nvenc 2020-04-12 02:33:17 +03:00
loki
7edaa0cce0 Encode with nvenc smoothly 2020-04-10 15:39:50 +03:00
loki
c21038af88 Encode video with nvenc 2020-04-08 02:15:08 +03:00
loki
65f44cc885 Fix encoder flags not set properly 2020-04-07 18:57:59 +03:00
loki
ceb784c648 Test capabilities of the encoders 2020-04-07 14:54:56 +03:00
loki
8e3df43caf Pass both nvenc and software in validation 2020-04-07 00:34:52 +03:00
loki
afbca0f6cd initialize nvenc 2020-04-06 23:15:03 +03:00
loki
f2636b163e General structure complete 2020-04-02 20:13:44 +02:00
loki
4de547228c Fix mouse format unsupported and incorrect version string 2020-04-01 14:33:05 +02:00
loki
456d33cf77 Add abillity to supply options for specific encoders 2020-03-31 23:46:41 +02:00
loki
3ceb9b37a0 Reinitialize the video encoder in addition to the capturing device 2020-03-31 21:18:33 +02:00
loki
94181fd047 Prevent unnecessary copies of entire frames on Windows 2020-03-27 21:57:29 +01:00
loki
55705af922 Prepare for hardware encoders 2020-03-25 10:51:32 +01:00
loki
68a7cece49 Fix lack of video when starting a session on Windows without wiggling mouse 2020-03-20 15:53:19 +01:00
loki
e0721aa104 Use latest captured images periodically 2020-03-14 18:06:11 +01:00
loki
b4f1ef1127 Fixed deadlock on unexpected connection loss 2020-03-14 14:38:09 +01:00
loki
38ec7c22fb Fix error scaling img when getting a timeout instead of an img 2020-02-23 20:48:19 +01:00