Skip to content

Defining Lanczos scaler width described wrong in documentation #1137

@Dobypeti

Description

@Dobypeti

Hi,
The way to define the width of the Lanczos scaler if using it is said incorrectly in the documentation. If you use the format --scaler lanczos[1-9] with [1-9] being a number in that range to define the width of the lanczos scaler, you get a crash. The format that does work is --scaler lanczos:param0=[1-9], while simply --scaler lanczos can be used for the default width of 3.

Relevant parts of the documentation:

Valid scalers are based on the scalers available in [FFmpeg](https://ffmpeg.org/ffmpeg-scaler.html#toc-Scaler-Options), including `lanczos[1-9]` with `[1-9]` defining the width of the lanczos scaler.

* `> av1an -i input.mkv -o output.mkv --sc-downscale-height 540 --scaler lanczos3` - Downscale to 540p using lanczos3

Av1an/av1an/src/main.rs

Lines 287 to 288 in 07ae6f6

/// Valid scalers are based on the scalers available in ffmpeg, including
/// lanczos[1-9] with [1-9] defining the width of the lanczos scaler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions