Hi!I'm wondering if there is a flag or a switch to force the use of D3D11VideoDecoder when running on webrtc? So far I am only getting MojoVideoDecoder to work.I made sure that media_switches.cc - Chromium Code Search has D3D11VideoDecoder enabled.--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/271f1b5a-37cb-4a71-a56d-ea9731d3db62n%40chromium.org.
Hi Frank,
Thanks for your response. I did play an H264 video from the link you referenced. Chromium media-internals does report MojoVideoDecoder. I played the same video on Chrome browser, and it reported D3D11VideoDecoder.
After some digging in Chromium, found out that DXVA was the underlying decoder. Still I’m trying to understand why D3D11Decoder class was not invoked in the case of Chromium. If you have any tips please feel free to share.
Thanks,
Mohammed Al Ani
Hi Frank,
Thanks for the tip, you are right on a newer build I do see “VDAVideoDecoder” when I build newer Chromium.
One more thing I’d like to know more about is the DXVA decoder. I do see that decoder factory generates DXVA decoder if Windows OS is detected (see this) But in older versions, there was a D3D11DecoderAccelerator (link). Also, I do see there is a D3DVideoDecoder class in the latest build of Chromium but I when I try to play any of the videos in the link that sent initially, I’m not really triggering the D3D11VideoDecoder. So I guess in the latest Chromium, what is the difference between DXVA and D3DVideoDecoder? And what kind of media would enable the usage of the D3D11VideoDecoder?
Thanks,
Mohammed
Thanks, those flags worked for me. I see D3D11VideoDecoder being used in some of the media now. It seems anything webrtc is still using dxva but looks like this is a design intent.
Thanks,
Mohammed