• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Microsoft Introduces DX12 Support for H264 and H265 Encoding via API Release

Raevenlord

News Editor
Joined
Aug 12, 2016
Messages
3,755 (1.23/day)
Location
Portugal
System Name The Ryzening
Processor AMD Ryzen 9 5900X
Motherboard MSI X570 MAG TOMAHAWK
Cooling Lian Li Galahad 360mm AIO
Memory 32 GB G.Skill Trident Z F4-3733 (4x 8 GB)
Video Card(s) Gigabyte RTX 3070 Ti
Storage Boot: Transcend MTE220S 2TB, Kintson A2000 1TB, Seagate Firewolf Pro 14 TB
Display(s) Acer Nitro VG270UP (1440p 144 Hz IPS)
Case Lian Li O11DX Dynamic White
Audio Device(s) iFi Audio Zen DAC
Power Supply Seasonic Focus+ 750 W
Mouse Cooler Master Masterkeys Lite L
Keyboard Cooler Master Masterkeys Lite L
Software Windows 10 x64
Microsoft today announced the release of H264 and H265 encoding through its DX12 API. The move brings GPU acceleration support for several video applications such as Video Decoding, Video Processing and Motion estimation. Theoretically, this should ease the burden on developers, who instead of having to implement video encoding acceleration according to the graphics vendor (be it AMD, Intel or NVIDIA), can now work through the DX12 API to achieve the same effect throughout all providers, simplifying programming and efficiency efforts - though Microsoft was coy about potential advantages and disadvantages of the new feature.

While the implementation will eventually reach all platforms, the DX12 API encoding integration is currently only available for both Intel and NVIDIA. Work still has to be done on AMD's implementation, which generally uses fixed-hardware function blocks to allow for higher performance whilst encoding and transcoding - at the loss of some flexibility. There are graphics cards driver requirements that have to be fulfilled to enable the full encoding capabilities (and these can also be only partially supported, though performance will undoubtedly suffer).





Intel drivers support the new DX12 API feature from v30.0.100.9955 for the Tiger Lake, Ice Lake and Alder Lake (starting in 2022) architectures. NVIDIA driver support is available from release v471.41, and the encoding feature is supported by GTX 1000, 2000, 3000 and Quadro series cards through. Support for AMD graphics accelerators starting from the RX 5000 series and the IGP in Ryzen 2000 APUs is expected towards Q2 2022.

View at TechPowerUp Main Site
 
Joined
Jun 29, 2018
Messages
542 (0.23/day)
Interesting, looks like it's natively supported in Windows 11, but also available in DirectX 12 Agility SDK which, in theory, would allow this to work on Windows 10 as well.
This would probably allow a rather easy (as easy as D3D COM programming is...) implementation of a tool to compare the quality of hardware encoders between vendors.
 
Joined
Oct 12, 2005
Messages
710 (0.10/day)
If that does the same things as D3D did for 3d, it could be a way to get the same Output with different performance level and it could be a way to compare the quality/performance of all those encoder at the same output.
 

ir_cow

Staff member
Joined
Sep 4, 2008
Messages
4,562 (0.77/day)
Location
USA
How many years!?! Now H.266 is out. That will be DX20 before its supported.
 
Joined
Dec 22, 2011
Messages
3,890 (0.82/day)
Processor AMD Ryzen 7 3700X
Motherboard MSI MAG B550 TOMAHAWK
Cooling AMD Wraith Prism
Memory Team Group Dark Pro 8Pack Edition 3600Mhz CL16
Video Card(s) NVIDIA GeForce RTX 3080 FE
Storage Kingston A2000 1TB + Seagate HDD workhorse
Display(s) Samsung 50" QN94A Neo QLED
Case Antec 1200
Power Supply Seasonic Focus GX-850
Mouse Razer Deathadder Chroma
Keyboard Logitech UltraX
Software Windows 11
So Nvidia have supported this since July already?
 
Joined
Dec 22, 2011
Messages
3,890 (0.82/day)
Processor AMD Ryzen 7 3700X
Motherboard MSI MAG B550 TOMAHAWK
Cooling AMD Wraith Prism
Memory Team Group Dark Pro 8Pack Edition 3600Mhz CL16
Video Card(s) NVIDIA GeForce RTX 3080 FE
Storage Kingston A2000 1TB + Seagate HDD workhorse
Display(s) Samsung 50" QN94A Neo QLED
Case Antec 1200
Power Supply Seasonic Focus GX-850
Mouse Razer Deathadder Chroma
Keyboard Logitech UltraX
Software Windows 11
This is not surprising. They often support stuff before it gets officially announced (especially OpenGL/Vulkan extensions).

