Skip to content

Commit

Permalink
[mpv] Add scaler examples to README
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Aug 13, 2023
1 parent aa1a18a commit 2a47540
Show file tree
Hide file tree
Showing 20 changed files with 110 additions and 922 deletions.
167 changes: 103 additions & 64 deletions mpv/.config/mpv/README.md

Large diffs are not rendered by default.

Binary file added mpv/.config/mpv/github/img/dscale/bilinear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/catrom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/dpid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/lanczos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/mitchell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/spline36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/ssim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mpv/.config/mpv/github/img/dscale/zewiacubic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions mpv/.config/mpv/mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ dither-depth=auto
## Use Catrom for scaling chroma instead of Mitchell
cscale-param1=0

## Use Zewia's cubic splines for downscaling
## Use Zewia's cubic splines for downscaling. See README for examples.
# TODO: Figure out how to use different dscale params when downscaling supersampled frames (should be in docs, but >lazy)
dscale-param1=-0.5
dscale-param2=-0.25

Expand All @@ -72,7 +73,7 @@ volume-max=200
## Subs
# Settings for text-based subtitle files (ASS, SRT)
# This style is an approximation of the GJM_Main dialogue style
### NOTE: Currently disabled while I try and sort it into profiles
### !NOTE: Currently disabled while I try and sort it into profiles
sub-ass-override=no # Toggle with 'k'
sub-ass-force-style=playresx=100%,playresy=100%
sub-font="Gandhi Sans"
Expand Down Expand Up @@ -114,8 +115,10 @@ screenshot-directory="D:/Users/light/Pictures/mpv"
#### Custom Profiles

### Filtering
# TODO: figure out what's actually good to have here. I hated basically every older script. Issues welcome.

### Color Correction
# TODO: Move these over to ffmpeg calls, no VS required. Should be way faster and require fewer deps. Issues/PRs welcome.

# Adjust gamma to fix the 0.88 QuickTime bug
[gamma]
Expand Down Expand Up @@ -151,7 +154,7 @@ vf-remove=@to709

### Info and diagnostics

# Write frame information ontop of the video
# Write frame information ontop of the video via VS.
[info_videoframe]
profile-desc="Printing VideoFrame Info"
vf-append=@frameinfo:vapoursynth="~~/vs/info/frameinfo.py":buffered-frames=3:concurrent-frames=4
Expand All @@ -165,7 +168,7 @@ vf-append=@globalinfo:vapoursynth="~~/vs/info/globals.py":buffered-frames=3:conc
profile-desc="Stop printing Frame Info"
vf-remove=@globalinfo

# Histograms and other colour/level information.
# Histograms and other colour/level information via VS.
[histogram_levels]
profile-desc="Histogram (Levels)"
vf-append=@histolevels:vapoursynth="~~/vs/histogram/levels.py":buffered-frames=3:concurrent-frames=4
Expand Down
Loading

0 comments on commit 2a47540

Please sign in to comment.