Skip to content

Commit

Permalink
tweak x265 encoder settings
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Dec 1, 2024
1 parent a4ce8ee commit f2a3e80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amalgamation/toxcore_amalgamation.c
Original file line number Diff line number Diff line change
Expand Up @@ -82707,7 +82707,7 @@ static void vc_init_encoder_h265(Logger *log, VCSession *vc, uint32_t bit_rate,
// LOGGER_API_WARNING(vc->av->tox, "H265 encoder init");

x265_param *param = x265_param_alloc();
if (x265_param_default_preset(param, "superfast", "zerolatency") != 0) {
if (x265_param_default_preset(param, "ultrafast", "zerolatency") != 0) {
// LOGGER_API_WARNING(vc->av->tox, "H265 encoder:x265_param_default_preset error");
printf("vc_init_encoder_h265: H265 encoder:x265_param_default_preset error\n");
// goto fail;
Expand Down
2 changes: 1 addition & 1 deletion toxav/codecs/h264/codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ static void vc_init_encoder_h265(Logger *log, VCSession *vc, uint32_t bit_rate,
// LOGGER_API_WARNING(vc->av->tox, "H265 encoder init");

x265_param *param = x265_param_alloc();
if (x265_param_default_preset(param, "superfast", "zerolatency") != 0) {
if (x265_param_default_preset(param, "ultrafast", "zerolatency") != 0) {
// LOGGER_API_WARNING(vc->av->tox, "H265 encoder:x265_param_default_preset error");
printf("vc_init_encoder_h265: H265 encoder:x265_param_default_preset error\n");
// goto fail;
Expand Down

0 comments on commit f2a3e80

Please sign in to comment.