config.enc_mode = global_flags.av1_preset;
config.intra_period_length = 63; // Approx. one second, conforms to the (n % 8) - 1 == 0 rule.
config.source_width = global_flags.width;
config.enc_mode = global_flags.av1_preset;
config.intra_period_length = 63; // Approx. one second, conforms to the (n % 8) - 1 == 0 rule.
config.source_width = global_flags.width;