better words fix validation
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m10s
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m10s
This commit is contained in:
4
app.py
4
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([
|
||||
|
||||
Reference in New Issue
Block a user