Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipping on colorbars.mp4 file #1

Open
bbspills opened this issue Jan 12, 2024 · 0 comments
Open

Clipping on colorbars.mp4 file #1

bbspills opened this issue Jan 12, 2024 · 0 comments

Comments

@bbspills
Copy link

Clipping

clipping on the red/magenta and slightly on the yellow/cyan/green.

This is using your colorbars.mp4 file in your HDR Test media folder. Tested this on multiple displays but below is for an HP Monitor

Using latest v3 build

Below is mpv.conf used

msg-level=auto_profiles=warn,autocrop=warn,autoload=warn,cplayer=warn

fullscreen = yes

#Video
vo=gpu-next
hwdec=d3d11va
video-output-levels=full
#video-align-y=1 # move video to the bottom of the screen

#GPU Renderer
#fbo-format=rgba32f #an alternative is rgba16hf for less perf impact
fbo-format=rgba16hf #similar to MadVR

gpu-api=d3d11
gpu-context=d3d11
#d3d11-output-format=rgb10_a2
d3d11-output-format=auto

glsl-shaders-clr

luma upscaling

glsl-shaders="d:\mpv\shaders\FSRCNNX_x2_8-0-4-1.glsl"
scale=ewa_lanczos4sharpest
#scale-blur=0.981251 no need with sharpest and gpu-next
#luma downscaling

note: ssimdownscaler is tuned for mitchell and downscaling=no

glsl-shaders-append="d:\mpv\shaders\SSimDownscaler.glsl"
dscale=mitchell
linear-downscaling=no

chroma upscaling and downscaling

glsl-shaders-append="d:\mpv\shaders\KrigBilateral.glsl"
cscale=mitchell

correct-downscaling=yes
sigmoid-upscaling=yes
#scaler-resizes-only=yes ##fallback to bilinear scaling if no resizing is needed. ## not needed from gpu-next

scale-antiring=0.6 #luma upscale deringing not needed with ewa* filters
dscale-antiring=0.6 # luma downscale deringing
cscale-antiring=0.6 # chroma upscale deringing

#scaler-lut-size=8 now it's hardcoded to max size in MPV/LibPlacebo

dither-depth=auto
temporal-dither=yes # may cause flickering on LCD monitors. Remove this line if needed.
dither=fruit

deband=no
#deband-iterations=4
#deband-threshold=48
#deband-range=16
#deband-grain=48

#Audio
audio-spdif=ac3,dts,dts-hd,eac3,truehd #HDMI passthrough. Includes Atmos and DTSX
alang=en,eng

input-default-bindings = no
input-ar-delay = 500
input-ar-rate = 20
keep-open = no
keep-open-pause = no
osd-duration = 4000
#osd-playing-msg = '${filename}'
#script-opts = osc-scalewindowed=1.5,osc-hidetimeout=2000,console-scale=1
screenshot-directory = '~~desktop/'

#subtitles
subs-with-matching-audio=yes
slang=en,eng

[protocol.https]
#osd-playing-msg = '${media-title}'

############

Profiles

############

[bt.2100-pq]
profile-cond=get("video-params/primaries") == "bt.2020" and get("video-params/gamma") == "pq"
profile-restore=copy
target-contrast=1000
tone-mapping=spline
gamut-mapping-mode=perceptual
hdr-compute-peak=yes
allow-delayed-peak-detect=no
hdr-peak-percentile=99.995
hdr-contrast-recovery=0.30
target-peak=250
icc-profile=D:\mpv\ICC\HP_E233.icm
vf=format:dolbyvision=no
osd-playing-msg = "HDR to SDR.2020"

[end]
profile-cond=eof_reached
profile-restore=copy-equal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant