Chnowa howa libplacebo? El moteur GPU wra taswiret mpv
Chnowa howa libplacebo? A3ref el librairie GPU elli t5addem gpu-next fi mpv, VLC 4.0, el tone mapping HDR w Dolby Vision.
Bil mokhtasar
- libplacebo hiya librairie C open-source tnaffedh el scaling, gestion d'alwen w tone mapping HDR 3la shaders GPU.
- 5arjet mel code asasi mta3 mpv, w tawwa t5addem gpu-next fi mpv w VLC 4.0.
- Fiha algorithmes ITU-R BT.2390, debanding, dithering w ta7wil métadonnées dynamiques Dolby Vision.
- MacLC ydammej algorithmes libplacebo w yporte décodeur RPU Dolby Vision mte3ha l-Apple Silicon.
Fi hal saf7a
El librairie libplacebo hiya moteur rendu vidéo GPU w gestion d’alwen open-source b-performance 3alya. Extraction mel code el dakhli mta3 lecteur mpv 3la yed Niklas Haas, hiya elli ta3ti el algorithmes mathématiques elli y7awlou images mdecodyin l-taswira s7i7a 3la l-écran mte3ek.
Kol ma lecteur vidéo ykabbar 1080p l-4K, ydha8at film HDR 4,000 nits l-écran a9al dhaw, yna7i el banding fidh-dhalma, wella ya9ra métadonnées dynamiques Dolby Vision, yesta3mel shaders GPU. libplacebo tlemm hal routines fi librairie C we7da te5dem 3la macOS, Linux w Windows.
Chnowa howa libplacebo w menin jé?
Zman, el lecteurs kenou yesta3mlou CPU wella matériel 2D bsayet. M3a wosoul 4K, 8K, 10-bit Rec. 2020 w HDR, el pipelines el 9dom ma 3adouch yekfiw. El communauté mta3 mpv 3amlet vo_gpu b-shaders GPU, ama el code ken lasa9 fi mpv w ma ynajmouch projects o5rin kima VLC w FFmpeg yesta3mlouh.
Fi 2017, Niklas Haas (“haasn”) 5arrej hal algorithmes fi librairie mosta9ella libplacebo (licence LGPL-2.1-or-later), b-backends l-Apple Metal 3la macOS, Vulkan 3la Linux/Android, Direct3D 11 3la Windows w OpenGL.
Jarrebha
Fitting a bright HDR film onto a dimmer screen
- As graded (a screen as bright as the film)
- Clipped
- Rolled off (BT.2390)
Kifeh libplacebo ta3mel tone mapping HDR 3al GPU?
Studio mastering ynajem yrigel film 4K Blu-ray 3la moniteur 4,000 nits, fi 7in écran ordinateur yousel bin 400 w 1,000 nits. Ken el lecteur y9oss el dhaw el zayed, es-s7ab wel explosions ywalliw abyadh safi; w ken yhabet edh-dhaw el kol, el film ywalli bahhet.
libplacebo t7all hedha fi shaders GPU b-fonctions mathématiques:
- ITU-R BT.2390 EETF: El mi3yar el 3alami lel tone mapping. Y7afedh 3la 1:1 fidh-dhalma wel mid-tones w yhabet el highlights b-chwaya 7atta l-sa9f l-écran.
- Courbes Spline w Hermite: Interpolation na3ma bin pic el mastering w pic l-écran.
- Reinhard w Mobius: Courbes tadha8ot el dynamique el wasa3 l-SDR b-kafa2a.
Zid 3la hedha, libplacebo t7awel el gamut d’alwen (Rec. 2020 l-DCI-P3 wella sRGB) b-précision 64-bit float bech el alwen el 9wiyya ma tefsedch. A9ra akther fi chnowa howa tone mapping.
Chnowa yfarra9 gpu-next mta3 mpv 3la vo_gpu el 9dim?
| Khasiya | mpv el 9dim (vo=gpu) |
El jil el jdid (vo=gpu-next via libplacebo) |
|---|---|---|
| Architecture | Code C mdammej fi mpv | Librairie modular (libplacebo) b-tests automatiques |
| Précision d’alwen | 16-bit / 32-bit float | 64-bit float b-di99a colorimétrique 3alya |
| Dolby Vision | Ma fammech reshaping dynamique | Lecture RPU natif w tatbi9 scène b-scène |
| Tone Mapping HDR | Courbes statiques | ITU-R BT.2390, détection pic dynamique, spline |
| Debanding & Dithering | Shader spatial bsayet | Debanding temporel w spatial d9i9 |
| Grain de film AV1 | CPU logiciel | Compute shader GPU temps réel |
Chouf mpv 3al Mac bech ta3ref kifeh ye5dem 3la macOS.
Kifeh libplacebo te5dem m3a métadonnées Dolby Vision?
HDR10 yesta3mel métadonnées statiques lel film el kol. Dolby Vision yeb3ath métadonnées dynamiques scène b-scène fil flux RPU (Reference Processing Unit). Zman, 9rayet el RPU kenet te7tej puces propriétaires men Dolby. libplacebo kasret hal 7ajer b-décodeur w reshaping open-source 3al GPU: ta9ra el RPU, t7awel el 12-bit IPTPQc2/YCbCr l-RGB linéaire, w ttabba9 el courbes 3la 7asb dhaw l-écran mte3ek.
Kifeh VLC 4.0 wel lecteurs el jdod yesta3mlou libplacebo?
VLC 4.0 baddel el sortie vidéo el 9dima b-pipeline mabni 3la libplacebo (modules/video_output/libplacebo/).
El moteur Metal mta3 MacLC yekhdem m3a el Mac b-3 mézzat: shaders Metal sra3, adaptation directe wa9t tna9al el fenêtre bin écran XDR w écran SDR, w 3 styles d’image (Accurate, Balanced, Bright) fi Settings › HDR & Colour. Chouf zeda filtres scaling vidéo mfassrin.
Ken t7eb tjarreb hal rendu GPU wel Dolby Vision dynamique 3la Mac Apple Silicon, jarreb MacLC.
As2ela yet3awdou
L-ach yesta3mlou libplacebo?
El lecteurs kima mpv w VLC yesta3mlou libplacebo bech yaffichiw el vidéo 3al GPU. Teddaber el redimensionnement, ta7wil espaces d'alwen, debanding, dithering, w tone mapping HDR-l-SDR b-shaders GPU.
Chnowa el far9 bin gpu w gpu-next fi mpv?
Fi mpv, vo=gpu howa el pilote el 9dim el maktoub fi west mpv. vo=gpu-next y3awdhou w y3addi el pipeline el kol lel librairie el mosta9ella libplacebo.
Ya5i libplacebo yed3em Dolby Vision?
Ey. libplacebo fiha lecture w reshaping natif lel métadonnées dynamiques Dolby Vision (RPU), bech ttabba9 courbes scène b-scène 3la écrans 3adiyin.
libplacebo mawjouda 3la macOS?
Ey. Te5dem directement 3la macOS b-Apple Metal, Vulkan (via MoltenVK) w OpenGL 4.1, w mawjouda fi Homebrew b-brew install libplacebo.