microsoft / microsoft/FFmpegInterop
Hardware accelerated decoding
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to enable hardware acceletation in FFmpegInterop? I see in the config script that d3d11 and dxva are explicitly disabled. Why is that?
Having hardware acceleration enabled would greatly increase the usability of this lib. It would allow decoding of HEVC, H264, VC1, VP9 (depending on CPU type) even on medicore devices, and also for other formats such as MPEG2 it would drastically reduce power consumption and noise level during decoding.
I know that at least for H264, it is possible to pass through (force video decode = false), which enables HW acceleration down the decoder chain if possible. But it does not work with Hi10P profile. And HEVC, MPEG2, VC1, VP9 etc are all not supported even if the IGP/GPU would support HW acceleration. It would be awesome if we could use ffmpeg internal HW acceleration instead of having to rely on passthroug solutions (which anyways is only possible for codecs officially supported by WinRT EncodingParameter APIs).
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.
Research direction
Start by inspecting the configuration script where d3d11 and dxva are disabled, then review how FFmpegInterop currently passes decoding options through to FFmpeg and WinRT. Determine the supported hardware-acceleration path and codec scope before proposing changes; done should mean documented, working hardware decoding for the agreed codecs without relying only on passthrough solutions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100