Skip to content

Commit 0a3c2cf

Browse files
committed
tweak x265 encoder settings
1 parent 360669e commit 0a3c2cf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

amalgamation/toxcore_amalgamation.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82737,7 +82737,8 @@ static void vc_init_encoder_h265(Logger *log, VCSession *vc, uint32_t bit_rate,
8273782737
// x265_param_parse(param, "rd", "1");
8273882738
x265_param_parse(param, "intra-refresh", "1");
8273982739

82740-
x265_param_parse(param, "frame-threads", "3");
82740+
x265_param_parse(param, "frame-threads", "2");
82741+
x265_param_parse(param, "pools", "2");
8274182742

8274282743

8274382744
x265_param_parse(param, "log-level", "debug");

toxav/codecs/h264/codec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,8 @@ static void vc_init_encoder_h265(Logger *log, VCSession *vc, uint32_t bit_rate,
19721972
// x265_param_parse(param, "rd", "1");
19731973
x265_param_parse(param, "intra-refresh", "1");
19741974

1975-
x265_param_parse(param, "frame-threads", "3");
1975+
x265_param_parse(param, "frame-threads", "2");
1976+
x265_param_parse(param, "pools", "2");
19761977

19771978

19781979
x265_param_parse(param, "log-level", "debug");

0 commit comments

Comments
 (0)