vmaf_percentile to 1, default vmaf rate to 1 (#641)
* vmaf_percentile to 1, default vmaf rate to 1 * fix default Co-authored-by: Redzic <yusufredzic@gmail.com>
This commit is contained in:
parent
1a1c679c73
commit
7af57610c8
|
@ -462,7 +462,7 @@ pub struct CliOpts {
|
|||
pub probes: u32,
|
||||
|
||||
/// Framerate for probes, 1 - original
|
||||
#[clap(long, default_value_t = 4, help_heading = "TARGET QUALITY")]
|
||||
#[clap(long, default_value_t = 1, help_heading = "TARGET QUALITY")]
|
||||
pub probing_rate: u32,
|
||||
|
||||
/// Use encoding settings for probes specified by --video-params rather than faster, less accurate settings
|
||||
|
|
|
@ -15,7 +15,7 @@ use crate::settings::EncodeArgs;
|
|||
use crate::vmaf::{self, read_weighted_vmaf};
|
||||
use crate::Encoder;
|
||||
|
||||
const VMAF_PERCENTILE: f64 = 0.25;
|
||||
const VMAF_PERCENTILE: f64 = 0.01;
|
||||
|
||||
// TODO: just make it take a reference to a `Project`
|
||||
pub struct TargetQuality<'a> {
|
||||
|
@ -382,7 +382,7 @@ pub fn log_probes(
|
|||
pub const fn adapt_probing_rate(rate: usize) -> usize {
|
||||
match rate {
|
||||
1..=4 => rate,
|
||||
_ => 4,
|
||||
_ => 1,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue