From 89e8c88a15a4cdad32cdd86e8c6236640e62a125 Mon Sep 17 00:00:00 2001 From: Mike Johnston Date: Mon, 9 Feb 2026 21:34:56 -0500 Subject: [PATCH] better words fix validation --- app.py | 4 ++-- templates/index.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app.py b/app.py index f8efdc4..09bda63 100644 --- a/app.py +++ b/app.py @@ -159,8 +159,8 @@ def process_video(): # Get quality (CRF value) quality = data.get('quality', 23) - # Ensure quality is within valid range (18-32) - quality = max(18, min(32, int(quality))) + # Ensure quality is within valid range (18-50) + quality = max(18, min(50, int(quality))) # Output settings for H.264 MP4 cmd.extend([ diff --git a/templates/index.html b/templates/index.html index d88ca6a..02506ba 100644 --- a/templates/index.html +++ b/templates/index.html @@ -596,16 +596,16 @@ Quality: High CRF: 23 - +

💡 Lower CRF = Better quality, larger file. Higher CRF = More compressed, smaller file.

- - + + - - + +