diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-07 16:34:24 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-07 16:34:24 +0100 |
commit | ab662f1ed5c6165e54bb6cfa2ff4c06de12c1a99 (patch) | |
tree | 8eca6f60c5cd4e9e39a8fcde9fad510e2c9d14f5 /src/main.cpp | |
parent | 74d30f16adb6debe1fa131bf20f1eaad16936af0 (diff) |
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index e98cf13..0366b3e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -812,9 +812,9 @@ static void open_video_software(AVCodecContext *codec_context, VideoQuality vide if(bitrate_mode == BitrateMode::QP) video_software_set_qp(codec_context, video_quality, hdr, &options); - av_dict_set(&options, "preset", "fast", 0); + av_dict_set(&options, "preset", "veryfast", 0); + av_dict_set(&options, "tune", "film", 0); dict_set_profile(codec_context, GSR_GPU_VENDOR_INTEL, color_depth, &options); - av_dict_set(&options, "tune", "zerolatency", 0); if(codec_context->codec_id == AV_CODEC_ID_H264) { av_dict_set(&options, "coder", "cabac", 0); // TODO: cavlc is faster than cabac but worse compression. Which to use? |