Skip to content

Commit a6b92de

Browse files
authored
Fix svt-av1 crf > 63 (#347)
1 parent 282dbdc commit a6b92de

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased (0.11)
22
* svt-av1: Support crf quarter steps. Default `--crf-increment` to 0.25 for this encoder.
3-
This requires svt-av1 >= v4.0.0, if using an older version you may want to use crf-search with `--crf-increment 1`.
3+
This requires svt-av1 >= [v4.0.0](https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/CHANGELOG.md#400---2026-01-13),
4+
if using an older version you may want to use crf-search with `--crf-increment 1`.
45
* svt-av1: Widen default crf search range [10, 55] -> [5, 70].
56

67
# v0.10.4

src/command/args/encode.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ impl Encode {
331331
vcodec: Arc::clone(vcodec),
332332
pix_fmt,
333333
vfilter: self.vfilter.as_deref(),
334-
crf,
334+
// ffmpeg svt-av1 crf above 63 don't work, but up to 70 does work in -svtav1-params
335+
crf: if svtav1 { crf.min(63.0) } else { crf },
335336
preset,
336337
output_args: args,
337338
input_args,

0 commit comments

Comments
 (0)