z
08-28-2007, 12:20 PM
am I right to think that in DXVA 2.0 it will be possible to have acceleration done in the decoder (H264/AVC/MPEG2) and then add the subs with a software decoder attached between the main video decoder and the renderer (EVR for example)?
That's my understanding too. DXVA 2.0 video processor API can be used to perform subtitle blending. I think subtitles could also be composited with the decoded picture before it's passed off to the custom allocator.
Even though DXVA 2.0 separates decoding from the renderer, a renderer is still required. I don't think DXVA 2.0 would allow HW acceleration to be used for decoding in something like Avisynth's DirectShowSource(), for example.
WMV decoder dont have any options for enable or disable dxva. In WMP you can enable dxva under preferences, in other player you can't, so is it dxva enable by default in MS decoder?
I agree it's confusing. DXVA support for WMV decoder is controlled via a registry key. You can use the WMV PowerToy ([Only registered and activated users can see links]) to enable/disable it. The confusing part is that WMP uses the same reg key to control DXVA for WMV - so the setting actually has a wider effect than just on the player application.
By default (if DXVA reg key doesn't exist), DXVA 2.0 support is enabled for WMV decoder (implies MF and EVR pipeline) but disabled for DXVA 1.0 (implies DirectShow/WMFSDK and VMR pipeline). When the reg key is set (0 or 1), then it disables/enables both DXVA 1.0 and 2.0 support.
@All:
Some basic facts about DXVA 2.0 vs 1.0:
DXVA 2.0 requires EVR and Vista. VMR7 and VMR9 support only DXVA 1.0, and this is true in both XP and Vista.
DXVA 2.0 is supported in both DirectShow and Media Foundation on Vista. A DShow decoder filter can be designed to support both DXVA 1.0 (with VMR) and DXVA 2.0 (with EVR). The WM Format SDK only supports DXVA 1.0 for WMV decoding.
Vista only has a native DXVA 2.0 driver, but the driver is designed to translate DXVA 1.0 API calls into equivalent DXVA 2.0 functions if the video driver is WDDM compatible. This allows legacy (XP) DXVA 1.0 decoders to still work in Vista.
A few MSDN topics on DXVA 2.0:
DirectX Video Acceleration 2.0 ([Only registered and activated users can see links])
Supporting DXVA 2.0 in DirectShow ([Only registered and activated users can see links])
What's New in DirectShow ([Only registered and activated users can see links])
Finally, if anybody has technical questions (Sulik, you might want to ask about that H.264 DXVA 1.0 issue), you can e-mail [Only registered and activated users can see links] with questions and somebody from the DXVA team will get back to you.
That's my understanding too. DXVA 2.0 video processor API can be used to perform subtitle blending. I think subtitles could also be composited with the decoded picture before it's passed off to the custom allocator.
Even though DXVA 2.0 separates decoding from the renderer, a renderer is still required. I don't think DXVA 2.0 would allow HW acceleration to be used for decoding in something like Avisynth's DirectShowSource(), for example.
WMV decoder dont have any options for enable or disable dxva. In WMP you can enable dxva under preferences, in other player you can't, so is it dxva enable by default in MS decoder?
I agree it's confusing. DXVA support for WMV decoder is controlled via a registry key. You can use the WMV PowerToy ([Only registered and activated users can see links]) to enable/disable it. The confusing part is that WMP uses the same reg key to control DXVA for WMV - so the setting actually has a wider effect than just on the player application.
By default (if DXVA reg key doesn't exist), DXVA 2.0 support is enabled for WMV decoder (implies MF and EVR pipeline) but disabled for DXVA 1.0 (implies DirectShow/WMFSDK and VMR pipeline). When the reg key is set (0 or 1), then it disables/enables both DXVA 1.0 and 2.0 support.
@All:
Some basic facts about DXVA 2.0 vs 1.0:
DXVA 2.0 requires EVR and Vista. VMR7 and VMR9 support only DXVA 1.0, and this is true in both XP and Vista.
DXVA 2.0 is supported in both DirectShow and Media Foundation on Vista. A DShow decoder filter can be designed to support both DXVA 1.0 (with VMR) and DXVA 2.0 (with EVR). The WM Format SDK only supports DXVA 1.0 for WMV decoding.
Vista only has a native DXVA 2.0 driver, but the driver is designed to translate DXVA 1.0 API calls into equivalent DXVA 2.0 functions if the video driver is WDDM compatible. This allows legacy (XP) DXVA 1.0 decoders to still work in Vista.
A few MSDN topics on DXVA 2.0:
DirectX Video Acceleration 2.0 ([Only registered and activated users can see links])
Supporting DXVA 2.0 in DirectShow ([Only registered and activated users can see links])
What's New in DirectShow ([Only registered and activated users can see links])
Finally, if anybody has technical questions (Sulik, you might want to ask about that H.264 DXVA 1.0 issue), you can e-mail [Only registered and activated users can see links] with questions and somebody from the DXVA team will get back to you.