mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-07 15:19:55 +09:00
Change jpeg quality parameters
This commit is contained in:
1
TODO
1
TODO
@@ -204,6 +204,7 @@ Ffmpeg fixed black bars in videos on amd when using hevc and when recording at s
|
|||||||
https://github.com/FFmpeg/FFmpeg/commit/d0facac679faf45d3356dff2e2cb382580d7a521
|
https://github.com/FFmpeg/FFmpeg/commit/d0facac679faf45d3356dff2e2cb382580d7a521
|
||||||
Disable gpu screen recorder black bar handling when using hevc on amd when the libavcodec version is the one that comes after those commits.
|
Disable gpu screen recorder black bar handling when using hevc on amd when the libavcodec version is the one that comes after those commits.
|
||||||
Also consider the mesa version, to see if the gpu supports this.
|
Also consider the mesa version, to see if the gpu supports this.
|
||||||
|
The version is libavcodec >= 61.28.100
|
||||||
|
|
||||||
Use opengl compute shader instead of graphics shader. This might allow for better performance when games are using 100% of graphics unit which might fix issue with 100% gpu usage causing gpu screen recorder to run slow when not using vaapi to convert rgb to nv12(?).
|
Use opengl compute shader instead of graphics shader. This might allow for better performance when games are using 100% of graphics unit which might fix issue with 100% gpu usage causing gpu screen recorder to run slow when not using vaapi to convert rgb to nv12(?).
|
||||||
|
|
||||||
|
|||||||
10
src/main.cpp
10
src/main.cpp
@@ -2480,16 +2480,16 @@ static gsr_color_range image_format_to_color_range(gsr_image_format image_format
|
|||||||
static int video_quality_to_image_quality_value(VideoQuality video_quality) {
|
static int video_quality_to_image_quality_value(VideoQuality video_quality) {
|
||||||
switch(video_quality) {
|
switch(video_quality) {
|
||||||
case VideoQuality::MEDIUM:
|
case VideoQuality::MEDIUM:
|
||||||
return 60;
|
|
||||||
case VideoQuality::HIGH:
|
|
||||||
return 70;
|
return 70;
|
||||||
case VideoQuality::VERY_HIGH:
|
case VideoQuality::HIGH:
|
||||||
return 80;
|
return 80;
|
||||||
|
case VideoQuality::VERY_HIGH:
|
||||||
|
return 85;
|
||||||
case VideoQuality::ULTRA:
|
case VideoQuality::ULTRA:
|
||||||
return 95;
|
return 97;
|
||||||
}
|
}
|
||||||
assert(false);
|
assert(false);
|
||||||
return 80;
|
return 85;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: 10-bit and hdr.
|
// TODO: 10-bit and hdr.
|
||||||
|
|||||||
Reference in New Issue
Block a user