Skip to content

Commit

Permalink
Improve --vfilter docs. Describe VMAF usage & mention --reference-vfi…
Browse files Browse the repository at this point in the history
…lter

Relates to #213
  • Loading branch information
alexheretic committed Jul 21, 2024
1 parent 434b0f0 commit 29be347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Don't allow many '\r'-ending updates to cause all other stored info to be truncated.
- Increase max heap storage of output ~4k->32k to allow more complete output in some cases.
* Fix caching unaffected by `--reference-vfilter` usage.
* Improve `--vfilter` docs. Describe VMAF usage & mention `--reference-vfilter`.

# v0.7.16
* Fix VMAF score parse failure of certain successful ffmpeg outputs.
Expand Down
6 changes: 5 additions & 1 deletion src/command/args/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ pub struct Encode {
#[arg(short, long, value_hint = ValueHint::FilePath)]
pub input: PathBuf,

/// Ffmpeg video filter applied to the input before av1 encoding.
/// Ffmpeg video filter applied to the input before encoding.
/// E.g. --vfilter "scale=1280:-1,fps=24".
///
/// See https://ffmpeg.org/ffmpeg-filters.html#Video-Filters
///
/// For VMAF calculations this is also applied to the reference video meaning VMAF
/// scores represent the quality of original+vfilters compared to the encoded result.
/// To override this behaviour set --reference-vfilter.
#[arg(long)]
pub vfilter: Option<String>,

Expand Down

0 comments on commit 29be347

Please sign in to comment.