From ad268357bda6d78c9aa5d1e2a85e4c3914be9ccb Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 12 Jun 2023 16:33:47 -0300 Subject: [PATCH] tweak values for larger videos --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e681544..6e5365d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -263,8 +263,10 @@ async fn upload_file( 11..=60 => 10, 61..=120 => 15, 121..=300 => 20, - 301.. => 30, - _ => 33, + 301..=1000 => 30, + 1001..=1200 => 40, + 1201.. => 60, + _ => 63, } as f64; let wanted_frame_skip = wanted_frame_skip_seconds * frame_rate;