<br><br><div class="gmail_quote">On Mon, Apr 22, 2013 at 3:04 PM, Lars Hammarstrand <span dir="ltr"><<a href="mailto:lars.hammarstrand@gmail.com" target="_blank">lars.hammarstrand@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi<br><br>I'm facing hard problems to get DXVA2 to work based on current master head or 1.2. The ffmpeg implementation seems to supports DXVA2 hw-accl codec for H.264/MPEG-4 & MPEG-2 (i.e Hi10P) but I only get CPU decoded and swscale converted working properly. Same problem goes with VideoLan's VLC binary 2.0.6 but Apples Quicktime seems doing fine with full hw-acc with only 2-4% CPU. Maybe this has anything to do with it: <a href="http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2013-March/139852.html" target="_blank">http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2013-March/139852.html</a>.  Dxdiag says dx10 and all hw functions enabled.<div>

<div><br></div><div>Anybody got DXVA2 running? If so, which ffmpeg version and config flags were used?</div><div><br></div><br></div></div></blockquote></div><br>The ffmpeg application does not support DXVA2.<br>Other players like VLC should however be fine, if build with a proper toolchain which includes the DXVA2 headers required (say mingw-w64)<br>
<br>If the toolchain provides dxva2 headers, no config flags should be required and support enabled automatically in avcodec.<br><br>Note that Hi10p is not supported by hardware decoders.<br>