Indeed, the baddies always give the best support.

The woke will have to wait.
 

Mussels

Freshwater Moderator
Joined
Oct 6, 2004
Messages
58,413 (7.92/day)
Location
Oystralia
System Name Rainbow Sparkles (Power efficient, <350W gaming load)
Processor Ryzen R7 5800x3D (Undervolted, 4.45GHz all core)
Motherboard Asus x570-F (BIOS Modded)
Cooling Alphacool Apex UV - Alphacool Eisblock XPX Aurora + EK Quantum ARGB 3090 w/ active backplate
Memory 2x32GB DDR4 3600 Corsair Vengeance RGB @3866 C18-22-22-22-42 TRFC704 (1.4V Hynix MJR - SoC 1.15V)
Video Card(s) Galax RTX 3090 SG 24GB: Underclocked to 1700Mhz 0.750v (375W down to 250W))
Storage 2TB WD SN850 NVME + 1TB Sasmsung 970 Pro NVME + 1TB Intel 6000P NVME USB 3.2
Display(s) Phillips 32 32M1N5800A (4k144), LG 32" (4K60) | Gigabyte G32QC (2k165) | Phillips 328m6fjrmb (2K144)
Case Fractal Design R6
Audio Device(s) Logitech G560 | Corsair Void pro RGB |Blue Yeti mic
Power Supply Fractal Ion+ 2 860W (Platinum) (This thing is God-tier. Silent and TINY)
Mouse Logitech G Pro wireless + Steelseries Prisma XL
Keyboard Razer Huntsman TE ( Sexy white keycaps)
VR HMD Oculus Rift S + Quest 2
Software Windows 11 pro x64 (Yes, it's genuinely a good OS) OpenRGB - ditch the branded bloatware!
Benchmark Scores Nyooom.
So we get a generic encoding/decoding engine instead of needing to use Intel Quicksync and Nvenc?
 
Joined
Feb 1, 2019
Messages
3,658 (1.70/day)
Location
UK, Midlands
System Name Main PC
Processor 13700k
Motherboard Asrock Z690 Steel Legend D4 - Bios 13.02
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 4080 RTX SUPER FE 16G
Storage 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Soundblaster AE-9
Power Supply Antec HCG 750 Gold
Software Windows 10 21H2 LTSC
How is this new over what NVENC already offers?

It has my interest, as NVENC creates massive files. Whilst x264 encoding is much smaller files for same quality.
 
Joined
Jan 31, 2010
Messages
5,558 (1.02/day)
Location
Gougeland (NZ)
System Name Cumquat 2021
Processor AMD RyZen R7 7800X3D
Motherboard Asus Strix X670E - E Gaming WIFI
Cooling Deep Cool LT720 + CM MasterGel Pro TP + Lian Li Uni Fan V2
Memory 32GB GSkill Trident Z5 Neo 6000
Video Card(s) Sapphire Nitro+ OC RX6800 16GB DDR6 2270Cclk / 2010Mclk
Storage 1x Adata SX8200PRO NVMe 1TB gen3 x4 1X Samsung 980 Pro NVMe Gen 4 x4 1TB, 12TB of HDD Storage
Display(s) AOC 24G2 IPS 144Hz FreeSync Premium 1920x1080p
Case Lian Li O11D XL ROG edition
Audio Device(s) RX6800 via HDMI + Pioneer VSX-531 amp Technics 100W 5.1 Speaker set
Power Supply EVGA 1000W G5 Gold
Mouse Logitech G502 Proteus Core Wired
Keyboard Logitech G915 Wireless
Software Windows 11 X64 PRO (build 23H2)
Benchmark Scores it sucks even more less now ;)
now all we need are the programs that will support it .
Handbrake talked a great deal about using OpenCL and the specific nVidia/AMD encoders to do all the work in hardware instead of software but they never quite got around to getting it to work so basically if had nVidia or intel you got hardware accelerated encoding but if you had AMD well you were stuck with old school software encoding using your CPU instead just like the nVidia/physX debacle
 
Top