Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
t-nil committed May 26, 2024
1 parent f259c44 commit 689f900
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions av1an/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,12 @@ pub struct CliOpts {
#[clap(long, default_value_t = 4, help_heading = "Target Quality")]
pub probes: u32,

/// Framerate for probes, 1 - original
#[clap(long, default_value_t = 1, help_heading = "Target Quality")]
/// Only use every nth frame for VMAF calculation, while probing.
///
/// WARNING: The resulting VMAF score might differ from if all the frames were used; usually it should be lower,
/// which means to get the same quality you must also usually lower the --target-quality. Going higher than
/// n=4 usually results in unusable scores, so this is disabled.
#[clap(long, default_value_t = 1, value_parser = clap::value_parser!(u16).range(1..=4), help_heading = "Target Quality")]
pub probing_rate: u32,

/// Use encoding settings for probes specified by --video-params rather than faster, less accurate settings
Expand Down

0 comments on commit 689f900

Please sign in to comment.