MicrosoftEdge / MicrosoftEdge/WebView2Feedback
D3D11VideoDecoder performs better that VDAVideoDecoder
@nishitha-burman is already working on this.
Since Sep 1, 2023.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
In Windows, when playing mp4 videos in <video> element, WebView2 (in MAUI app) is using VDAVideoDecoder which seems to perform worse than D3D11VideoDecoder that is used in other Chromium projects, like Chrome or Electron.
This impacts especially players app running on low end devices, such as Intel NUC kits.
We measured GPU performances and it seems to be 1.5+ times, comparing VDAVideoDecoder to D3D11VideoDecoder, with average GPU usage measured in ~70% versus ~40% for an Electron app.
Used GPU was an Intel Graphics HD 500.
Also video playback is stuttering, when for example moving the mouse or when other small background tasks are performed, which did not happen in a comparable Electron application playing the same video file.
Version
SDK: 7
Runtime: 116.0.1938.62
Framework: MAUI
OS: Win10
Regression
Was this working before but has regressed? no
Repro Steps
Create a simple MAUI app playing a MP4 video file.
The video should play smoothly, instead it stutters and high GPU usage is reported in performance monitor.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.