From 2013d2e61d494640a8f1e944b435591817ec26cf Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Tue, 14 Apr 2026 01:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B8=E4=BC=98=E5=85=88=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=B0=8F=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmps_hevc_crf18.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmps_hevc_crf18.py b/cmps_hevc_crf18.py index 990a7d6..9ca597b 100755 --- a/cmps_hevc_crf18.py +++ b/cmps_hevc_crf18.py @@ -176,6 +176,7 @@ def main(): errmsg = 'No input files provided' if not files: raise SystemExit(errmsg) + files.sort(key=lambda x: x.stat().st_size) for idx, infile in enumerate(files, 1): logger.info(f"[{idx}/{len(files)}] {infile.name}")