Skip to content

Commit

Permalink
new libplacebo options
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Dec 16, 2023
1 parent 75e19d8 commit ab313eb
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# v7.0.0.4 Beta (2023-??-??)

- mpv.net is available via command line package manager winget.
- New libplacebo config editor options added.
- The conf editor uses a newly developed combo box control instead of radio buttons
whenever an option has more than 3 items.
- New zhongfly libmpv build.
Expand Down
62 changes: 62 additions & 0 deletions src/MpvNet.Windows/Resources/editor_conf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,68 @@ option = ewa_lanczos EWA Lanczos ("Jinc") reconstruction (slow).
option = ewa_lanczossharp Sharpened version of ewa_lanczos (slow).
option = ewa_lanczos4sharpest Very sharp version of ewa_lanczos, with anti-ringing (very slow).

name = downscaler
file = libplacebo
directory = Video/libplacebo/Scaling
default = hermite
help = Sets the filter used for downscaling. Defaults to hermite. The most relevant options, roughly ordered from fastest to slowest.
option = none Use the same filter as specified for upscaler
option = box Box averaging (very fast)
option = hermite Hermite-weighted averaging (fast)
option = bilinear Bilinear (triangle) averaging (fast)
option = bicubic Bicubic interpolation (fast)
option = gaussian Gaussian smoothing (fast)
option = catmull_rom Catmull-Rom cubic spline
option = mitchell Mitchell-Netravalia cubic spline
option = lanczos Lanczos reconstruction

name = plane_upscaler
file = libplacebo
directory = Video/libplacebo/Scaling
default = none
help = Override the filter used for upscaling planes, e.g. chroma/alpha. If set to none, use the same setting as upscaler, respectively.
option = none Use the same filter as specified for upscaler
option = box Box averaging (very fast)
option = hermite Hermite-weighted averaging (fast)
option = bilinear Bilinear (triangle) averaging (fast)
option = bicubic Bicubic interpolation (fast)
option = gaussian Gaussian smoothing (fast)
option = catmull_rom Catmull-Rom cubic spline
option = mitchell Mitchell-Netravalia cubic spline
option = lanczos Lanczos reconstruction

name = plane_downscaler
file = libplacebo
directory = Video/libplacebo/Scaling
default = none
help = Override the filter used for downscaling planes, e.g. chroma/alpha. If set to none, use the same setting as downscaler, respectively.
option = none Use the same filter as specified for upscaler
option = box Box averaging (very fast)
option = hermite Hermite-weighted averaging (fast)
option = bilinear Bilinear (triangle) averaging (fast)
option = bicubic Bicubic interpolation (fast)
option = gaussian Gaussian smoothing (fast)
option = catmull_rom Catmull-Rom cubic spline
option = mitchell Mitchell-Netravalia cubic spline
option = lanczos Lanczos reconstruction

name = frame_mixer
file = libplacebo
directory = Video/libplacebo/Scaling
default = oversample
help = Sets the filter used for frame mixing (temporal interpolation). Roughly ordered from fastest to slowest.
option = none Disable frame mixing, show nearest frame to target PTS
option = oversample Oversampling, only mix "edge" frames while preserving FPS
option = hermite Hermite-weighted frame mixing
option = linear Linear frame mixing
option = cubic Cubic B-spline frame mixing

name = antiringing_strength
file = libplacebo
directory = Video/libplacebo/Scaling
help = <0.0..1.0> Antiringing strength to use for all filters. A value of 0.0 disables antiringing, and a value of 1.0 enables full-strength antiringing. Defaults to 0.0.


name = screenshot-directory
file = mpv
width = 500
Expand Down

0 comments on commit ab313eb

Please sign in to comment.