mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix spelling
This commit is contained in:
parent
8f77028fcb
commit
9ca3b79291
1 changed files with 5 additions and 7 deletions
|
|
@ -229,7 +229,7 @@ impl FFmpegPreset {
|
|||
quality = Some(q)
|
||||
} else {
|
||||
return Err(format!(
|
||||
"'{}' is not a valid ffmpeg preset (unknown token '{}'",
|
||||
"'{}' is not a valid ffmpeg preset (unknown token '{}')",
|
||||
s, token
|
||||
));
|
||||
}
|
||||
|
|
@ -286,12 +286,10 @@ impl FFmpegPreset {
|
|||
output.extend(["-c:v", "h264_nvenc", "-c:a", "copy"])
|
||||
}
|
||||
FFmpegHwAccel::Apple => {
|
||||
// Apple's Video Toolbox encoders ignore `-crf`,
|
||||
// use `-q:v` instead. It's on a scale of 1-100,
|
||||
// 100 being lossless. Just did some math
|
||||
// ((-a/51+1)*99+1 where `a` is the old crf value)
|
||||
// so these settings very likely need some more
|
||||
// tweeking.
|
||||
// Apple's Video Toolbox encoders ignore `-crf`, use `-q:v`
|
||||
// instead. It's on a scale of 1-100, 100 being lossless. Just
|
||||
// did some math ((-a/51+1)*99+1 where `a` is the old crf value)
|
||||
// so these settings very likely need some more tweaking
|
||||
match quality {
|
||||
FFmpegQuality::Lossless => output.extend(["-q:v", "65"]),
|
||||
FFmpegQuality::Normal => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue