Attempt to reduce stuttering of video

This commit is contained in:
dec05eba
2022-10-18 09:02:24 +02:00
parent 4e6fc174fe
commit 9d0d02ff6f
3 changed files with 323 additions and 2 deletions

View File

@@ -808,6 +808,8 @@ int main(int argc, char **argv) {
VideoCodec video_codec;
const char *codec_to_use = args["-k"].value();
fprintf(stderr, "Info: forcing codec to h264 to investigate stuttering with some configs\n");
codec_to_use = "h264";
if(!codec_to_use)
codec_to_use = "auto";