Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 0968c32

Browse files
authored
Add files via upload
1 parent f28268f commit 0968c32

File tree

2 files changed

+71
-1
lines changed

2 files changed

+71
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# better-mpv-config
22

3-
Version 1.0 is out! It's an improved MPV Media Player configuration file that:
3+
Version 1.0.2 is out! It's an improved MPV Media Player configuration file that:
44

55
- has useful defaults
66
- offers profiles

Diff for: mpv.conf

+70
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,76 @@ ytdl-format=bestvideo[height<=?480][fps<=?60][vcodec!=?vp9]+bestaudio/best
134134
[V30]
135135
ytdl-format=bestvideo[height<=?480][fps<=?30][vcodec!=?vp9]+bestaudio/best
136136

137+
# Other Profiles
138+
139+
[4k60] # 2160p @ 60fps (3840x2160 UHDTV)
140+
profile-desc=4k60
141+
profile-cond=((width ==3840 and height ==2160) and p["estimated-vf-fps"]>=31)
142+
# deband=yes # necessary to avoid blue screen with KrigBilateral.glsl
143+
deband=no # turn off debanding because presume wide color gamut
144+
interpolation=no # turn off interpolation because presume 60fps
145+
# UHD videos are already 4K so no luma upscaling is needed
146+
# UHD videos are YUV420 so chroma upscaling is still needed
147+
glsl-shaders-clr
148+
# glsl-shaders="~/.config/mpv/shaders/KrigBilateral.glsl" # enable if your hardware can support it
149+
interpolation=no # no motion interpolation required because 60fps is hardware ceiling
150+
# no deinterlacer required because progressive
151+
152+
[4k30] # 2160p @ 24-30fps (3840x2160 UHDTV)
153+
profile-cond=((width ==3840 and height ==2160) and p["estimated-vf-fps"]<31)
154+
# deband=yes # necessary to avoid blue screen with KrigBilateral.glsl
155+
deband=no # turn off debanding because presume wide color gamut
156+
# UHD videos are already 4K so no luma upscaling is needed
157+
# UHD videos are YUV420 so chroma upscaling is still needed
158+
glsl-shaders-clr
159+
# glsl-shaders="~/.config/mpv/shaders/KrigBilateral.glsl" # enable if your hardware can support it
160+
# apply motion interpolation
161+
# no deinterlacer required because progressive
162+
163+
[full-hd60] # 1080p @ 60fps (progressive ATSC)
164+
profile-desc=full-hd60
165+
profile-cond=((width ==1920 and height ==1080) and not p["video-frame-info/interlaced"] and p["estimated-vf-fps"]>=31)
166+
# apply all luma and chroma upscaling and downscaling settings
167+
interpolation=no # no motion interpolation required because 60fps is hardware ceiling
168+
# no deinterlacer required because progressive
169+
170+
[full-hd30] # 1080p @ 24-30fps (NextGen TV/ATSC 3.0, progressive Blu-ray)
171+
profile-desc=full-hd30
172+
profile-cond=((width ==1920 and height ==1080) and not p["video-frame-info/interlaced"] and p["estimated-vf-fps"]<31)
173+
# apply all luma and chroma upscaling and downscaling settings
174+
# apply motion interpolation
175+
# no deinterlacer required because progressive
176+
177+
[full-hd-interlaced] # 1080i @ 24-30fps (HDTV, interlaced Blu-rays)
178+
profile-desc=full-hd-interlaced
179+
profile-cond=((width ==1920 and height ==1080) and p["video-frame-info/interlaced"] and p["estimated-vf-fps"]<31)
180+
# apply all luma and chroma upscaling and downscaling settings
181+
# apply motion interpolation
182+
vf=bwdif # apply FFMPEG's bwdif deinterlacer
183+
184+
[hd] # 720p @ 60 fps (HDTV, Blu-ray - progressive)
185+
profile-desc=hd
186+
profile-cond=(width ==1280 and height ==720)
187+
# apply all luma and chroma upscaling and downscaling settings
188+
interpolation=no # no motion interpolation required because 60fps is hardware ceiling
189+
# no deinterlacer required because progressive
190+
191+
[sdtv-ntsc] # 640x480, 704x480, 720x480 @ 30fps (NTSC DVD - interlaced)
192+
profile-desc=sdtv-ntsc
193+
profile-cond=((width ==640 and height ==480) or (width ==704 and height ==480) or (width ==720 and height ==480))
194+
# apply all luma and chroma upscaling and downscaling settings
195+
# apply motion interpolation
196+
vf=bwdif # apply FFMPEG's bwdif deinterlacer
197+
198+
[sdtv-pal] # 352x576, 480x576, 544x576, 720x576 @ 30fps (PAL broadcast or DVD - interlaced)
199+
profile-desc=sdtv-pal
200+
profile-cond=((width ==352 and height ==576) or (width ==480 and height ==576) or (width ==544 and height ==576) or (width ==720 and height ==576))
201+
# apply all luma and chroma upscaling and downscaling settings
202+
# apply motion interpolation
203+
vf=bwdif # apply FFMPEG's bwdif deinterlacer
204+
205+
[default]
206+
137207
# ===== File Type Profiles =====
138208
# GIF Files
139209
[extension.gif]

0 commit comments

Comments
 (0)