bShaders

所属分类:DirectX
开发工具:HLSL
文件大小:8576KB
下载次数:0
上传日期:2023-05-25 12:03:32
上 传 者sh-1993
说明:  视频播放效果过滤器(DirectX.hlsl像素着色器,mpv.hook)
(Video playback Effects Filters (DirectX .hlsl pixel shaders, mpv .hook))

文件列表:
A-pack (0, 2023-08-21)
A-pack\Shaders (0, 2023-08-21)
A-pack\Shaders\bDim-35.hlsl (543, 2023-08-21)
A-pack\Shaders\bExposure.08.hlsl (843, 2023-08-21)
A-pack\Shaders\bLift.hlsl (588, 2023-08-21)
A-pack\Shaders\bShadows-08.hlsl (1032, 2023-08-21)
A-pack\Shaders\bShadows.hlsl (1033, 2023-08-21)
A-pack\Shaders\brighten 20.hlsl (518, 2023-08-21)
A-pack\Shaders\brighten-10.hlsl (495, 2023-08-21)
A-pack\Shaders\brightenD.06.hlsl (1034, 2023-08-21)
A-pack\Shaders\bw.hlsl (1497, 2023-08-21)
A-pack\Shaders\bw_luma.hlsl (482, 2023-08-21)
A-pack\Shaders\contrast.10.hlsl (1109, 2023-08-21)
A-pack\Shaders\dSat.hlsl (710, 2023-08-21)
A-pack\Shaders\expand10_240.hlsl (1295, 2023-08-21)
A-pack\Shaders\exposure.08.hlsl (862, 2023-08-21)
A-pack\Shaders\tooBright.hlsl (1072, 2023-08-21)
A-pack\Shaders\tooDark.12.hlsl (1403, 2023-08-21)
A-pack\Shaders\tooDark.24.hlsl (1168, 2023-08-21)
A-pack\Shaders\tooDark.hlsl (793, 2023-08-21)
A-pack\Shaders\vibrance-15.hlsl (808, 2023-08-21)
A-pack\Shaders\vibrance.35.hlsl (988, 2023-08-21)
A-pack\Shaders11 (0, 2023-08-21)
A-pack\Shaders11\bDim-35.hlsl (613, 2023-08-21)
A-pack\Shaders11\bLift.hlsl (642, 2023-08-21)
A-pack\Shaders11\bShadows-08.hlsl (1111, 2023-08-21)
A-pack\Shaders11\brighten 20.hlsl (621, 2023-08-21)
A-pack\Shaders11\bw.hlsl (1574, 2023-08-21)
A-pack\Shaders11\bw_luma.hlsl (561, 2023-08-21)
A-pack\Shaders11\contrast.10.hlsl (1190, 2023-08-21)
A-pack\Shaders11\dSat.hlsl (788, 2023-08-21)
A-pack\Shaders11\expand10_240.hlsl (1372, 2023-08-21)
A-pack\Shaders11\exposure.08.hlsl (941, 2023-08-21)
A-pack\Shaders11\tooBright.hlsl (1151, 2023-08-21)
A-pack\Shaders11\tooDark-30.hlsl (1105, 2023-08-21)
A-pack\Shaders11\tooDark.24.hlsl (1245, 2023-08-21)
A-pack\Shaders11\vibrance-15.hlsl (889, 2023-08-21)
A-pack\Shaders11\vibrance.35.hlsl (1069, 2023-08-21)
A-pack\mpv (0, 2023-08-21)
... ...

# bShaders Effects/Filters for video playback This project aims at providing shaders (DirectX .hlsl or mpv .hook glsl files), tools and comparison screenshots for realtime video Effects. The focus is on best implementation (and tuned parameter settings) of lightweight gpu shaders. Shaders tested on MPC-HC video player (EVR-CP Dx9) on integrated graphics. https://www.videohelp.com/software/Media-Player-Classic-Home-Cinema MPC-HC enables hardware-accelerated playback of local and internet videos without requiring the installation of additional codecs. Mpv is an open-source cross-platform video player: https://mpv.io/installation/ how to use shaders in mpv: https://forum.doom9.org/showthread.php?p=1926639#post1926639 Effects: - Pixelate (Mosaic) - Edge detection (in Luma): Sobel, Prewitt, Frei-Chen - FilmGrain/Noise (bNoise.hlsl lightweight additive noise pixel shader and others) Blur: - Single-pass gSmooth (Gaussian Blur 3x3, hw.3) - Multi-pass (Gaussian 7-tap, hw.5, hw.9, quarter-frame hw.9, Kawase, Dual-Kawase, BoxBlur(3x) with adjustable size) - Blurred pillarbox borders (fill_bb.avs avisynth script) Art/Style Effect for Video content (vs Film): - Dots - CrossHatch - bStipple comic book style - bSobel_Edge: grayscale Sobel Edge detection + saturated color to achieve a cartoon effect Tools: - barMask (Custom Border Masks + frame shift) ...Quadri-Frame 2x2 visualization, ex: ROGB or separate grayscale RYGB components - bStrobe (Time-based Effect) - test_linearSampling (test whether Hardware Linear Sampling (hw) is working in player/gpu-driver): ...it works in mpv but not in mpc-hc/be ! - test_LimitedRange (limited range tools using Avisynth and ffmpeg) ...bHighL.hlsl (out-of-range pixel highlighting) Mpv: - NoChroma.hook (Grayscale source shader) - simple examples for embedded textures and compute shaders See also my shader gists: https://gist.github.com/butterw --- basic intro about hlsl/glsl pixel shaders here: https://forum.videohelp.com/threads/397797-Pixel-shaders-for-video-playback-%28-hlsl%29 Unofficial video player shaders guide: https://forum.doom9.org/showthread.php?t=181584 ![](https://github.com/butterw/bShaders/blob/master/./assets/Posterize.vs.Posterize2_8-b.png)

近期下载者

相关文件


收藏者